Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
dbird
PostPosted: Jul 21, 2008 - 04:05 PM
Newbie


Joined: Dec 26, 2007
Posts: 3


Hi All,

I am newbie. I have simple question.
For XMEGA, Is I/O pin 5V tolerant or need level shift ?

dbird
 
 View user's profile Send private message  
Reply with quote Back to top
theusch
PostPosted: Jul 21, 2008 - 04:28 PM
10k+ Postman


Joined: Feb 19, 2001
Posts: 25922
Location: Wisconsin USA

Not a bad question. AFAIK, the answer is "not 5V tolerant".

There is no mention of protection diodes in the datasheet that I can seel, but the Absolute Maximum Ratings table imply that they are there. A 5V level on an I/O pin with Vcc of 3.3V violates the Absolute Maximum level.

Lee
 
 View user's profile Send private message  
Reply with quote Back to top
dbird
PostPosted: Jul 22, 2008 - 07:47 AM
Newbie


Joined: Dec 26, 2007
Posts: 3


Thanks Lee.

dbird
 
 View user's profile Send private message  
Reply with quote Back to top
aerkol
PostPosted: Oct 24, 2011 - 11:14 AM
Newbie


Joined: Dec 06, 2010
Posts: 12


I am sorry that I am asking the same question again, and I still couldn't answer and thank in the other subject to people who helped me with their suggestions. I want to verify again, are ATxmega series 5V tolerant?, especially ATxmega16D4. I also saw that in the datasheet, absolute maximum ratings say that it is not 5V tolerant. Is there anything changed since 2008, do I miss something on the datasheet?
 
 View user's profile Send private message  
Reply with quote Back to top
danni
PostPosted: Oct 24, 2011 - 11:51 AM
Raving lunatic


Joined: Sep 05, 2001
Posts: 2499


aerkol wrote:
Is there anything changed since 2008


No 5V tolerant and no CAN planned in future.


Peter
 
 View user's profile Send private message  
Reply with quote Back to top
lautman
PostPosted: Oct 24, 2011 - 06:02 PM
Hangaround


Joined: Apr 01, 2003
Posts: 186


No 5V tolerance. Take a look at http://www.analog.com/en/interface/level-translators/products/index.html. TI makes a lot, too. I'm using one of these (http://www.ti.com/lit/ds/symlink/txb0108.pdf) in an Xmega project at the moment.
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
TravelRec
PostPosted: Oct 24, 2011 - 07:26 PM
Rookie


Joined: Aug 23, 2008
Posts: 31


It is not necessary for a plain 3.6V controller system to be 5V tolerant. This is a feature of many peripheral chips with only some interface pins to connect to a host. It is expensive to make all portpins of a controller accept a higher voltage than the core. And you don´t want to pay for it. As long as you can run your peripherals at max. 3.6V too, its a good advice to do so.
 
 View user's profile Send private message  
Reply with quote Back to top
electronic.designer
PostPosted: Oct 25, 2011 - 12:09 PM
Hangaround


Joined: May 27, 2010
Posts: 396
Location: The land of Cyrus the Great

I have connected a 5V supply T6963c-based 240x128 GLCD to XMEGA with 1Kohm series resistors on DB0-DB7 and it works fine.

_________________
Ozhan K.
 
 View user's profile Send private message  
Reply with quote Back to top
TravelRec
PostPosted: Oct 25, 2011 - 02:33 PM
Rookie


Joined: Aug 23, 2008
Posts: 31


electronic.designer wrote:
I have connected a 5V supply T6963c-based 240x128 GLCD to XMEGA with 1Kohm series resistors on DB0-DB7 and it works fine.


We´ll see, how long... If the display is set for outputting data, it will broil the XMEGA some time.
 
 View user's profile Send private message  
Reply with quote Back to top
leon_heller
PostPosted: Oct 25, 2011 - 03:06 PM
Raving lunatic


