I am trying to configure 2 pwm signals on the S32k3x4EVB-Q172 EMIOS 1. Both PWM's have the same input source clock and can be set to different duty cycles. They are both OPWMB and the only difference I can see between the two signals is that one is a type H port and the other a type X. I have included screen shots of the setups. Is there anything different about these type H channels?
From initialisation the X port produces the correct period and duty but the type H port does not. If I increase the duty from 0 - 100 in 5% steps the type X port responds correctly at each stage. The type H port does not report any pulse until 30%. At this point the period of the H port is correct but the period is nonsense
Here is
vmhb_5-1717766864960.png
the trace at 30%
vmhb_0-1717766383475.png
At 45% the TYPE H channel show 75% where the type X channel shows 45%
vmhb_1-1717766500636.png
At 55% the TYPE H channel has gone 100%
I have tried different ports, different periods but the symptoms remain. The only difference I can see is that the channel CNT register seems to sit at the requested duty count for the type H whereas on the X channel it counts.
vmhb_2-1717766693175.png
vmhb_3-1717766791077.png
vmhb_4-1717766833956.png