the standard Master Receiver read transaction sequence: (MSP432 as master with slave device) Send the start sequence Send the slave address with R/W bit low Send the register number Send the start sequence again (repeated start) Send the slave address with R/W bit high Read data byte(s) Send the stop sequence This sequence does not work for a MAX7313 I/O Expander : [Start + 7bit Address + R/W low + Register Number to Read .. Restart + 7bit Address + R/W high ... then Read N BITS] ------------------------------------------------------------------------------------------- Desired Master Receiver Read Transaction Sequence to meet MAX7313 spec sheet: (MSP432 as Master MAX7313 as Slave) Send the start sequence Send the slave address with R/W bit high (EUSCI_B_CTLW0_TR set as Receiver) Send the Slave Register Byte Read data byte(s) Send the stop sequence MAX7313 I/O expander chip Requires [Start + 7bit Address + R/W high + Register Number to Read .. then Read N BITS] -------------------------------------------------------------------------------------------- This sequence does not work: [Start + 7bit Address + R/W low + Register Number to Read .. Restart + 7bit Address + R/W high ... then Read N BITS] Is this supported for MSP432 / What would be the best workaround? Note: Master Transmit Sequence works well with I2C for setting MAX7317 outputs
↧