2020-10-17 03:59 AM
Hi!
I am using STM32F373RCT6 on custom board.
I am working from scratch on SDADC.
I have configured SDADC1 Channel 6 to read the voltage in polling method but it is not working. I am sending .c files for your reference to check configuration. After calling the polling function HAL_SDADC_PollForConversion(&hsdadc1, 100), it is returning HAL_TIMEOUT. Please check and help.
All macros are as per generated code only.
External Reference Voltage is 3.3V
System Clock frequency is 70MHz
SDADC Clock frequency is 5.8MHz.
If anyother information required please let me know.
Regards,
Gaurav