LPCopen UART LPC1769 not working [SOLVED]

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

LPCopen UART LPC1769 not working [SOLVED]

ソリューションへジャンプ
2,895件の閲覧回数
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)
1 解決策
2,544件の閲覧回数
ramazan_kurban3
Contributor III

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

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
2,544件の閲覧回数
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 件の賞賛
返信
2,545件の閲覧回数
ramazan_kurban3
Contributor III

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

0 件の賞賛
返信
2,544件の閲覧回数
ramazan_kurban3
Contributor III
0 件の賞賛
返信
2,544件の閲覧回数
ramazan_kurban3
Contributor III
0 件の賞賛
返信