ZHCSJM7 April 2019 BQ79606A-Q1
PRODUCTION DATA.
In the following example, an 8-bit write to the SPI slave of 0x3B is done. The slave has an active-low chip select with a (CPOL, CPHA) requirement of (0,0).
Transaction | Register | Data | Comments |
---|---|---|---|
Write | SPI_TX | 0x3B | Could be written as 1st or 2nd transaction |
Write | SPI_CFG | 0x08 | SS low (start transaction), CPOL and CPHA = 0, SPI enabled, 8-bit transaction |
Write | SPI_EXE | 0x01 | Execute write (0X3B sent out the MOSI output) |
Write | SPI_CFG | 0x18 | SS high (stops transaction) |
In the following example, an 12-bit write to the SPI slave of 0x73B is done. The slave has an active-low chip select with a (CPOL, CPHA) requirement of (0,0).
Transaction | Register | Data | Comments |
---|---|---|---|
Write | SPI_TX | 0x73 | Could be written as 1st or 2nd transaction |
Write | SPI_CFG | 0x08 | SS low (start transaction), CPOL and CPHA = 0, SPI enabled, 8-bit transaction |
Write | SPI_EXE | 0x01 | Execute Write (0x73 sent out the MOSI output) |
Write | SPI_TX | 0x0B | Update lower bits of SPI_TX with the 4-bits |
Write | SPI_CFG | 0x0C | SS low (start transaction), CPOL and CPHA = 0, SPI enabled, 4-bit transaction |
Write | SPI_EXE | 0x01 | Execute Write (0xB sent out the MOSI output) |
Write | SPI_CFG | 0x18 | SS high, stops transaction |