Skip to main content
Visitor II
May 9, 2007
Question

MC related

  • May 9, 2007
  • 2 replies
  • 767 views
Posted on May 09, 2007 at 14:18

MC related

    This topic has been closed for replies.

    2 replies

    Visitor II
    May 17, 2011
    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?

    Visitor II
    May 17, 2011
    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?