Expert Mode Data File // How to read, Write 8-BIT of Toterm pole and Open drain // This sw can be run on OM13488 with TSSOP16 // pca6408, PCA9534, PCA9554/B, PCA9574, // PCAL6408A, PCAL9554B // Board: Fm+ demo board OM13260, board OM13488 TSSOP16 and GPIO target board 0m13303 (LEDs) // Connectivity: Connect Fm+ I2C bus1 to SDA and SCL, Set the slave device address = 0x40; // Make sure:Reset and INT pins are pull-up and connect VDD to 3.3V and VSS to GND // I2C Write Protocol : |S|Addr + W|A|Reg addr|A|Data|A|P| // I2C Read Protocol : |S|Addr + w|A|Reg addr|A|SR|Addr + R|A|Data|NACK|P| //---------------------------------------------------------- // Expert sw format: // slave addr,Read/Write,stop bit = yes/No,delay ms,data,comments: your notes //---------------------------------------------------------- // dumy read for user to read this file 40,Read,Yes,00,00,Comments: Please read this file before run. use text editor to open // Write 1 byte to configuration regs to set all ports as outputs 40,Write,Yes,00,03,00,Comments: Write to addr 0x40 and set Configuration reg as OUTPUT // Write to output register #1 to toggle IO pins 40,Write,Yes,200,01,FE,Comments: Write to device addr 0x40 on bus #1; set bit0 = 0 40,Write,Yes,200,01,FD,Comments: Write to device addr 0x40 on bus #1; set bit1 = 0 40,Write,Yes,200,01,FB,Comments: Write to device addr 0x40 on bus #1; set bit2 = 0 40,Write,Yes,200,01,F7,Comments: Write to device addr 0x40 on bus #1; set bit3 = 0 40,Write,Yes,200,01,EF,Comments: Write to device addr 0x40 on bus #1; set bit4 = 0 40,Write,Yes,200,01,DF,Comments: Write to device addr 0x40 on bus #1; set bit5 = 0 40,Write,Yes,200,01,BF,Comments: Write to device addr 0x40 on bus #1; set bit6 = 0 40,Write,Yes,200,01,7F,Comments: Write to device addr 0x40 on bus #1; set bit7 = 0 // Read Configuration register 03 40,Write,No,00,03,Comments: Write to set reg pointer to 03 40,Read,Yes,00,FF,Comments: The values should be reg 03 = 0x00