2020-12-10 08:25 PM
Dear STM team,
Here we have using STM32f405RG MCU, for the e-bike motor controller applications. The programmer is STLink v3. Now we face some stuck in the stage, what happens in the IDE, once am using debug mode it's going to hold in stack point place. bellow attached the image.
could you please support.
Kindly let me know what we do.
and also kindly share the base layer code of BLDC Motor control(Trapazodial or Sinusoidal)
Awaiting for your reply.
2020-12-11 06:48 AM
There's nothing wrong with the code you've highlighted.
If it's in a signal handler, figure out which one by examining VECTACTIVE bits somewhere within SCB and go from there.