UART

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

UART

809 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by andresfrid on Mon Jun 02 21:23:39 MST 2014
Hello, i compile an example of the uart provided by LPCxpresso IDE downloaded from this page on my lpcxpresso1769.
Im using UART1, P0.15 Tx1 and P0.16Rx1, conected to and USB to RS232.
The TX of the ARM is conected to the Rx of the DB9 pin and the Rx to the Tx.
Im using the hyperterminal to see what the board is sending.
Both Uarts are configured in 9600baud, data bits 8, none parity, stop bits 1, flush control none.
The problem is that in the hyperterminal console im reciving anything, but not what im expecting to recive ("UART1 Online:").
I thought it was noise, but conecting the rx and tx from the USB to RS232 pins I recived what i wrote on the console (it means i discard the noise).
I dont know what is the problem.

Original Attachment has been moved to: uart.rar

标签 (1)
0 项奖励
回复
1 回复

724 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Mon Jun 02 23:43:56 MST 2014

Quote: andresfrid
The TX of the ARM is conected to the Rx of the DB9 pin and the Rx to the Tx.
...
I dont know what is the problem.



:O

LPC1769 is generating a 3.3V UART signal, that's not RS232...

See: http://www.lpcware.com/content/forum/do-i-need-a-rs-232-level-shifter

0 项奖励
回复