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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

1,505件の閲覧回数
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

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 返信

1,380件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello VETURI,

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

Regards

0 件の賞賛
返信