EasyManua.ls Logo

Maxim Integrated MAX32664A - Communicating with the MAX32664 A; List of Tables Table 1. Read Status Byte Value

Default Icon
15 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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
STATUS
BYTE VALUE
DESCRIPTION
0x00
The write transaction was successful.
0x01
Illegal Family Byte and/or Command Byte was used.
0x02
This function is not implemented.
0x03
Incorrect number of bytes sent for the requested Family Byte.
0x04
Illegal configuration value was attempted to be set.
0x05
Incorrect mode specified. (In bootloader: Device is busy. Try again.)
0x80
General error while receiving/flashing a page during the bootloader
sequence.
0x81
Checksum error while decrypting/checking page data.
0x82
Authorization error.
0x83
Application not valid.
0xFE
Device is busy. Try again.
0xFF
Unknown error.
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.