SLASF96 April 2024 AFE20408
PRODUCTION DATA
The device communicates with the system controller through a serial interface, which supports either an I2C-compatible two-wire bus, or an SPI-compatible bus. The device includes a robust mechanism that detects between an SPI-compatible or I2C-compatible controller, and automatically configures the interface accordingly. The interface detection mechanism operates at start-up, thus preventing protocol change during normal operation.
Figure 6-12 shows that the device uses a paging system to organize registers by functionality.
In both SPI and I2C configurations, address 0x01 is used to select the different pages in the device. To read and write to one of the device registers, the page for that register must first be selected by writing the 5-bit representation of the page number (PAGE[4:0]) to address 0x01, as shown in Figure 6-13. The page register holds the page value until a new page address is programmed to the device.
Addresses 0x00 to 0x3F in each page are global registers, thus enabling access of these bits regardless of the page configuration.