vedderb / bldc

The VESC motor control firmware
2.14k stars 1.34k forks source link

VESC Firmware config on a STM32F4 #539

Open ahmadtak-3212 opened 1 year ago

ahmadtak-3212 commented 1 year ago

I am trying to figure out how to get the firmware to compile for a STM32F407. I have mapped all the digital pins correctly in my config file. However, the analog pins are not working. Despite the original MCU for the vesc firmware and STM32F407 share the same pins for analog readings (literally identical). When I compile and upload it doesn't read input voltage or temperature correctly. Is there a difference between the ADC conversion on the original MCU vs the STM32F407? Any assistance will be greatly appreciated.