MPC563XM Reference Manual, Rev. 1
Freescale Semiconductor
843
Preliminary—Subject to Change Without Notice
Figure 23-52. TCR1 Clock Selection
23.4.6.1.2
Internally Clocked Mode
TCR1 can be driven by the system clock or system clock divided by 2, before the prescaler. TCR1 can also
be clocked by a Peripheral Timebase Clock generated within the MCU, also selected by TCR1CTL. The
maximum frequency of the Peripheral Timebase Clock is system clock divided by two. TCR1 advances
only on the rising edges of the Peripheral Timebase Clock. The use of this clock is MCU-dependent.
TCR1CTL can also be used to freeze TCR1 clock independently of TCR2 (unlike GTBE).
23.4.6.1.3
TCR1 Clock Prescaling
Any clock source selected by TCR1CTL is prescaled by a factor of 1 to 256, selected by ETPUTBCR field
TCR1P. For more information on prescaler configuration refer to
Section 23.3.3.1, “ETPUTBCR - eTPU
Time Base Configuration Register
.” The TCR1 Prescaler resets when etpu_gtbe_in is negated. After reset,
it starts counting up to TCR1P when etpu_gtbe_in is asserted. When TCR1 increments (etpu_gtbe_in=1),
the prescaler starts a new count and the new TCR1P becomes effective. When TCR1 is written by
microcode, the prescaler is reloaded with TCR1P and it becomes effective, if etpu_gtbe_in is asserted.
23.4.6.1.4
Red Line (STAC) Bus Client Mode
In this mode the TCR1 register is continuously updated from the Red Line (STAC) bus, and the clock
selection and prescaling logic becomes ineffective. It is not writable by the microcode, and when read, it
reflects the Red Line bus imported value. The use of EAC is forbidden in client mode. This mode is
configured through the register ETPUREDCR (see
Section 23.3.3.4, “ETPUREDCR - eTPU Red Line
).
23.4.6.1.5
Red Line (STAC) Bus Server Mode
TCR1 bus can be exported to the Red Line (STAC) bus as a server, providing time information to other
peripherals. This mode is configured through the register ETPUREDCR (see
“ETPUREDCR - eTPU Red Line Configuration Register
23.4.6.2
Timer Count Register 2 - TCR2
The TCR2 is a 24-bit counter which can be used in the following modes:
•
Pin Transition Mode: Count the rise, fall or both transitions of TCRCLK signal.
TCR1CTL
TCR1
System
10
00
TCRCLK Prescaler
Input Originated
TCR1
Prescaler
In TCRCLK pin,
after the filter
1,2,3,..,256
TCR1P
8
01
Peripheral Timebase Clock
Red Line (STAC) bus
11
no clock
0
1
div 2
TCR1CS
Clock
Содержание MPC5632M
Страница 22: ...MPC563XM Reference Manual Rev 1 22 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 62: ...MPC563XM Reference Manual Rev 1 62 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 92: ...MPC563XM Reference Manual Rev 1 92 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 168: ...MPC563XM Reference Manual Rev 1 168 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 242: ...MPC563XM Reference Manual Rev 1 242 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 302: ...MPC563XM Reference Manual Rev 1 302 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 410: ...MPC563XM Reference Manual Rev 1 410 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 440: ...MPC563XM Reference Manual Rev 1 440 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 464: ...MPC563XM Reference Manual Rev 1 464 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 554: ...MPC563XM Reference Manual Rev 1 554 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 590: ...MPC563XM Reference Manual Rev 1 590 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 622: ...MPC563XM Reference Manual Rev 1 622 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 716: ...MPC563XM Reference Manual Rev 1 716 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1114: ...MPC563XM Reference Manual Rev 1 1114 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1144: ...MPC563XM Reference Manual Rev 1 1144 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1266: ...MPC563XM Reference Manual Rev 1 1266 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1316: ...MPC563XM Reference Manual Rev 1 1316 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1348: ...MPC563XM Reference Manual Rev 1 1348 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1362: ...MPC563XM Reference Manual Rev 1 1362 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1382: ...MPC563XM Reference Manual Rev 1 1382 Freescale Semiconductor Preliminary Subject to Change Without Notice ...