Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

AVR ATmega32L port problems

Status
Not open for further replies.

avr_micro

Member level 3
Joined
Feb 15, 2004
Messages
64
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
514
Hello.I had a atmega16 and i bought a new atmega32L but each of them have this problems.
1-micro works so slow(for example command:wait 1 cause the stop estimatly 8 seconds).
2- ports pc.2 to pc.5 didn't work.set and reset of this ports didn't work.but pc.0 and pc.1 and pc.6 and pc.7 work so fine in both of micros.
I write my programs with bascom and this is the first time that i have problems such as this.Please help me.
best regards.
 

avr port problem

Do you set clock frequency selection correctlly?
It may configuerd so that used internal 1MHz osc.
PC2...PC5 also used for JTAG interface.
if you want to use them as general I/O pins , you must not use them as JTAG.
 

    avr_micro

    Points: 2
    Helpful Answer Positive Rating
avr port problem

the problem is tht ur jtage is enabled. You have to do fuse bits to disable it. Some examples of doing fuse bits are available on the book
MY EXPERIENCE IN PROGRAMMING AVR MICROCONTROLLERS IN C USING WINAVR

You can get the book from
https://groups.yahoo.com/group/booksbybibin/
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top