TimeoutTicks - In the ADC

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

TimeoutTicks - In the ADC

1,534 次查看
Venu_M
Contributor III

Hello NXP team,

We have configured Adc Timeout Method  as a OSIF_COUNTER_DUMMY so the  TimeoutTicks is taking the value as 0.

Venukumar_3-1693293119956.png

 



So Before doing the ADC_init() its going to the Adc_Sar_Ip_Powerdown() state because of Timeout.

Venukumar_0-1693305196905.png

But if I change the TimeoutTicks value as 1 manually in the plugins (Adc_TS_T40D34M20I0R0\src\Adc_Sar_Ip.c) its doing the ADC_init() operation.

Venukumar_2-1693293006141.png


How to proceed this TimeoutTicks.Please help on this ...

 

标记 (1)
0 项奖励
回复
1 回复

1,463 次查看
CongDang
NXP Employee
NXP Employee

Hi,

The "Adc Timeout Method' selects timeout method for Adc. And the "Adc Timeout Value" selects timeout value that is used for preventing endless loops.

CongDang_0-1694504707442.png

In your case, I guess you configured Adc Timeout Value = 0, so you will get TimeoutTicks=0 in this case.

Please refer description on the nodes or read UM to get more detail

0 项奖励
回复