KL03Z lpuart issue because of rxSize

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

KL03Z lpuart issue because of rxSize

830件の閲覧回数
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 返信

694件の閲覧回数
DavidS
NXP Employee
NXP Employee

Hi Gnichi,

Can you post your project?

Regards,

David

0 件の賞賛
返信