Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: AT91SAM7X pio input problems
PostPosted: Wed Sep 22, 2010 6:18 pm 
Offline

Joined: Wed Sep 22, 2010 3:56 pm
Posts: 1
Hi,
im working with sam7x for 3 years but now i have problems with the PIO which i never had before.
I'm using the GCC C Compiler in my design environment with Exclipse.
The problem is, port pins which are configured as input are still driving to vcc. Connectet to externial signal sources it looks like two outputs are driving against each other.
If i measure the input pins voltage when it is not connectet to an signal source, the voltage is about 2.8V not the full 3.3 (the pullups are disabled)
But the Problem only appears on X128 and X256 devices, the X512 works well.

I watched the PIO status registers, the values are ok.

My init code is quite simple.
After the ASM based init, i jump to my main function. The first function call is my IO init function.
First i configure the reset pin.
After that i configure the power manager for the pio.
Then i set the io directions.
After that, the input ports are still driving.
The configuration is done with the include files from atmel.

Any idea what could happen?

I want to test the mpu's with a trail version of the IAR compiler but i had no time yet to do this.

Regards

Florian


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: