Deleted user
Deleted user
now i have tried to generate some pwm but so far only all 3 channel low side is conducting
i have fixed the file placement adc need dma so not really easy to implement all microcontroler have anti esd diode from gpio to power rail as long as the...
video https://youtu.be/g6V8mLyiMQo
i copied from MM32SPIN0x_q_Lib_Samples i think i will just rewrite everything while maintaining the uart protocol to be the same so you can actually use them together
it is easier to rewrite then to understand the code other people write
aparently in debug mode you can only see int variable but not uint32_t i really needed debug because no serial yet
maybe i will be able to get foc if the board you ordered for me have comparators the $2 board is too cheap to afford a comparator not even 1
serial with dma and interrupt now working
the foc hall example is using timer2 for driving hall sensor so on mm32 the hall pin is also always the same
 board.c line93 because the timer2 is needed for foc i guess to calculate motor speed so it have to use these 3 pin 