ADC Reading Before OS init.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

ADC Reading Before OS init.

928 次查看
rijil_kp
Contributor III

How can I read an ADC channel using the MCAL code.

My requirement is to get the ADC data before OS init happens, So I wont be able to use any interrupts for ADC conversions. 

0 项奖励
回复
1 回复

874 次查看
hungnguyenphi
NXP Employee
NXP Employee

Hello Rijil K P,

From my point of view, we can use:

- Adc_ReadGroup() API.

- "Adc Group Without Interrupts" is true.

- "Adc Group Access Mode" in ADC_ACCESS_MODE_SINGLE mode. 

Then we can read ADC channel without setting ADC interrupt.

Best regards,

Hung.

0 项奖励
回复