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:
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.
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