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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/04/04 23:39
Read: times


 
Msg Score: -1
 -1 Gimmee Code
#75434 - RE: Serial initialization Programs
Responding to: ???'s previous message
Marty

thanks a lot for you cooperation, yes I would like to receive your files, the a51 files if possible.

Guys this is my code:
ORG 0000H ;vector reset
JMP INICIO

ORG 0040H
INICIO:
MOV SCON, #052H ;REN=1 y RI=0
MOV TMOD, #020H
MOV TH1, #0FDH ; 9600 XTAL
;11.0592 M
what about TL1, does it needs to be initialized

SETB TR1
SETB TI

MOV A,#021H
MOV SBUF,A
JNB TI,$ ;I use it but
;I do not
;understand it very well
CLR TI

The hardware is very strange. The TX goes to a
Hex inverting schmitt trigger (74HC14)and the RX too.
I need this hardware configuration because my software programmer runs perfect.
What do you think about it?
I could use a protoboard to re invert the TX and RX.
by the way how are voltage levels in the rs232 standard?

thanks a lot!

List of 13 messages in thread
TopicAuthorDate
serial initialization            01/01/70 00:00      
   RE: serial initialization            01/01/70 00:00      
      RE: serial initialization            01/01/70 00:00      
         RE: serial initialization            01/01/70 00:00      
   Serial initialization Programs            01/01/70 00:00      
      RE: Serial initialization Programs            01/01/70 00:00      
         Sample code and MAX232 IC            01/01/70 00:00      
   Serial port files + notes            01/01/70 00:00      
      RE: Serial port files + notes            01/01/70 00:00      
         RE: Serial port files + notes            01/01/70 00:00      
         RE: Serial port files + notes            01/01/70 00:00      
   serial initialization, success            01/01/70 00:00      
   RE: serial initialization            01/01/70 00:00      

Back to Subject List