TimeoutTicks - In the ADC

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

TimeoutTicks - In the ADC

1,237 Views
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 ...

 

Tags (1)
0 Kudos
Reply
1 Reply

1,166 Views
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 Kudos
Reply