TPU3 ROM Functions
MPC561/MPC563 Reference Manual, Rev. 1.2
Freescale Semiconductor
D-3
configuration, and not again after that, the bank 1 entry table can be changed to the bank 0 entry table using
the soft reset feature of the TPU3. This procedure is described in the following steps:
1. Set ETBANK field in TPUMCR2 to 0b01 to select the entry table in bank 1
2. Run the ID function
3. Stop the TPU3 by setting the STOP bit in the TPUMCR to one
4. Reset the TPU3 by setting the SOFTRST bit in the TPUMCR2 register
5. Wait at least nine clocks
6. Clear the SOFTRST bit in the TPUMCR2 register
The TPU3 stays in reset until the RCPU clears the SOFTRST bit. After the SOFTRST bit has been cleared,
the TPU3 will be reset and the entry table in bank 0 will be selected by default. To select the bank 0 entry
table, write 0b00 to the ETBANK field in TPUMCR2. Always initialize any write-once register to ensure
that an incorrect value is not accidentally written.
The sections below document the bank 0 and bank 1 functions listed in
of the TPU3 ROM
module.
D.2
Programmable Time Accumulator (PTA)
PTA starts on a rising or falling edge and accumulates, over a programmable number of periods or pulses,
a 32-bit sum of the total high time, low time, or input signal period. After the specified number of periods
or pulses, the PTA generates an interrupt request.
One to 255 period measurements can be accumulated before the TPU3 interrupts the RCPU, providing
instantaneous or average frequency measurement capability. See Freescale TPU Progamming Note
Programmable Time Accumulator TPU Function (PTA), (TPUPN06/D)
shows all of the host
interface areas for the PTA function.
Summary of Contents for MPC561
Page 84: ...MPC561 MPC563 Reference Manual Rev 1 2 lxxxiv Freescale Semiconductor...
Page 144: ...Signal Descriptions MPC561 MPC563 Reference Manual Rev 1 2 2 46 Freescale Semiconductor...
Page 206: ...Central Processing Unit MPC561 MPC563 Reference Manual Rev 1 2 3 62 Freescale Semiconductor...
Page 302: ...Reset MPC561 MPC563 Reference Manual Rev 1 2 7 14 Freescale Semiconductor...
Page 854: ...Time Processor Unit 3 MPC561 MPC563 Reference Manual Rev 1 2 19 24 Freescale Semiconductor...
Page 968: ...Development Support MPC561 MPC563 Reference Manual Rev 1 2 23 54 Freescale Semiconductor...
Page 1144: ...Internal Memory Map MPC561 MPC563 Reference Manual Rev 1 2 B 34 Freescale Semiconductor...
Page 1212: ...TPU3 ROM Functions MPC561 MPC563 Reference Manual Rev 1 2 D 60 Freescale Semiconductor...
Page 1216: ...Memory Access Timing MPC561 MPC563 Reference Manual Rev 1 2 E 4 Freescale Semiconductor...