mc9s12xf512 Freescale Semiconductor, Inc, mc9s12xf512 Datasheet - Page 599

no-image

mc9s12xf512

Manufacturer Part Number
mc9s12xf512
Description
S12x Microcontrollers 16-bit Automotive Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s12xf512MLH
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s12xf512MLM
Manufacturer:
FREESCALE
Quantity:
201
Part Number:
mc9s12xf512MLM
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s12xf512MLM
Manufacturer:
FREESCALE/NXP
Quantity:
20 000
13.6.17 Timer Support
The FlexRay block provides two timers, which run on the FlexRay time base. Each timer generates a
maskable interrupt when it reaches a configured point in time. Timer T1 is an absolute timer. Timer T2 can
be configured to be an absolute or a relative timer
non-repetitive mode, timer stops if it expires. In repetitive mode, timer is restarted when it expires.
Both timers are active only when the protocol is in
the protocol is not in one of these modes, the timers are stopped. The application must restart the timers
when the protocol has reached the
13.6.17.1 Absolute Timer T1
The absolute timer T1 has the protocol cycle count and the macrotick count as the time base. The timer 1
interrupt flag TI1_IF in the
if
If the timer 1 interrupt enable bit TI1_IE in the
an interrupt request is generated.
The status bit T1ST is set when the timer is triggered, and is cleared when the timer expires and is non-
repetitive. If the timer expires but is repetitive, the T1ST bit is not cleared and the timer is restarted
immediately. The T1ST is cleared when the timer is stopped.
13.6.17.2 Absolute / Relative Timer T2
The timer T2 can be configured to be an absolute or relative timer by setting the T2_CFG control bit in the
Timer Configuration and Control Register
and is cleared when the timer expires and is non-repetitive. If the timer expires but is repetitive, the T2ST
bit is not cleared and the timer is restarted immediately. The T2ST is cleared when the timer is stopped.
13.6.17.2.1 Absolute Timer T2
If timer T2 is configured as an absolute timer, it has the same functionality timer T1 but the configuration
from
Freescale Semiconductor
CYCCTR.CYCCNT & T1CYSR.T1_CYC_MSK == T1CYSR.T1_CYC_VAL & T1CYSR.T1_CYC_MSK
Equation 13-25
Timer 2 Configuration Register 0 (TI2CR0)
FlexRay Bus Event
Strobe Signal
and
PE Clock
Figure 13-141. Strobe Signal Timing (type = pulse, clk_offset = +4)
Equation 13-26
MTCTR.MTCT == TI1MTOR.T1_MTOFFSET
Protocol Interrupt Flag Register 0 (PIFR0)
MC9S12XF - Family Reference Manual, Rev.1.19
POC:normal active
are fulfilled
(TICCR). The status bit T2ST is set when the timer is triggered,
Protocol Interrupt Enable Register 0 (PIER0)
and
.
Both timers can be configured to be repetitive. In the
POC:normal active
+4
Timer 2 Configuration Register 1 (TI2CR1)
or
POC:normal passive
Chapter 13 FlexRay Communication Controller (FLEXRAY)
is set at the macrotick start event,
or
POC:normal passive
state.
is asserted,
Eqn. 13-25
Eqn. 13-26
state. If
is used.
599

Related parts for mc9s12xf512