This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RM48L952: HET1 PWM2 Not working

Part Number: RM48L952
Other Parts Discussed in Thread: HALCOGEN

Hello,

I have three channels configured for PWM drive on the RM48L952.

HET1[7],[9] and [22].

In HALcogen I have configured PWM0,1,2 for these channels and I use pwmSetSignal, pwmStart and pwmStop at appropriate times to launch PWM on the outputs. However, it does not matter what pin I configure on PWM2, it never generates the PWM. Instead it always just drives high for the complete cycle between pwmStart and pwmStop; almost as if it is driving 100% duty cycle regardless.

In the screenshots that follow

Do1_1 & Do1_2 are driven at the same time, Do1_2 is PWM on het1[22]. Do1_1 is basic gio wrapping the PWM outputs. This allows us to see where the PWM should be occuring.

Do23_1, Do2_2 & Do3_2 are driven at the same time, Do2_2 and Do3_2 are both PWM. Do23_1 is basic gio wrapping the PWM outputs. This allows us to see where the PWM should be occuring.

First case with PWM0:het1[7]:Do2_2, PWM1:het1[9]:Do3_2:PWM2:het1[22]:Do1_2

You can see above that Do1_2 which is on PWM2 is not being PWM'd.

Now moving pins around PWM2:het1[7]:Do2_2, PWM1:het1[9]:Do3_2:PWM0:het1[22]:Do1_2

Now that het[7] is moved on to PWM2 I have lost PWM on that channel, but sure enough het1[22] which is now on PWM0 is working properly.

For the sake of my frustrations here is the final example with het1[9] moved on to PWM2.

How can I identify what is going on with PMW2? I'm convinced my PWM logic is working as it is clear that as long as I don't use PWM2 I can get my channels working properly.