Other Parts Discussed in Thread: TLC69628-Q1
Tool/software:
Hi Team,
I am using Asynchrounous SPI communication for only one TLC69628-Q1 48 channel LED driver IC.I am facing the issue like not able to read the DEVSET register values after writing the values into it.
Below procedures are followed...
Precondition:
default CRC used is: 0x0 = CCITT-FALSE
1.Power ON
2.Writing CHIP index as 1 by using command in an array "{0x5500,0x0001,0x0001,0xD176} converted into uint8 format and transmitted into SPI ///*Head_Word, Length, Data, CRC */
3.Response is received in SEROUT as "
Is that first 2 bytes as 0x00 is expected during the read? .
3.Writing DEVSET Register to write the CHIP number as 1,BRI_CTRL = 0x01 and CHIP EN - 1 by using command "{0x5540,0x0003,0x0201,0x0201,0x0091,0x2A4F} ///*Head Word, Length, Sub_HeadWord_0,Sub_HeadWord_1,CRC */
4.Response in SEROUT for DEVSET write as
"
5.READ REGISTER command as follows... starting Register address is 1 and END register is 1 from Chip number 1:{0x5580,0x0003,0x0201,0x0201,0xFFFF,0x44B3} //reading DEVSET
After sending above command, once again i am sending the same command to update the register value in the dummy(0xFF,0xFF) data based on below image
My understanding is:
to get the register value of CHIP 1, need to send the read command twice, so that register values from chip 1 will get reflected in the dummy data of 2nd seq
But the dummy data is not reflected with register values(0x00,0x91)
Please correct the seq if i am wrong.