Need help Debugging UART Communication on NXP LPC1768 MCU

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

Need help Debugging UART Communication on NXP LPC1768 MCU

1,046件の閲覧回数
tanu500
Contributor I

Hello NXP Community,

I'm working on an NXP LPC1768 MCU using the LPCOpen SDK for UART communication with a SparkFun Serial Basic Breakout (UART-to-USB converter) and an external GPS module. However, I'm consistently receiving gibberish data or no data at all when reading from the GPS module.

Here is the errors:

  1. Hardware: LPC1768 UART0 connected to SparkFun Serial Basic Breakout, baud rate set to 9600 bps, and verified voltage levels.

  2. Software: UART0 configured with LPCOpen SDK.

  3. Issue: Receiving gibberish data or no data from GPS module.

  4. Code Snippet:

 

// UART0 Configuration
Chip_UART_Init(LPC_USART0);
Chip_UART_SetBaud(LPC_USART0, 9600);
// ...

 

I've tried troubleshooting but haven't found a solution. 

Thanks in advance!

 

Regards
Tanu Sharma
ラベル(1)
  • DSC

0 件の賞賛
返信
1 返信

1,007件の閲覧回数
Miguel04
NXP TechSupport
NXP TechSupport

Hi @tanu500 

Have you confirmed the correct functionality of the UART configuration and the uart-usb and GPS module?

Regarding the uart configuration, are you using an example from LPCOpen? if this is not the case please verify that the uart works and then use it with the modules.

Best Regards, Miguel.

0 件の賞賛
返信