TimeoutTicks - In the ADC

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

TimeoutTicks - In the ADC

1,230件の閲覧回数
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,159件の閲覧回数
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 件の賞賛
返信