CAN ATMEGA8 CRYSTAL PINS used as I/O ?

Status
Not open for further replies.

Dilpreet Singh

Junior Member level 1
Joined
Jan 21, 2015
Messages
19
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
155
CAN ATMEGA8 or any other mcu's CRYSTAL PINS used as I/O ? as they are at 6th AND 7th bit of PORTB in atmega8 ?
Can I use then as out pins also ?
 

There are things called datasheets that tell you what you need to know. Why don't you read it, or do you need someone to read it to you?

Here is your one freebie link for being to lazy to get the datasheet...
Go find it and read it yourself.
 

and the answer is?
A Communmity is poor to use, If I read only answers like "look into the Datasheet" .
Then I don't understand the sense from that?!
Why do you answer..only to say..look into the datasheet?! this make no sense...
 

Oh you think you're entitled to an answer? Hey I don't get paid to answer yours or anyone elses questions. I certainly don't give answers to people that won't even make the effort to read the datasheet. It was easy to find the answer, way too easy, ergo you never even looked.
 

And again!?! Why you answer then?!?!? This make no sense!
It's nice, If only people answer to a question, If they can say something to the problem, look into the Datasheet isn't what he can need...maybe..I#m sure, thjat he know, that he can find it in the datasheet!
 

I second ads-se. It is engineering 101, look at the datasheet before you do anything with the said device. If you don't understand a certain section of the datasheet? or it doesn't do what it says, then ask. Get the Atmega8 datasheet and look at the section called pin description, it summaries how you can play with each and every pins. Another thing is, different manufacturers tend to split the functionality in different ways, only way to tell if one particular MCU can support a particular configuration is to look at it's datasheet. Even single MCU can have different pin functionality for different package type so datasheet is the only way to confirm it. Good luck.
 

Forum rules say:
Please avoid replies like “google it” or “read the datasheet” or if you give such answers provide a couple of links or the specific chapter/page that the user should read.
In so far Mr. Big is right. But the OP is asking about "ATMEGA8 or any other mcu's CRYSTAl PINS". And in this case, it's right to say, only the specific datasheet can give you the answer.

ATmega and many other µCs can run from internal oscillators and have the external crystal oscillator pins as alternate function of GPIO pins. Means the GPIO has full input and output capabilities if not used for a crystal oscillator. The same applies to many other µCs but not all. Thus: read the datasheet.
 

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…