2009-09-10 03:09 AM
ATN: IMS Systems Lab - STM32 FOC library
2011-05-17 01:15 AM
authors of the STM32 FOC library please read
. thank you very much.2011-05-17 01:15 AM
Dear Sir,
here is the description of the STM32 behavior TIM1 when in debug mode: Normal mode (DBG_TIM1_STOP bit reset): the timer continues to operate normally - May be dangerous in some case since a constant duty cycle is applied to the inverter (interrupts not serviced) Safe mode (DBG_TIM1_STOP bit set): the timer is frozen and PWM outputs are shut down - Safe state for the inverter. The timer can still be re-started from where it stops. Thanks to your feedback, we'll take care of better explaining it in the reference manual.2011-05-17 01:15 AM
hi Billino,
thank you very much for your help. regards, lanchon2011-05-17 01:15 AM
Hi.
Has anyone tried this functionality(stoping timer and disabling output) with timer8. It seems that DBGMCU ->CR = 0x100000; has no effect, outputs are still on. Regards, Martin.2011-05-17 01:15 AM
This code seems fine, Tim 1 2 3 4 stops in debug mode while in break points.
int main(void) { #ifdef DEBUG debug(); #endif DBGMCU ->CR = 0x3C00; //Timerlar Debug Modda durur. Thanks for your help.