LIN overflow

cancel
Showing results for 
Search instead for 
Did you mean: 

LIN overflow

442 Views
Ada_Lovelace
Contributor III

Hi All,

I use ESCI module about MPC5777C,I use it  to LIN ,but when I debug the code,I find it  that  it may cause OVFL flag.

I don't understand how it casues?   

Could I fine the way to solve the problem?

0 Kudos
5 Replies

433 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

here is description from the reference manual:

lukaszadrapa_0-1637776375355.png

If OVFL is set, you just didn't read received data in time.

Regards,

Lukas

0 Kudos

427 Views
Ada_Lovelace
Contributor III

Hi,

If I don't read it in time, what could it happen ?  Is this status judged as an error ?

If it juaged an error, I must solve it.

0 Kudos

379 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

The receiver works also in debug mode when the execution is stopped. So, this could be the reason if you can see this only in debug mode. If you are facing this also in runtime, it's an application issue and it must be solved on application level.

Regards,

Lukas

0 Kudos

370 Views
Ada_Lovelace
Contributor III

Hi,

It's an application issue, how could I do to solve this problem?

 

0 Kudos

361 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Well, it means that your application is not fast enough to process all received data. So, it will be necessary to do some optimizations - use DMA as much as possible, make sure there are no high priority interrupts which block others for a long time, change interrupt priorities if needed... It depends on application a lot, so these are just some general hints...

Regards,

Lukas

0 Kudos