Hi folks.
I'm trying to port https://github.com/vedderb/bldc_uart_comm_stm32f4_discovery to ESP32 but I'm with a doubt. I basically updated the files for the newest version and noticed the following:
The new packet.c file has a "packet_reset" function instead of "packet_timerfunc" like in the old packet.c file. According to Vedder, on the older version, we were supposed to call this function every 1ms but, with this new implementation and by analyzing the code com bldc, I never saw this new function getting called.
I've got the code running and I can receive messages however for it to work I had NOT to call the new "packet_reset" function otherwise nothing happens. So my question is, do we need to call the reset function or not? It will crash the code eventually if we don't call it?
Thanks in advance.
Have you managed to solve this problem? It would be so much more cost effective to run the software on an ESP32.
And also availibility, last time I looked the STM32f405 was nowhere to buy. Quite a task to port a complicated software like this to another brand of controller.