I have some problems regarding the set of the dacs output on a aduc842.
I clear the output at the start part of the program and after I cannot set
anymore the outputs of the dacs.
Should I disable the interrupts during the writing on the dacs sfr ?
Is the procedure below correct?
;SETUP UART FOR ADUC 842
MOV DACCON,#01Fh ;SET BOTH DACS ON , 12 BIT , ASYNC
MOV DACOH,#OOH ;SET OUTPUT ON DAC0 TO 0 VOLT
MOV DAC1L,#OOH ;SET OUTPUT ON DAC1 TO 0 VOLT
LCALL GETCHAR ; GET A BYTE FROM UART
ANL A,#0FH ; MASK HIGH NIBBLE
MOV DACOH,A ; PUT ON DAC SFR