Configurable Enhanced Modular IO Subsystem (eMIOS200)
MPC5606S Microcontroller Reference Manual, Rev. 7
Freescale Semiconductor 277
5. [timebase channel] Set channel to MC(B) Up mode.
6. [timebase channel] Set the prescaler ratio.
7. [timebase channel] Enable the Channel Prescaler.
8. [output channel] Disable the Channel Prescaler.
9. [output channel] Set A/B register.
10. [output channel] Select the timebase input through the BSL[1:0] bits.
11. [output channel] Enter the output mode.
12. [output channel] Set the prescaler ratio (same ratio as the timebase channel).
13. [output channel] Enable the Channel Prescaler.
14. [global] Enable the Global Prescaler.
The timebase channel and the output channel may be the same for some applications such as in
OPWFM(B) mode or whenever the output channel is intended to run the timebase itself.
The flags can be configured at any time.