Senior
October 14, 2021
Solved
ADC not working with NUCLEO-G431RB.
- October 14, 2021
- 2 replies
- 1685 views
NUCLEO-G431RB + X-NUCLEO-IHM07M1
MCWB 5.Y.3 + STM32CubeIDE 1.7.0
Maxon motor combination: 200142 + 166935 + 673026
I have created a project to drive a BLDC motor with the above mentioned equipment, I was able to create a basic project to drive the BLDC very quickly because of the knowledge gained from the F303RE+IHM07M1 combination. I have then cried to use the same method to achieve ADC however I was not able to do so. Attached is the main.c file from my project, the ADC code present in this file is the same as in the other project with the only difference of using ADC2 instead of ADC1 and the timing of the conversion.
Thanks in advance
Kind Regards
Manpreet Singh