ADC readings Self test

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

ADC readings Self test

402 Views
Ayaz
Contributor III

Hi,

I have some questions regarding the ADC self-test while using BCTU triggering via EMIOS, which is a hardware trigger. Here are my queries:

  1. ADC Self-Test : how do we do the ADC self test when we are doing BCTU triggering?

  2. Self-Test Triggering: My understanding is that the BCTU itself triggers the self-test. If this is correct, how do we read the results?

  3. Self-Test Result Verification: How can we determine if the self-test has passed or failed?

  4. Timing of Self-Test When does the self-test occur during BCTU triggering? Is it at the end of each BCTU list for each trigger, at the end of each signal sample, or at some other point?
    I hope to receive answers to all my questions

0 Kudos
Reply
3 Replies

367 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

running the ADC self test using the BCTU to trigger it is not supported on K3xx devices.

PetrS_0-1737019786492.png

The RM's chapter 60.3.17.2 Self-test gives info about steps required in CPU mode.

If using RTD, in the ADC driver we provided API calls Adc_SelfTest(),  Adc_Sar_Ip_SelfTest(). As per ADC User manual should be called at any time after driver was initialized and there are no ongoing conversions.

BR, Petr

 

0 Kudos
Reply

351 Views
Samuel_DCosta
Contributor III
Hi Petr,

Could you help us understand how we can ensure that there is no ongoing conversion when triggers are generated via hardware?
0 Kudos
Reply

339 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

module MSR register gives status for ongoing conversions. If module is in BCTU control mode you will need to disable it.

BR, Petr

0 Kudos
Reply