mcf54415 mcPWM prescaler

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

mcf54415 mcPWM prescaler

Jump to solution
38 Views
_angelo_
Contributor III

anyone had mcPWM prescaler working ?

I tried in several different sequences, but all works only with prescaler at 0, otherwise, submodule counter is not increasing.

Would be nice to know if this prescaler ever worked, if there is a sure-working example around,

thanks

0 Kudos
Reply
1 Solution
10 Views
_angelo_
Contributor III

Hi,

so, i have seen several similar cases where prescaler was not working, i can post the solution for my case.

Seems not declared in any place in the RM, but if you use a logic as INIT and VAL0 = 0, all unsigned, as i was using for simplicity, prescaler will not work. To have it working, signed logic must be used.

 

View solution in original post

0 Kudos
Reply
1 Reply
11 Views
_angelo_
Contributor III

Hi,

so, i have seen several similar cases where prescaler was not working, i can post the solution for my case.

Seems not declared in any place in the RM, but if you use a logic as INIT and VAL0 = 0, all unsigned, as i was using for simplicity, prescaler will not work. To have it working, signed logic must be used.

 

0 Kudos
Reply