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.
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.