going to get signal from ADC to do some DSP stuff. For that I have to get samples in precise sampling rate using PDC. I read datasheet and ADC examples, but I didn't understand how can I get signal with custom ADC sampling rate. It is very unclear how to do that. For example I want to get 1 kHz sample rate signal. I want to read 10000 samples by reading 1000 samples 10 times using DMA. I don't understand how can I setup ADC to get sampling rate exactly 1kHz? In datasheet it's written, that "ADC conversions are sequenced by two operating times: the tracking time and the conversion time". In ADC example there are TRACKING_TIME, ADC_SETTLING_TIME and TRANSFER_PERIOD which have unclear values. Changing ADC clock doesn't change output sampling rate in the example. Can somebody explain how to setup ADC to get 1kHz samplng rate and what those TRACKING_TIME, ADC_SETTLING_TIME and TRANSFER_PERIOD actually mean?
Discussion around product based on ARM Cortex M4 core.
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest