Jeremy Slater

atd stuck bits

Discussion created by Jeremy Slater on Dec 5, 2006
Latest reply on Dec 7, 2006 by Jeremy Slater
I am using the atd in 10-bit mode on a 68hc912b32, and the 2 LSbs never change from '10'. This appears to be a somewhat similar issue to this one. Despite the +-2LSb accuracy, shouldn't I still be seeing a variable value in these two bits?

I'm using this code to begin the conversion.

STAA atd_ctl2
;Delay 100us
STAA atd_ctl3
LDAA #$44
STAA atd_ctl5