two question about AVR.

Status
Not open for further replies.

is_razi

Full Member level 3
Joined
Apr 6, 2002
Messages
162
Helped
13
Reputation
26
Reaction score
7
Trophy points
1,298
Location
Tabriz
Activity points
1,189
hi everybody,
i have two question about avr.
one is about atmega16 ADC. i use two channel of it.the first channel works properly but when i switch to the second channel it reads wrong values .plaese tell me what is the problem.
the second question is about atmega64. i have used it's portG as handshacking signal for a adc, but when i want to compile the source (with IAR compiler) i get the following error message: "Port Address out of range".
please guide me to solve these problems.
thanks a lot.
 

As for 1:
You will have to wait for the first AD channel to complete before starting a conversion on channel2.

As for 2:
Make sure you remove the ATmega103 compatibility fuse , under the fuses section. The 103 does not have a
port G

/Bingo
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…