S32K ADC conversions frozen

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

S32K ADC conversions frozen

395 Views
francescovico
Contributor II

Hello,

I’m using FS32K144HAT0MLL.

In my application, it happens very rarely (but it happens) that ADC conversions became “frozen” .

My ADC drivers are based on example:

 https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K144-PDB-ADC-DMA-S32DS-ARM-2018-R1/ta-p/...

When ADC conversion frozen, not all channels are frozen.

The ADC channel frozen are all the channel triggered by a channel of PDB.

My application work in HSRUN mode.

Do you have suggestions to catch the problem?

Thanks in advance !

Regards, Francesco.

Tags (3)
0 Kudos
Reply
1 Reply

375 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

check if sequence error is detected on PDB channel. This can happen if pretrigger delays are not properly set with respect of ADC conversion time or ADC results are not read in time so lock of pretrigger is not release. Check chapter 46.4.1 PDB pre-trigger and trigger outputs of the device RM. 
The example is using PIT to trigger 2 PBD channels to perform chain conversion using back-to-back mode. In thin mode a time between pretriggers need not to be assumed, however a delay of first pretrigger of each PDB channel chain must be configured properly so previous chain conversion is completed. Also input trigger to PDB must be set accordingly to total conversion of all channels.  

BR, Petr