I am using TPS65311-Q1 with TMS570LS1224PGE device.
Can I please get a PMIC SPI code example for TMS570/ any MCU device?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I am using TPS65311-Q1 with TMS570LS1224PGE device.
Can I please get a PMIC SPI code example for TMS570/ any MCU device?
Hello,
We do not have SPI code example for this device. But datasheet provides all the information necessary for implementing the SPI code.
Regards,
Murthy
When I want to read data from SPI_SCK_FAIL register what bits do i need to send in the place of data bits?
As it have been said that 16bits (CMD_ID,parity bit and data bit) have to been for successful transmission.
Also can you tell me how to compute the parity bit?
SPI_SCK_FAILregister address (CMD_ID) is 0x03 and you need to read this address. Data write to this register is "d.c" (dont care).
It is odd parity which is calculated using bit : R/W, CMD_ID[5:0], DATA[7:0].
Below statement is available in the datasheet.
"1 bit parity (odd) (parity is built over all bits including: R/W, CMD_ID[5:0], DATA[7:0])"
Regards,
Murthy