2024-11-10 01:01 AM - edited 2024-11-10 01:15 AM
I have two questions regarding RM0440 Rev.8, Figure 195:
In Figure 195, it shows that the roll-over events invert the push-pull logic. A roll-over event is defined as "a counter roll-over event is generated when the counter goes back to 0 after reaching the period value set in the HRTIM_PERxR register in continuous mode," which does not include the reset event.
However, after verifying, I found that both roll-over and reset events toggle the CPPSTAT bit.
How should Figure 195 be interpreted?
Could anyone help clarify the correct behavior of the push-pull logic and the output selection in Figure 195?
2024-11-10 04:37 AM
The CPPSTAT bit reflects the current state of the push-pull logic, essentially toggling with each roll-over (and, as you've observed, each reset) event. In Figure 195, this bit is part of the mechanism controlling the output selection logic. When CPPSTAT toggles, it switches between outputs connected to the push-pull logic, thus alternating which output channel is active.
In practical terms:
2024-11-10 07:28 AM
Thanks for your reply, could you explain more about the Fig. 195?
As my understanding from this figure, when the output of push-pull logic is 0, M1 output "Out 1 (from crossbar)" signal due to its select signal in inverted, and M2's is "Out 2 (from crossbar) signal". Both signals are selected!
Vice versa, both outputs of M1 and M2 are inactive when the output of push-pull logic is 1.
Is something wrong in the figure or I lost anything?