I2C电平位移器

I2C电平位移器

Communication Protocols Application

I2C level-shifters allow two I2C-enabled devices to communicate to each other across two different voltage levels. The given example level shifts from 3.3V to 1.8V.

Necessary Components

GreenPAK Diagram

Design Steps

  1. Configure four GPIO pins as digital input/outputs with the output mode set to open drain NMOS.
  2. Configure one pin as a digital input for the enable signal.
  3. Add an AND gate to each input/output.
  4. Configure four multi-function blocks (or four LUTs and four CNT/DLY blocks if Multi-function blocks aren’t available) as a NOR gate feeding into a falling edge delay.
  5. Select OSC2 as the clock source for the delay blocks and set it to“Force Power On.”

Resources

GreenPAK Designer files