Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62309

Forum Post: MSP432 I2C Master Receiver Mode - Need to send Register Byte to Slave after Slave Address + R/W bit + Slave Register (MAX7313 Slave)

$
0
0
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

Viewing all articles
Browse latest Browse all 62309

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>