My SPI bus has 2 slaves, one is 5V tolerant and is connected normally to the bus, however the second one is only 3V3 tolerant and so I have to level shift it. I have decided to use the 74AHCT125 buffer, however I have some questions regarding this.
- Should the buffer Vcc pin be powered with 5V (Master) or 3V3 (Slave)?
- Are my following connections correct based on this information?
MOSI: Arduino MOSI (5V) -> Buffer Input -> Buffer Output -> 3.3V Device MOSI
SCK: Arduino SCK (5V) -> 74AHCT125 Input -> 74AHCT125 Output -> 3.3V Device SCK
SS: Arduino SS (5V) -> 74AHCT125 Input -> 74AHCT125 Output -> 3.3V Device SS
MISO: 3.3V Device MISO -> 74AHCT125 Input -> 74AHCT125 Output -> Arduino MISO (5V)
OE: Connected to ground (active low)
Vcc: Not sure