Ah, if you are referring to a logic level converter, I had ordered one but
wasn't sure if that was what I needed. I'll read more on how to use it,
and try that. Thank you.
You're welcome. However, be aware that there are several kinds of
logic level converter.
The standard variety 8T245 or 74LVC1T45 (think that the numbers are
close) are the standard LS245 type, a bidirectional driver that only
works one way at a time, where the chip has two VCC inputs. This is
quite useful for parallel inputs/outputs where you're only
transmitting one direction at a time, and have a control line that
enables that (such as a read/write line).
The PCA9517A chip is designed specifically for I2C, and is
bidirectional without needing a control. The SCL line is driven by
whatever is the I2C master, but the SDA line is alternately driven by
the master (at all times on writes except for the ACK bit) and the
slave (all the times the slave talks to the master except the ACK bit
from the master). Check the I2C spec for this information. On the
chip, leave the ENA input open, it seems to work just fine like that
(or I suppose you could pull it up to the appropriate VCC).
On this chip, use pins 7 and 6 for the local (processor) pins, and use
pins 2 and 3 for the system (chip to chip) connections. Use pin 8 for
the system VCC and pin 1 for the local VCC.
Pins 7 and 6 are not designed to be paralleled with other chips, and
pins 2 and 3 are designed to be connected to *other* pins 2 and 3 on
other boards, which means that the connections to pins 7 and 6 are
always local.
I2C pins sink to ground and have a resistive pullup to the supply
voltage. However, there is no guarantee that any chip can tolerate an
input voltage greater than its power supply voltage. Thus you need a
voltage level translator between systems with different supply
voltages.
This is how I have the chips connected, and it works properly. Check
the data sheets (NXP) for the details and the backup information.
Harvey