LPC55S16 - SDK example program not working.

cancel
Showing results for 
Search instead for 
Did you mean: 

LPC55S16 - SDK example program not working.

1,141 Views
can_pouliquen
Contributor II

Hello,

I am trying to learn how to use the LPC55S16 and wanted to take a look at its SDK example programs and drivers. I tried using the usart_polling.c example and although the transmission of data seems to be working, there seems to be a problem when it comes to data reception. I get the "Usart polling example | Board will send back received charcaters" message, but the following part is not processed.

The program gets stuck in the loop to check if there is any data to read ( base->FIFOSTAT & USART_FIFOSTAT_RXNOTEMPTY_MASK ).

I am using PuTTY which I configured to 115200 baudrate, 8 data bits, 1 stop bit, no parity and no flow control.

What bugs me is that I haven't changed anything to the example program, and don't really see where could the problem be coming from.

If you have any ideas or solutions, I would gladly welcome any help.

Thanks in advance.

IDE : MCUXpresso IDE

SDK : SDK_2.x_LPCXpresso55S16 version 2.6.1

I have attached the usart_polling.c to the message.

Labels (4)
3 Replies

962 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Can Pouliquen,

This is not bug, you need input some data in PC, then send to Board.

The board will send back the characters PC send.

0 Kudos

962 Views
can_pouliquen
Contributor II

Hello Alice_Yang‌,

This is, of course, what I did. I input characters through PuTTY but they are not processed. No character is sent back, and that is because, from what I've verified in debug mode, no character is received.

0 Kudos

961 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Can,

I test it on my side, it can work well, please look at my video in attachment.

And choose the right COM port refer to "Device Manager" of your PC.

Regards,

Alice