Circuit and video of weird behaviour.
I am using a TXS0108E 8-channel logic level shifter to convert a 3V3 input (VA) to a 5V output (VB).
According to the datasheet, when there are no inputs driving either side of the shifter, the pins are all supposed to be 5V and 3V3.
However, the output is not always 5V on the corresponding side. On some pins (random pins, changes every power cycle) the voltage is ~2.3 V. When these pins are measured using a multimeter, tapping the pin with the multimeter probe repeatedly (measuring the same pin over and over again) changes the output to the correct output after a random number of taps.
Even when pins on the input side (3V3) are driven, the output is not guaranteed to be 5V.
I have wired the Output Enable pin (OE) to 3V3 with a 1k pulldown resistor. The 2 pin supply voltages are 5V (generated by LM7805) and 3V3 (generated by AMS1117), both with 0.1 uf bypass capacitors.
Is this expected behaviour? How to fix this?
Could it be related to the auto direction detection feature? If the chip is getting confused by what side is the output and input, is it a good idea to dedicate a pin to always be driven by 3V3 input and the corresponding pin on the output side be tied to ground via a large resistance?