How to use multiple functions

Discussion in 'Embedded Systems and Microcontrollers' started by dileepchacko, Mar 10, 2009.

  1. dileepchacko

    Thread Starter Active Member

    May 13, 2008
    102
    1
    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.
     
  2. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
    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.
     
  3. thatoneguy

    AAC Fanatic!

    Feb 19, 2009
    6,357
    718
    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.
     
  4. dileepchacko

    Thread Starter Active Member

    May 13, 2008
    102
    1
    you mean i have to use latch to utilize the multiple fuction
     
Loading...