cancel
Showing results for 
Search instead for 
Did you mean: 

MC related

Posted on May 09, 2007 at 14:18

MC related

2 REPLIES 2
Posted on May 17, 2011 at 09:42

Hi,

I have a strange behaviour with the MC.

In my board, when I switch on the power supply

the MC controller doesn't work: no pwm in the outputs

I don't use the emergency input( I didn't configured this pin).

Have I to pull up the P67?

Any suggestion?

Posted on May 17, 2011 at 09:42

hi,

I think to have find a solution....

reading the errata I saw that there could be some problems

to start the mc pwm...

I add to my init code the following line as suggested in the

errata troubleshooting :

while ( MC->IPR & 0x0080 );

MC->ESC = 0x4321;

MC->ESC = 0x0000;

and now the mc is working!

Anyone could let me know if this piece of code

have to be inserted in every MC initialization?