Maxim Integrated Page 5 of 15
1.1 Communicating with the MAX32664A
A host should use the I
2
C bus to communicate with the MAX32664A (slave) using a series of
commands. A generic write command includes the following fields:
Slave_WriteAddress(1 byte)|Command_Family(1 byte)|Command_Index(1
byte)|Value(multiple bytes)
A generic response includes the following fields:
Slave_ReadAddress(1 byte)|Status(1 byte)|Value(multiple bytes)
Slave_WriteAddress and Slave_ReadAddress are set to 0xAA and 0xAB, respectively.
The read status byte is an indicator of success (0x00) or failure, as shown Table 1.
Table 1. Read Status Byte Value
DESCRIPTION
The write transaction was successful.
Illegal Family Byte and/or Command Byte was used.
This function is not implemented.
Incorrect number of bytes sent for the requested Family Byte.
Illegal configuration value was attempted to be set.
Incorrect mode specified. (In bootloader: Device is busy. Try again.)
General error while receiving/flashing a page during the bootloader
sequence.
Checksum error while decrypting/checking page data.
Device is busy. Try again.
This document provides examples of commands for establishing communication with the
MAX32664A. For a complete list of commands and instructions for the I
2
C interface, see the
MAX32664 User Guide.