04-23-2009 03:55 AM
hello, I want to simulate sampling use 8051 and max1284. the programme has 0 errors ,but there/s no signal on DOUT pin of MAX1284. PLEASE HELP ME ! THANK YOU
$MOD51 ; This includes 8051 definitions for the metalink assembler
; Please insert your code here.
NOP
NOP
NOP
CLR P1.6
CLR P1.5
; SETB P1.7
LOOP1: ;; MOV C, P1.7
;JNC LOOP1
;SETB P1.6
MOV R7,#04H
CLR A
SETB P1.6
NOP
CLR P1.6
NOP
SETB P1.6
NOP
CLR P1.6
NOP
SETB P1.6
NOP
CLR P1.6
LOOP2: SETB P1.6
MOV C,P1.7
CLR P1.6
RLC A
DJNZ R7,LOOP2
; RLC A
MOV B,A
MOV R7,#08H
CLR A
LOOP3: SETB P1.6
MOV C,P1.7
RLC A
CLR P1.6
DJNZ R7,LOOP3
SETB P1.5
MOV 20H,A
MOV 21H,B
RET
END
Solved! Go to Solution.
04-23-2009 09:09 AM
Hi,
The MAX1284 is a layout only component. Only components with a blue and black outlines can be simulated. Components with green outlines can't.
Hope that answers your question.