SLVAF93A october 2022 – april 2023 LP8764-Q1 , TPS6594-Q1
The serial control interface registers are 0x11A, 0x122, and 0x123. As shown in Table 5-1, 0x11A is the serial interface register and indicates if the serial interface is either I2C or SPI and if the CRC is enabled on the interfaces, I2C1 or SPI and I2C2. The I2C1 address is stored in 0x122 and the I2C2 address is stored in 0x123.
Page 1, Register Address 0x1A Bit Field | Description |
---|---|
Bit 2 |
|
Bit 1 |
|
Bit 0 |
|
Once the NVM is successfully unlocked, the serial interface can be changed. Once the change is made, the previous serial interface no longer applies and the interface must change appropriately on the host side. In the context of an I2C address change, the necessary updates must be made for the pages. For example, if the I2C1 address is changed from 0x48 to 0x28, then pages before and after the change are represented in Table 5-2.
Page1 |
|
|
---|---|---|
Page 0 | 0x48 | 0x28 |
Page 1 | 0x49 | 0x29 |
Page 3 | 0x4B | 0x2B |
Page 4 | 0x12 | 0x12 |
For a change from SPI to I2C or I2C to SPI, the necessary GPIO must be available to support both interfaces. Provide a wait or delay so that the hardware is correctly configured to the desired serial interface before proceeding with the NVM instructions. See the device data sheet for an explanation of the I2C interface and SPI.
While the NVM is unlocked, the I2C2 physical interface is not used and all pages are accessed from I2C1 of the PMIC(SDA_I2C1, SCL_I2C1).