LIN overflow

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

LIN overflow

1,292 次查看
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 回复数

1,283 次查看
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 项奖励
回复

1,277 次查看
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 项奖励
回复

1,229 次查看
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 项奖励
回复

1,220 次查看
Ada_Lovelace
Contributor IV

Hi,

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

 

0 项奖励
回复

1,211 次查看
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 项奖励
回复