Hi,
FLEXIO0 clock is derived from CORE clock. CORE clock is 120MHZ. As per below screenshot FLEXIO0 clock is 120MHZ.
UmaMaheswaraReddy_1-1733381814615.png
In FLEXIO_PWM I am confused in below points.
UmaMaheswaraReddy_2-1733382478439.png
1) PIN0 represents which PIN?
Our understanding is PIN0 means FLEXIO0_D0. PIN0 can be PTD0 or PTA10 or PTD9. Based on which pin is configured as FLEXIO D0 that PIN becomes PIN0. Is my understanding correct?
UmaMaheswaraReddy_3-1733382803725.png
2) clock prescaler
If we set FLEXIO_PWM_IP_CLK_DIV_256 then it divides clock with 256.
FLEXIO0 clock = 120MHZ.
120MHZ/256 = 468.750KHZ
Is our understanding correct?
3) clock prescaler alternate
UmaMaheswaraReddy_0-1733388030696.png
I dont see PWM enable dual clock mode option in FLEXIO_MCL/FLEIO_PWM modules.
4) Period/Dutycycle [Ticks]
What is Ticks?
If I set period value 512,
Period = 512/(468.750KHZ) = 0.0010922666666667 = 1.092 msec period pulse will get generate correct?
Duty = 256 -> 50% duty cycle
Thanks,
Y Uma Maheswara Reddy.