SDAA279 March   2026 TPLD1202 , TPLD1202-Q1 , TPLD2001 , TPLD2001-Q1

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Programming Flow Chart
  6. 3Hardware Requirements and Selectable I2C/SPI Interface
  7. 4Temporary Configuration Procedure
  8. 5Permanent Programming Procedure
  9. 6Summary
  10. 7References

Temporary Configuration Procedure

This section will outline the configuration procedure. The following examples uses TI USB2ANY and the TPLD2001. This procedure can be replicated using any I2C or SPI host/controller and any TPLD that supports in-line programming.

Step 1: Start or re-start the device with the desired serial communications protocol, then read the DEVICE_ID from registers 0x000 and 0x001 to confirm that the communication with the device has been established.

 Step 1:
                        I2CFigure 4-1 Step 1: I2C
 Step 1: SPIFigure 4-2 Step 1: SPI

Step 2: Enter configuration mode.

  • For SPI, send the following four frames with at least 200μs between frames: 0x9000B9, 0x90003E, 0x9000AF, 0x900058.
  • For I2C, use four write transactions to send the following with at least 500μs between transactions:
    • Transaction 1: BYTE0 = ADDR, BYTE1 = 0x01, BYTE2 = 0xB9
    • Transaction 2: BYTE0 = ADDR, BYTE1 = 0x01, BYTE2 = 0x3E
    • Transaction 3: BYTE0 = ADDR, BYTE1 = 0x01, BYTE2 = 0xAF
    • Transaction 4: BYTE0 = ADDR, BYTE1 = 0x01, BYTE2 = 0x58
 Step 2:
                        I2CFigure 4-3 Step 2: I2C
 Step 2: SPIFigure 4-4 Step 2: SPI

Step 3: After the final frame is sent, wait 1ms.

Step 4: Make sure the configuration mode has been entered correctly by reading 0x10 from register 0x400.

 Step 4:
                        I2CFigure 4-5 Step 4: I2C
 Step 4: SPIFigure 4-6 Step 4: SPI

Step 5: Put the device is reset mode by writing 0x02 to register 0x400.

 Step 5:
                        I2CFigure 4-7 Step 5: I2C
 Step 5: SPIFigure 4-8 Step 5: SPI

Step 6: Send configuration bits to 0x200 - 0x3FF.

Step 7: If desired, use read commands to verify the correct data was written to the device.

Step 8: Then close the configuration by sending the following:

  • For SPI, send the following frame: 0x90004B.
  • For I2C, send the following write transaction: BYTE0 = ADDR, BYTE1 = 0x01, BYTE2 = 0x4B.

 Step 8:
                        I2CFigure 4-9 Step 8: I2C
 Step 8: SPIFigure 4-10 Step 8: SPI

Step 9: Write 0x00 to register 0x400 for the configuration to take effect and exit reset mode.

 Step 9:
                        I2CFigure 4-11 Step 9: I2C
 Step 9: SPIFigure 4-12 Step 9: SPI

Step 10: The device is now temporarily configured. This configuration can be cleared by power cycling the device.