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?
Hi,
here is description from the reference manual:
If OVFL is set, you just didn't read received data in time.
Regards,
Lukas
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.
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
Hi,
It's an application issue, how could I do to solve this problem?
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