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

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

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

727 次查看
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 回复数

628 次查看
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 项奖励
回复

566 次查看
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 项奖励
回复