Problems on interuption and function execution
Hello everyone,
i'm working on a programm on a Nucleo-L031K6 that send data to a stepper motor's driver (Enable, Direction and Pulse).
It's a basic program that receive instruction from a python script (i send frames). I've a callback function which is triggered at every interruption (basically at every bytes of my frame). At every interruption bytes are stored in a table and at the same time the programm look at the bytes to see what's in, and instructions are done when specific data have been sent. When the full frame is received the programm enter in a switch case that put pins on high levels in terms of the frame.
My problem is that when i send a frame my stepper motor just keep rotating without stopping but he should stop and i dont know why at all. I ran my programm in Debug mode but it worked perfectly so i'm completly lost. There is a problem in the code but i dont find it.
I dont have any compiling error or warning.
Thanks by advance for your help and i put the callback, switch case and library that contains all function for the stepper motor.
