Hi,
I have a problem with controlling the ports on this device. I am using Python and SpiDev to write to the registers. It is not clear from the datasheet how this is done. The device seems to have one byte of adress and one byte of data for each of the 10 ports. I just want to use the ports as output ports and to set the output to High og Low. It is a 100k pull-up resistor on each port. For example to set Port-0 Low I write data=0x00 to adr=0x00. And to set it High I write data=0x01 to adr=0x00. The output port is always High (5V which is the voltage at the pull-up resistors). Why?
Leif