protocol usart problem

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

protocol usart problem

1,044件の閲覧回数
Nadia
Contributor III
Good afternoon, everyone. I am using a LPC54616 microcontroller. I am trying to communicate with the EMIC2 text-to-speek board, using a USART protocol. I have to send characters and the board answers me with characters, for sending and receiving I am using these functions: USART_ReadByte USART_WriteBlocking I'm having problems, I don't know if someone could tell me how to do it correctly. Thank you very much, best regards
0 件の賞賛
返信
2 返答(返信)

1,029件の閲覧回数
diego_charles
NXP TechSupport
NXP TechSupport

Hi Nadia,

I hope you are doing well

Could you detail  us your issues?

By the way ,are you using the  USART SDK examples? Some of them implement UART blocking and others the UART non blocking  functions (see  ring buffer examples )

Diego

0 件の賞賛
返信

1,041件の閲覧回数
frank_m
Senior Contributor III

You might want to be a bit more specific, especially about the problems.

No reception, garbled messages, hardfault ?

Blocking function might cause problems. The transmission of a byte via takes a relatively long time, compared the the MCU's instruction speed.

0 件の賞賛
返信