How to use multiple functions

Thread Starter

dileepchacko

Joined May 13, 2008
109
how to use multiple function of a I/O pin of the micro controller. ie; normally some of the pins of the micro controller will be multiplexed together, for eg; I2C and SPI clocks will be multiplexed in a single pin. how to use the same pin for different fuctions. Is it possible to do this job in software or we have to add any external hardware for this purpous.
 

SgtWookie

Joined Jul 17, 2007
22,230
This should've been posted in the Embedded Systems and Microcontrollers forum.

I/O pins are frequently assigned a variety of different possible functions by the manufacturer. It's left up to the hardware designer and programmer how to best utilize them.
 

thatoneguy

Joined Feb 19, 2009
6,359
Use an extra port for the enable pin on each IC, or don't run the serial clock, depending on what the other devices are and the protocol.
 
Top