[Icc-avr] ATmega8 hardware problem

John Baraclough j_baraclough at zetnet.co.uk
Sat Aug 16 12:32:07 PDT 2008


Hi All,

I've posted this question on AvrFreaks but nobody has replied so I 
thought I would try here.

I'm using an ATmega8 in a small application with a 10-way DIP switch. 
Six of the switches are on PortC and the internal pull-ups are fine on 
this port. However, the remaining four switches are on Port D and I have 
a problem with getting the internal pull-ups to work on bits 5, 6 7 & 1. 
The data sheet implies that the pull-ups are present on these pins but I 
don't seem to be able to switch them on.

The problem has been solved by adding external pull-ups to these pins, 
but I'm curious to know if anyone else has had a similar problem.

All the best for now,
John



More information about the Icc-avr mailing list