request example code or prject for "BCTU triggering ADC self-test"

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

request example code or prject for "BCTU triggering ADC self-test"

733件の閲覧回数
LeoZ
Contributor III

Hi

When I read the S32K3xx Referer Manual (actual device is S32K358), I found interface between BCTU-ADC and BCTU-ADC_self-test are different, is there some demo code or project teaching how to use "BCTU triggering ADC self-test".

444444444444444444444.jpg

0 件の賞賛
返信
2 返答(返信)

634件の閲覧回数
cuongnguyenphu
NXP Employee
NXP Employee

Hi, 
Sorry for the late response,
If you're using RTD's product, in the ADC module we provided API calls Adc_SelfTest(), which is mentioned in ADC User manual as call at any time after driver was initialized and there are no ongoing convertions:

cuongnguyenphu_0-1705070870111.png

 

0 件の賞賛
返信

572件の閲覧回数
Samuel_DCosta
Contributor III

Hi @cuongnguyenphu,

I have made a configuration where the ADC is triggered using the PIT timer (via TRGMUX and BCTU interface). For the self-test, I want to use the BCTU mode.

Based on your comment and with my given configuration, how do I ensure that there are no ongoing conversions when I call the self-test API (Adc_Sar_Ip_SelfTest)?

 

Best Regards,
Samuel D'Costa

0 件の賞賛
返信