Joined: Jul 27, 2001
Posts: 7429
Location: St. Leonards-on-Sea (UK)

Why? That technique is often used without any problems.

_________________
Leon Heller
G1HSM
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
TravelRec
PostPosted: Oct 25, 2011 - 06:52 PM
Rookie


Joined: Aug 23, 2008
Posts: 31


As long as the display is only in write mode (it gets data from the controller) then yes. You have to hardwire the R/W-Pin to the corresponding level so that the display never can transmit data.
 
 View user's profile Send private message  
Reply with quote Back to top
electronic.designer
PostPosted: Oct 25, 2011 - 09:12 PM
Hangaround


Joined: May 27, 2010
Posts: 396
Location: The land of Cyrus the Great

There is no problem for reading from lcd, bacause of series resistors and internal protection diodes.

_________________
Ozhan K.
 
 View user's profile Send private message  
Reply with quote Back to top
tlyse
PostPosted: Oct 26, 2011 - 09:20 AM
Newbie


Joined: Jul 12, 2002
Posts: 1


Hi,

Waiting for having the XMEGA-B1 Xplained schematics on Atmel website, you will find them attached.

Thierry
 
 View user's profile Send private message  
Reply with quote Back to top
TravelRec
PostPosted: Oct 26, 2011 - 12:42 PM
Rookie


Joined: Aug 23, 2008
Posts: 31


electronic.designer wrote:
There is no problem for reading from lcd, bacause of series resistors and internal protection diodes.


1k series resistors are too low in resistance. The "protection" diodes are able to take no more than .5mA of current. Another thing: If all outputs of the display are logic high, the XMEGAs Vcc will be shifted over the body diodes; maybe higher than the specified maximum. This is a not reliable technique.
 
 View user's profile Send private message  
Reply with quote Back to top
leon_heller
PostPosted: Oct 26, 2011 - 12:51 PM
Raving lunatic


Joined: Jul 27, 2001
Posts: 7429
Location: St. Leonards-on-Sea (UK)

It depends on the application, it can be reliable.

_________________
Leon Heller
G1HSM
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
ka7ehk
PostPosted: Oct 26, 2011 - 04:50 PM
10k+ Postman


Joined: Nov 22, 2002
Posts: 12054
Location: Tangent, OR, USA

I think that TravelRec's point has to do with the behavior of most regulators.

IF the external device is powered from a separate supply

AND IF the current load on the regulator supplying the controller is small

AND IF you are supplying a lot of current though transient protection diodes

THEN you could supply enough current INTO the regulator output that would require the regulator to sink instead of source. This would cause the regulator output to rise above its designed output voltage level, and possibly exceeding the voltage ratings of the micro.

With some care, this situation can be avoided. But, you have to recognize the possibility in order to know what to do. Its a sneaky one because it operates outside of "normal" circuit behavior (current through normally inactive diodes).

This is basically the same issue that happens when someone tries to shut off the power to the micro while keeping active voltages connected to port pins.

Of course, if the current source is powered from the same regulator as the mcu, then the net regulator load current remains positive and that little corner of the world will remain happy.

Jim

_________________
Jim Wagner
Oregon Research Electronics, Consulting Div.
Tangent, OR, USA

"The only thing standing between us and victory is defeat" P.G.Wodhouse in Wooster & Jeeves series
 
 View user's profile Send private message  
Reply with quote Back to top
TravelRec
PostPosted: Oct 26, 2011 - 06:21 PM
Rookie


Joined: Aug 23, 2008
Posts: 31


Jim,

you are absolutely right. I´m a bit careful due to my job to develop things that nearly live forever Wink
It happens to me in the past that I freezed up AVR port pins because of feeding too much current into the body diodes. This pins were constantly high, constantly low, open or something between that after the treatment, so I will not recommend to conduct the diodes with more than the specified current, which is .5mA for XMegas and 1mA for normal Megas and Tinys.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits