AT90S8535 -> ATmega8535
2007-01-22 by Magnus Johansson
Hi! I've just been handed an old project for which the sourcecode is lost. The board uses an AT90S8535 processor and has been upgraded to a ATmega8535. The compatibility bit has been programmed and everything's ok except for one thing. ADC0-ADC2 are used and for some reason these are shifted one step. I've checked the datasheets and AVR086 document but can't find anything new/changed that would matter. I've just opened the disassembler and the code uses single conversions so the changing channel during free-running shouldn't matter..? Has anyone else had ADC trouble when changing AT80S8535 -> ATmega8535?