This is my 8051 microcontroller program to initialize and C35, but it cannot work,( I am using C16 compiler)and AT89S8252 microcontroller
start: MOV A,PCON SETB ACC.7 MOV PCON,A MOV TMOD,#20H MOV TH1,#0FDH MOV SCON,#50H SETB TTR1
MOV DPTR,#1930H ACALL SENDCOM MOV DPTR,#1940H ACALL SENDCOM MOV DPTR,#1950H ACALL SENDCOM MOV DPTR,#1960H ACALL SENDCOM
SENDCOM: A1: CLR A MOVC A,@A+DPTR CJNE A,#0FFH,CON ` RET CON: ACALL SENDW INC DPTR SJMP A1 SENDW: CLR T1 MOV SBUF,A H1: JNB TI,H1 RET
ORG 1930H DFB "AT",0FFH ORG 1940H DFB "ATZ",0FFH ORG 1950H DFB "ATE0",0FFH ORG 1960H DFB "ATA",0FFH
END
any comment?? i also connect the C35 and MAX207 with a data cable.the MAX207 was to connect to the pin 10 and 11 ( transmit and receive) of the microcontroller.