Expert Mode Data File // How to read, Write and connect to bus 0 or bus 1 using PCA9542A; 2-channels I2C-bus multiplexor and interrupt logic // Board: Fm+ demo board OM13260, board OM13495 TSSOP14 with PCA9542 installed // Connectivity: Connect Fm+ I2C bus1 to SDA and SCL, Set A1, A2 pins to GND and A0 to Pull-up; the slave device address = 0xE2 // I2C Write Protocol : |S|Addr + W|A|Data|A|P| // I2C Read Protocol : |S|Addr + R|A|Data|NACK|P| //---------------------------------------------------------- // Expert sw format: // slave addr,Read/Write,stop bit = yes/No,delay ms,data,comments: notes //---------------------------------------------------------- // dumy read for user to read this file E3,Read,Yes,00,00,Comments: Please read this file before run. use text editor to open //Start program //write cycle; write to CONTROL resgister to connect master to channel 0 E2,Write,Yes,00,04,Comments: Write addr 0xE2 with data 0x04. Master makes connection to channel 0 // Read control register; The value should be 0x04 E2,Read,Yes,00,FF,Comments: read control register value should be 0x04 if the the master connected to channel 0 //write cycle; Master connects to channel 1 and disconnects channel 0 E2,Write,Yes,00,05,Comments: Write addr 0xE2, with value 0x05; master disconnects ch0 and connects ch1 // Note: Master cannot connect to both channel 0 and channel 1 at the same time