2.7.3.3 Single Read
This reads a single byte from a device, from a designated register. The register is specified through the Command byte.
The read command is as follows, and it is illustrated in the timing diagram below.
- Send START sequence
- Send 7-bit target address
- Send the R/W bit – 0 to indicate a write operation
- Wait for Acknowledge from the target
- Send the register address that needs to be read
- Wait for acknowledge from the target
- Send START sequence again (Repeated Start condition)
- Send the 7-bit target address
- Send R/W bit – 1 to indicate a read operation
- Wait for Acknowledge from the target
- Receive the 8-bit data from the target starting from MSB
- Acknowledge from the host
- Send STOP sequence
If the Host attempts to read from an invalid register location, the MCP16503 will send out 0xFF data (all “1”).
