Interrupted UART

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Interrupted UART

1,980 Views
minosimpson
Contributor II

Hello, my problem is that I use this project UART/interrupt and compiled and debugged truly but there is no output and in debug, it doesn't go to the program and main, why?

please help me

in IAR and NXP LPC1788 

4 Replies

830 Views
jeremyzhou
NXP Employee
NXP Employee

Hi mino simpson,

Thank you for your interest in NXP Semiconductor products and 
for the opportunity to serve you.
The project is specific to LPC1768, and please use below library instead of the previous one.
pastedImage_1.png

TIC

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

 

830 Views
minosimpson
Contributor II

Hi jeremyzhou‌,

Thank you for your answer, but my problem is not resolved.

I used the project that you sent. when I remove startup file, debugger goes to main and then to UARTSend but nothing was sent that I think this is because of removing startup.

when I add it, debugger doesn't go to main.

Also I changed device name in general option to lpc1788.

0 Kudos

830 Views
jeremyzhou
NXP Employee
NXP Employee

Hi mino simpson,

Thanks for your reply.

I'd like to indicate the testing process I did.

1. Assure the configured Device is LPC1788

pastedImage_2.png

2. Change the value of UART_TEST_NUM to select the J25 as the Serial port.

//#define UART_TEST_NUM       1
#define UART_TEST_NUM       0‍‍

3. Debug.

pastedImage_3.png

pastedImage_4.jpg

Obviously, the demo works well, I don't encounter the phenomenon you mentioned.
Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

830 Views
minosimpson
Contributor II

jeremyzhou

problem solved, thank you very much:)

0 Kudos