LPCopen UART LPC1769 not working [SOLVED]

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

LPCopen UART LPC1769 not working [SOLVED]

跳至解决方案
1,756 次查看
ramazan_kurban3
Contributor III

Hi. I use lpc1769 chip with custom board with sending hex code via FTDI.  I watch tutorial video for lpcopen, I use  MCUxpresso and import " periph_uart_rb"  "lpc_board_nxp_lpcxpresso_1769" "lpc_chip_175x_6x" projects.  due to using UART0, ı change these

#elif defined(BOARD_NXP_LPCXPRESSO_1769)
#define UART_SELECTION LPC_UART3
#define IRQ_SELECTION UART3_IRQn
#define HANDLER_NAME UART3_IRQHandler
#else
#error No UART selected for undefined board
#endif

UART3 to UART0

#elif defined(BOARD_NXP_LPCXPRESSO_1769)
#define UART_SELECTION LPC_UART0
#define IRQ_SELECTION UART0_IRQn
#define HANDLER_NAME UART0 IRQHandler
#else
#error No UART selected for undefined board
#endif

But these are not working . No data is being send via ftdi to usb 

Do I need any setting for custom board ?

How can ı run this examples ?

标签 (1)
标记 (4)
1 解答
1,405 次查看
ramazan_kurban3
Contributor III

My FTDI is connected to UART0 and there is no received data to usb port 

在原帖中查看解决方案

0 项奖励
4 回复数
1,405 次查看
soledad
NXP Employee
NXP Employee

Hi, 

This example was tested using the NXP LPCXpresso1769, Embedded Artists' LPC1788 Developer's Kit and Embedded Artists' LPC4088 Developer's Kit with the following considerations: 

To use the example, connect a serial cable to the board's RS232/UART port and start a terminal program to monitor the port. The terminal program on the host PC should be setup for 115200-8-N-1.
Once the example is started, a small message is printed on terminal. Any data received will be returned back to the caller.

Special connection requirements
- Embedded Artists' LPC1788 Developer's Kit:
- Embedded Artists' LPC4088 Developer's Kit:
Default is UART0. This uses the UART-to-USB bridge.
If using UART2: Connects UART pins to COM Port (J17)
JP6-1-2: OFF:
JP6-3-4: OFF:
JP6-5-6: ON:
JP12: 2-3
JP13: 2-3
Other jumpers: Default
- LPCXpresso LPC1769:
Need to connect with base board for using RS232/UART port.

Have a nice day!

Regards 

Soledad

0 项奖励
1,406 次查看
ramazan_kurban3
Contributor III

My FTDI is connected to UART0 and there is no received data to usb port 

0 项奖励
1,405 次查看
ramazan_kurban3
Contributor III
0 项奖励
1,405 次查看
ramazan_kurban3
Contributor III
0 项奖励