Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/16/05 13:01
Read: times


 
Msg Score: +1
 +1 Good Answer/Helpful
#103784 - Software test
Responding to: ???'s previous message
After the HW test, you can check that the processor also sends echo. This time it is at 9600 Bds:
	MOV	SCON,#01110000B	; Mode 1/Stop b/Rec en/x/x/Flags
	MOV	TH1,#0FDH	; Reload value for 9600 Bd
	MOV	TCON,#01010101B	; Fl1/Tim1 on/Fl0/Tim0 on/Ext1-edge/Ext0-edge
	MOV	TMOD,#00100001B	; Gate1/Timer/Mode 2 / Gate0/Timer/Mode 1

START:	JNB	RI,START
	CLR	RI
	MOV	A,SBUF
	MOV	SBUF,A
	SJMP	START

Regards, Slobodan

List of 18 messages in thread
TopicAuthorDate
serial communication help            01/01/70 00:00      
   you have a wait in an ISR, that is a no-            01/01/70 00:00      
   12MHz is not the best choice for crystal            01/01/70 00:00      
      Baud rate calculator            01/01/70 00:00      
      I´ll try 11.0592 Xtal            01/01/70 00:00      
         Pinnacle 52 will do it.            01/01/70 00:00      
   tjhe baud rate calculator...            01/01/70 00:00      
      Error            01/01/70 00:00      
   Hardware test            01/01/70 00:00      
      Software test            01/01/70 00:00      
         ...after the Xtal changed to 11.0592MHz.            01/01/70 00:00      
            I was about to edit ...            01/01/70 00:00      
               Sorry...            01/01/70 00:00      
                  probably an excellent test            01/01/70 00:00      
                  So simple and useful            01/01/70 00:00      
   serial communication            01/01/70 00:00      
      up to you            01/01/70 00:00      
      procom; rs232hex            01/01/70 00:00      

Back to Subject List