How to check/change the ADC frequency in i.MX 8?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to check/change the ADC frequency in i.MX 8?

1,125 Views
vsameer1
Contributor II

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:pastedImage_1.png

SCFW API Doc Snippet:

pastedImage_2.png

IMX8 Electrical Data Sheet Snippet:

pastedImage_3.png

imx8_adc‌

Automotive MCUs / MPUs and Tools

Tags (1)
0 Kudos
Reply
1 Reply

1,000 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello VETURI,

Check the rate set by the SCU which is returned in adc_clk_rate.

Regards

0 Kudos
Reply