Pull-up before/after voltage divider for i2c

Discussion in 'Digital Circuit Design' started by Synaps3, Aug 2, 2016.

  1. Synaps3

    Thread Starter Member

    Jun 5, 2013
    95
    3
    I am building my first circuit for i2c and the chip I am controlling using an MCU requires a pull-up resistor on SDA and SCL. I am using a voltage divider because my MCU is 5V and I need 3.3V. Does it matter what side of the divider I put the pull-up on? Based on the layout the 3.3V side would be much easier?
     
    Last edited: Aug 2, 2016
  2. MrChips

    Moderator

    Oct 2, 2009
    14,501
    4,269
  3. ericgibbs

    AAC Fanatic!

    Jan 29, 2010
    3,325
    591
    Last edited: Aug 3, 2016
  4. GopherT

    AAC Fanatic!

    Nov 23, 2012
    7,244
    5,956
    Do you need bidirectional or is one-way good enough?
     
  5. AlbertHall

    Distinguished Member

    Jun 4, 2014
    4,219
    958
    Don't you need bidirectional for the acknowledge from the slave?
     
  6. GopherT

    AAC Fanatic!

    Nov 23, 2012
    7,244
    5,956
    Sorry, i2c. I had SPI on my brain from another discussion.
     
Loading...