USB-to-UART bridge is not work

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

USB-to-UART bridge is not work

1,679 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by fumio yoshizawa on Mon May 04 15:50:21 MST 2015
Hi everyone.

I try to USB-to-UART bridge  test  by  LPC1769 on EA Baseboard.
I am using the lpc17xx_xpr_bb_130125 (1) this forlam(thank you) example "uart2"  and
lcpopen_2_10_lpcxpresso_nxp_lpcxpresso_1769.zip example "periph_uart_rb".
I also checked FTDI -Driver is working PC USB Serial Port.  And Tera Term running.
Baseboard jumper setting is default  J7.
I expect "example uart2" function.
    UART_SendString(UART_DEV, (uint8_t*)"Flash example\r\n");

uart2_sendString((uint8_t*)"\r\nWriting data from UART1 to this UART\r\n");
(I check this "uart2_sendiString"  function is working)

and  "example periph_uart_rb".
/* Send initial messages */
Chip_UART_SendRB(UART_SELECTION, &txring, inst1, sizeof(inst1) - 1);
Chip_UART_SendRB(UART_SELECTION, &txring, inst2, sizeof(inst2) - 1);

But I can't receive any letter by PC terminal.
I wonder where should  I check  more.
Sorry bad English.
3 Replies

1,529 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by fumio yoshizawa on Wed May 06 01:01:49 MST 2015
Thank you ,

I work well both program. That running  when J54  pin was open.

F.Y
0 Kudos
Reply

1,527 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by fumio yoshizawa on Tue May 05 23:46:17 MST 2015
Thank you for replay.

I use LPCXpresso LPC1769 on LPCXpresso Base Board rev B.
So X3 USB MINI-B port connect P0(0) TXD3, P0(1) RXD3. Then I think UART3 .
But I try to change LPC_UART3 to LPC_UART2.

Thank you,
F.Y
0 Kudos
Reply

1,527 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Mon May 04 16:14:57 MST 2015

Quote: fumio yoshizawa
I am using the lpc17xx_xpr_bb_130125 (1) this forlam(thank you) example "uart2"  and
lcpopen_2_10_lpcxpresso_nxp_lpcxpresso_1769.zip example "periph_uart_rb".



I'm not sure which hardware you are using in detail  :((

Anyway, periph_uart_rb sample is working with UART2 if you change:

#define UART_SELECTION LPC_UART3
#define IRQ_SELECTION UART3_IRQn
#define HANDLER_NAME UART3_IRQHandler


to:

#define UART_SELECTION LPC_UART2
#define IRQ_SELECTION UART2_IRQn
#define HANDLER_NAME UART2_IRQHandler


Board Library is selecting UART2 function (P0[10]/P0[11]). So it's a good idea to measure signals there 

0 Kudos
Reply