AnsweredAssumed Answered

On the PDB behaviour

Question asked by Pietro di Castri on Sep 7, 2016
Latest reply on Jul 27, 2017 by Mark Butcher

Good evening

I am using the PDB together with the ADC. 

The system is working but sequencing the errors produce a surprising behaviour.

If during the run I disable the interrupts for a while, the PDB is not serviced and it produces the errors

and does not stop to produce them. It is continuously entering the interrupt for the errors, the ADC stops to 

work, at least does not enter any more in the ADC interrupt. 

The PDB interrupt is set for a high priority for limiting the problem, it seems it helps.

The problem seems to be unrecoverable, if I try to deinit, stop. reinit, or whatever the PDB does not recover.

The application stops.

I am facing the problem reducing the timer interrupt frequency, but I need a better asset.

Is there a way to handle the situation in a safe way???

Using the MK64...


Thank You