+ Reply to Thread
Results 1 to 7 of 7

Thread: Connecting external digital pin to MCU's pin.

  1. #1
    allegro Newbie
    Join Date
    Feb 2009
    Posts
    66

    Default Connecting external digital pin to MCU's pin.

    I would like to connect a digital pin from a chip called CS5463
    http://www.cirrus.com/en/pubs/proDat.../CS5463_F2.pdf
    to my MCU.
    The MCU input pin is defined as tristate.

    My question is how can i be sure that the digital pin of the CS5463 will be able to change from '1' logic to '0' logic, meaning that it would be "strong" enough to change logic states?

    What should i look for in each datasheet?

    Thanks.


  2. #2
    Help us help you blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent
    Join Date
    Jan 2007
    Location
    Toronto, Canada
    Posts
    10,711
    Blog Entries
    5

    Default

    Which microcontroller do you plan on connecting it to?
    Bill
    Smart Kits build Smart People

    http://www.blueroomelectronics.com/

  3. #3
    allegro Newbie
    Join Date
    Feb 2009
    Posts
    66

    Default

    ADUC812, can you help me please?

  4. #4
    Help us help you blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent
    Join Date
    Jan 2007
    Location
    Toronto, Canada
    Posts
    10,711
    Blog Entries
    5

    Default

    They both have SPI so as long as they're running from the same voltage they should be compatible.
    Bill
    Smart Kits build Smart People

    http://www.blueroomelectronics.com/

  5. #5
    allegro Newbie
    Join Date
    Feb 2009
    Posts
    66

    Default

    But the two mentioned pins that i want to connect together, the CS5463 digital output pin and the MCU digital input pin are not SPI peripherals.
    So is it stll ok?

  6. #6
    tresca Good tresca Good
    Join Date
    Apr 2004
    Location
    Canada
    Posts
    194

    Default

    Do they share the same power source(i.e the same ground connection) ? If so, then you can connect them together. Then 5V will be read as 5V.

    If they do not share the same ground, 5V on the CS5463 maybe 12V on your MCU or any arbitary voltage that can damage your MCU.

  7. #7
    futz Excellent futz Excellent futz Excellent futz Excellent futz Excellent futz Excellent futz Excellent
    Join Date
    Sep 2007
    Location
    Vancouver, B.C.
    Posts
    1,980

    Default

    Quote Originally Posted by allegro View Post
    But the two mentioned pins that i want to connect together, the CS5463 digital output pin and the MCU digital input pin are not SPI peripherals.
    So is it still ok?
    As Bill says, as long as they're similar voltage it will probably be fine. Don't connect a 5V output to a 3.3V input pin though, unless the datasheet says it is 5V tolerant.

    You can connect 3.3V outputs to 5V chip inputs though. I do it routinely. In a recent project I have my 3.3V ARM7 board outputting a servo pulse-train that I connect to an input pin on a 5V PIC 12F683. Works just fine.
    =========================
    Futz's Microcontrollers & Robotics
    =========================

+ Reply to Thread

Similar Threads

  1. Connecting digital pin to digital pin.
    By electricity86 in forum Electronic Projects Design/Ideas/Reviews
    Replies: 6
    Latest: 25th February 2009, 11:19 PM
  2. UART communication between two MCU's
    By faysal_002299 in forum Micro Controllers
    Replies: 14
    Latest: 14th November 2008, 12:06 AM
  3. what language must be used for Sonix MCU's?
    By oem_odm in forum Micro Controllers
    Replies: 6
    Latest: 4th October 2008, 11:58 PM
  4. digital camera external battery pack
    By dj_sly in forum Electronic Projects Design/Ideas/Reviews
    Replies: 0
    Latest: 18th November 2003, 10:43 PM
  5. Connecting a Digital System too a Phone Line
    By lee_man_tbu in forum Electronic Projects Design/Ideas/Reviews
    Replies: 2
    Latest: 8th November 2003, 03:58 PM

Tags for this Thread