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 ?
已解决! 转到解答。
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