LIN overflow

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LIN overflow

2,886件の閲覧回数
Ada_Lovelace
Contributor IV

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 件の賞賛
返信
5 返答(返信)

2,877件の閲覧回数
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 件の賞賛
返信

2,871件の閲覧回数
Ada_Lovelace
Contributor IV

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 件の賞賛
返信

2,823件の閲覧回数
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 件の賞賛
返信

2,814件の閲覧回数
Ada_Lovelace
Contributor IV

Hi,

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

 

0 件の賞賛
返信

2,805件の閲覧回数
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 件の賞賛
返信