sparkfun / SparkFun_SX1509_Arduino_Library

Arduino library for the SX1509 16-I/O GPIO expander.
44 stars 38 forks source link

SX1508 Can't read RegData between 100-400 kHz #25

Open pedrorovi opened 1 year ago

pedrorovi commented 1 year ago

In the datasheet (https://cdn.sparkfun.com/assets/learn_tutorials/4/3/4/sx150x_789.pdf) this is the description for RegData(0x08)

Read: Data seen at the IOs, independent of the direction configured.

I only can read this register with a RPi Pico with i2c frequency configured with 1000kHz. If I change the frequency to the recommended (400) I can't read it and can't check if I activate or not a channel. I tested it too with STM32 and Arduino Nano and I can't read it too.

Is it really possible to read this register state configured as an output?