Wo ein bedirektionaler Pegelwandler für I²C aber gut ins Geld gehen kann. Die Mosfet-Brücke arbeitet auch bei einem Takt von 400kHz (getestet) ohne Probleme.
Es gibt aber auch auf der offiziellen Seite, im Forum, einen Thread zu dem Thema. http://www.raspberrypi.org/forum/pro...ning-to-use-it
Dort wird auch das Thema Levelshifter diskutiert und unter anderem auf die Phillips Appnote (http://ics.nxp.com/support/documents...df/an97055.pdf) verwiesen. Dieses schlägt auch obige Schaltung vor.
Aus dem Hardwarebereich des Pi-Wiki:
P1: 26-pin 2.54mm header expansion (header not fitted), providing: see Low-level peripherals
- 8 GPIOs at 3v3
- 2-pin UART serial console, 3v3 TTL (debug); or 2 GPIOs at 3v3
- I2C interface (3v3); or 2 GPIOs at 3v3
- SPI interface (3v3); or 5 GPIOs at 3v3
- 3v3, 5v and GND supply pins
- ARM JTAG (if pins are reconfigured in software)
- Second I2C interface (3v3) (if pins are reconfigured in software)
- I2S interface (if pins are reconfigured in software, hardware hack may be required[2])
- 6 pins reserved for future use
Lesezeichen