Dear all,
I'm using Keil uVision for simulating an 80C515C-8R / -8E.
ADC configuration: VAREF=5V, VAGND:0V, 8-Bit Resolution
-> U_LSB = 5V/256 = 19.53mV
Input voltage: AIN0 = 2.5 V
I would expect that ADDATH = 0x80, but it shows 0x7F (and ADDATL = 0xC0).
Z = U_IN / U_LSB = 2.5V / 19.53mV = 128 (0x80)
Where's the error in my reasoning? Or is this a bug in Keil's uVision?
Thanking you in anticipation.
Tom