How to test real ADC frequency and its accuracy?
Hi guys,
I'd like to test if the true ADC frequency is the same as what I've set. The ADC setting is HSI14 (14 MHz) as clock source, 12 bits resolution (corresponds to 12.5 ADC clock cycles), sampling time is 1.5 clock cycles. Therefore, one conversion time should be, according to user manual, (1.5+12.5) / (14 MHz) = 1 microseconds. What can I do to test if each conversion is really that fast and how to export each ADC data to a spreadsheet (csv or xslx files) for further analysis under such high speed? I suppose using Tera Term to log data doesn't work since the maximum baud rate is 921600 and what I'm using is 115200, both of which are less than 1 million, does it make sense?
I'm using STM32F0308 board and CooCox CoIDE.
I'm new to STM32 and this community, if there's anything I can do next time to propose a better question, please let me know, thank you for reading.
