S32K ADC conversions frozen

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

S32K ADC conversions frozen

395 次查看
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.

标记 (3)
0 项奖励
回复
1 回复

375 次查看
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