??? 07/02/05 08:38 Read: times |
#96427 - UART initialization Responding to: ???'s previous message |
hi,
Kurnia Brahmana said:
But when the GSM Txd is connected to the Rxd of the uC the uC it seems did not receive any char sent by the GSM.
You have not shown UART initialization code. Probably it may be that you do not enable reception. To enable it you need to set bit REN of SCON register. Another reason may be that you utilize Timer 2 to generate baud rate for UART. In this case you should set both RCLK and TCLK bits in T2CON register. Regards, Oleg |
Topic | Author | Date |
Hyperterminal read, but uC does'nt. | 01/01/70 00:00 | |
Level Converter ? | 01/01/70 00:00 | |
Level converter | 01/01/70 00:00 | |
UART initialization | 01/01/70 00:00 | |
UART initialization, thank you. | 01/01/70 00:00 | |
Beware! The 90:10 rule...![]() | 01/01/70 00:00 |