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.

using PORTA as input/output and ADC at the same time

Status
Not open for further replies.

yaghoubi

Junior Member level 3
Joined
Aug 12, 2011
Messages
27
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,283
Activity points
1,485
Hello there
Let me know,how can I use PORTA as input/output and ADC at the same time.
I think I should adjust ADC in single mode.I was wander if you got a tutorial to me
 

It would help to tell us the mcu you are referring to but in any case I don't think you will be able to do two things at the same time with the same pin if this is what you are asking
 

What MCU are you referring to? What is the exact model of the microcontroller you are using?

Typically each microcontroller has its own initialization requirements, which are detailed in the devices datasheet.

To assist you further, the above information will need to be provided.

BigDog

---------- Post added at 16:31 ---------- Previous post was at 16:30 ----------

@ Alex, you beat me to it.
 

there is nothing wrong with that, it can work fine, each pin can be configured individually so some pins can be output and the others input for the ADC

---------- Post added at 19:47 ---------- Previous post was at 19:44 ----------

you can read View topic - [TUT] Using AVR ADC :: AVR Freaks for ADC
and for I/O settings
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top