KL03Z lpuart issue because of rxSize

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

KL03Z lpuart issue because of rxSize

820 次查看
gnichimohamed
Contributor III

I am using ksdk 1.3 and kds 3.2.0.

I am using rx callback to send the incoming data on lpuart to the next MCU.

Weirdly, some times the rxcallback function is called but the rxSize is 0 , which means when the program enters inside the IRQ handler, rxSize becomes negative and weird things start to happen.

152971_152971.PNGissue1.PNG

152978_152978.PNGissue.PNG

 

After some receptions the messages emitted are weird and they are not real.

I checked several times that the data received are ok, but after several cycles transmitting stops. These are the data emitted.152979_152979.PNGdata.PNG

As u can see at the end chars are repeated and sometimes not and then transmition stops in here.

152980_152980.PNGdata2.PNG

标签 (1)
0 项奖励
回复
1 回复

684 次查看
DavidS
NXP Employee
NXP Employee

Hi Gnichi,

Can you post your project?

Regards,

David

0 项奖励
回复