how to solve overrun problem in serial communication for coldfire-523x processor

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

how to solve overrun problem in serial communication for coldfire-523x processor

906件の閲覧回数
admin
Specialist II

Hello,

Iam working on m66k-523x(coldfire) processor, i am getting overrun problem at every 114th byte for receiving continuously, can u please suggest the solution.

 

Regards,

Raju B

ラベル(1)
0 件の賞賛
返信
1 返信

712件の閲覧回数
TomE
Specialist II

I assume you're polling the serial port. Fix your code to see what it is doing that stops it from getting back to the UART in time. You as a programmer have to guarantee the minimum service interval for the hardware.

Rewrite your code to use interrupts that receive into a ring buffer.

If you're already using interrupts, watch out for the priority levels. You may need to make the serial port interrupt higher than other interrupts that are taking too long.

Tom

0 件の賞賛
返信