Posted on May 17, 2011 at 10:00You can use the Receive Timeout Interrupt if you need an interrupt even if you just received one character. In your interrupt subroutine: /*******************************************************************************...
Posted on May 17, 2011 at 10:00I have introduced a dead time in the signal generated by the MC controller, just as indicated in the RM. My PCLK is 24MHz, Dead time counter type is 6 bits and value 0xF. When I checked the waveform with my scope, it a...
Posted on May 17, 2011 at 10:00OK, following my last post, it was the security feature that stuck the PWM counter, even if it was stopped after setting the ODS bit as indicated in the RM. So now during initialisation, I always perfom a MC_ESC reset ...
Posted on May 17, 2011 at 10:00The way the MC_REP counter is updated when the PWM counter is active in ADT mode is still a mistery for me! Then, I have switched to a cycle by cycle update keeping then the MC_REP to 0 and it seems OK now. The issue n...
Posted on May 17, 2011 at 10:00Edison, Nice to read that you are part of ST support. You may have access to better MC documentation then? Because discovering how this MC stuff work by changing the code and testing what happens is not very interestin...