Aug 9, 2007 #1 armess Member level 3 Joined Sep 22, 2006 Messages 64 Helped 2 Reputation 4 Reaction score 2 Trophy points 1,288 Activity points 1,692 how to recode serial port communication data Can anybody give a code for reading data from a serial device to be processed by an 8051 microcontroller.
how to recode serial port communication data Can anybody give a code for reading data from a serial device to be processed by an 8051 microcontroller.
Aug 9, 2007 #2 abbas1707 Full Member level 4 Joined May 3, 2007 Messages 216 Helped 20 Reputation 40 Reaction score 8 Trophy points 1,298 Activity points 2,371 try to do it urself
Aug 9, 2007 #3 A aandavan Advanced Member level 4 Joined Aug 31, 2006 Messages 104 Helped 8 Reputation 16 Reaction score 7 Trophy points 1,298 Location india Activity points 1,918 These are the register value you have to choose for serial communication SCON = 0X50; Serial port enable and serial mode selection TMOD = 0x20; Timer1 selection TH1 = 0xfd; //Baud rate selection here 9600 TR1 = 1; TI = 1;
These are the register value you have to choose for serial communication SCON = 0X50; Serial port enable and serial mode selection TMOD = 0x20; Timer1 selection TH1 = 0xfd; //Baud rate selection here 9600 TR1 = 1; TI = 1;
Aug 10, 2007 #4 P Prabakaran Full Member level 3 Joined Jan 22, 2007 Messages 167 Helped 9 Reputation 18 Reaction score 3 Trophy points 1,298 Location Chennai(India) Activity points 2,273 As aandavan said that is serial mode configuration of receiving the data from hyperterminal via RXd PIN . SBUF is the serial Register of receiving the data from serial end
As aandavan said that is serial mode configuration of receiving the data from hyperterminal via RXd PIN . SBUF is the serial Register of receiving the data from serial end
Aug 10, 2007 #5 V vijaya_narayana Full Member level 3 Joined Jun 12, 2007 Messages 178 Helped 11 Reputation 22 Reaction score 1 Trophy points 1,298 Location India Activity points 2,182 :idea: just go through mazid book you will get all the related datas regarding 8051 or try ayala
Aug 10, 2007 #6 X x_zoli Advanced Member level 4 Joined Jul 22, 2004 Messages 105 Helped 9 Reputation 18 Reaction score 3 Trophy points 1,298 Location Brasov, Romania Activity points 787 It's all explained here: h**p://www.8052.com/tutser.phtml#Serial%20Mode
Aug 13, 2007 #7 J jayavardhan Full Member level 2 Joined Sep 1, 2006 Messages 124 Helped 3 Reputation 6 Reaction score 0 Trophy points 1,296 Location India Activity points 1,840 SCON = 0X50; Serial port enable and serial mode selection TMOD = 0x20; Timer1 selection TH1 = 0xfd; //Baud rate selection here 9600 TR1 = 1; TI = 1;
SCON = 0X50; Serial port enable and serial mode selection TMOD = 0x20; Timer1 selection TH1 = 0xfd; //Baud rate selection here 9600 TR1 = 1; TI = 1;