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

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

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

455 Views
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 Kudos
Reply
2 Replies

356 Views
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 Kudos
Reply

294 Views
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 Kudos
Reply