Cannot get continuous data from SDADC
- October 7, 2021
- 3 replies
- 3471 views
Background: I use the stm32373c evaluation board to make project. One part of the project is to use the 16bit SDADC to acquire sinewaveform generated from function generator and send the data to pc sw thr. uart. I follow the evaluation board example called "SDADC_Voltmeter" and modify the code for my own use.
I found I cannot get the whole sinwaveform because many data has the same value, they are not continuous. I am not sure if there's important SDADC configuration setting I need to notice?
The attachment is the waveform pic get from pc sw thr. uart, inner debug screenshot and the "SDADC_Voltmeter" example code.
Thanks for help!
I also try to use the Inner debug to watch the data acquired from sdadc, unfortunately they are the same issue... many number is the same, not continuous...
