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.

TPS53679: What's the detail format of .CSV file exported by Texas Instruments Fusion Digital Power Designer v7.0.25

Part Number: TPS53679

Hello,

      I want to do a tool to download config data into NVM memory of  TPS53679.

      Refer to Document  SLUA888,I got that I should follow the .CSV file to do operations to download data into NVM.

     So I should parse the .CSV file to get valid data.

    Is there any information  to describe the  format of .CSV file?

    1)There is one record below ,which is got from .csv file.E2 is the PEC sum of this record.How to calcute this PEC sum?

 WriteByte,0x77,0x00,0x00E2

    2)There is another record below.The data part is 1410020030F5.When I send it to device,should I send 14 first or F5 first?What is the exact byte sequence?

BlockWrite,0x77,0xB0,0x061410020030F5C1 

    3)There is a  third record below.

WriteWord,0x77,0x21,0x790097,The data part is 7900.When I send it to device,should I send 79 first or 00 first?

    4)There is a  fourth record below.    how to calcute this sum("07AC0D1D  ")?

 BlockRead,0x77,0x9E,0x0407AC0D1D      

   Thanks.

  • Hello Xin Chen,  Answers to your questions:

    1- The PEC byte is a standard CRC8 calculation on all of the bytes in a transaction.  The CRC polynomial is  C(x) = x^8 + x^2 + x^1 + 1 or 0x07. This is given in the SMBus specification

    There is some good reading material on CRC8 calculation online (outside ti.com) here

    The data bytes used for PEC calculation are the all bytes in the transaction, in the order they are sent: in this example, that would be [0xEE, 0x00, 0x00]. Note EE is the 7 bit address 0x77 + 0 (0b11101110) for Write transaction. 

    Do note, it is possible to turn off the PEC bytes (at the expense of not using PEC) within the Fusion software. The device itself will ignore PEC bytes if no clock pulses are supplied for a PEC byte. Said another way, the TPS53679 will only check agains the PEC byte if it receives a PEC byte. Otherwise it will be ignored. 

    2- BlockWrite,0x77,0xB0,0x061410020030F5C1

    In order the bytes should be:

    0xEE (7 it Address+0 for Write)

    0xB0 (Cmd Address for USER_DATA_00)

    0x06 (command block size)

    0x14 (data byte0)

    0x10 (data byte1)

    0x02 (data byte2)

    0x00 (data byte3)

    0x30 (data byte4)

    0xF5 (data byte5)

    0xC1 (PEC byte)

    3- According to the SMBus specification, all transactions are sent in ascending order: <lowest order><...><highest order>. The byte order to send over the bus is exactly as shown in the CSV file

    WriteWord,0x77,0x21,0x790097 = [0xEE, 0x21, 0x79, 0x00, 0x97]

    4- The MFR_SERIAL is calculated by the device itself based on the value of all NVM stored bits (these are in the USER_DATA_00-12 and VOUT_MAX commands). The algorithm is non-standard, and TI does not publish it. 

  • Hello,Matt,

          It is very nice.I get it now.

          Thank you very much.

    Best regards~

    Xin Chen