Hi there!!!
There is a little confusion regarding the frequency of ADC in i.MX8. The crystal clock supply is given as 24MHz by default(For electrical data sheet-IMX8QXPAEC), but how do i confirm or change the operating frequency for the ADC. I am trying to change the frequency to reduce the conversion rates using the below API's.
sc_pm_clock_rate_t adc_clk_rate = SC_8MHZ
sc_pm_set_clock_rate(ipc, SC_R_ADC_0 , SC_PM_CLK_PER, &adc_clk_rate)
sc_pm_clock_enable(ipc, SC_R_ADC_0 , SC_PM_CLK_PER, true, false)
I couldn't see any difference between 8MHz, 24Hz.......
I am monitoring through the watermark interrupt timings.
true
IMX8 Data Sheet Snippet:
SCFW API Doc Snippet:
IMX8 Electrical Data Sheet Snippet:
imx8_adc
Hello VETURI,
Check the rate set by the SCU which is returned in adc_clk_rate.
Regards