SLVUCZ6B November 2024 – March 2026 TLC69627-Q1 , TLC69628-Q1 , TLC69629-Q1 , TLC69637-Q1 , TLC69638-Q1 , TLC69639-Q1
Figure 3-1 depicts the high level flow in the sample code. During the Setup MCU some inputs are coming from the file system_info.h. Depending on the IF_SEL macro, the MCU setups the SPI module or the UART module. When UART is selected, the default data rate 515625bps is chosen. When SPI is selected, the clock frequency for the SPI communication uses SPI_FREQ_IN_HZ macro. The system_info.h file is described in more in detail in Section 3.3 and Section 3.4.
When the LED driver registers are going to be written, most data comes from the LED_Reg_settings.h file. However, the number of cascaded devices (field CHIP_NUM in register DEVSET) is coming from the file system_info.h.
The flow diagram also shows the files frames.c and frames.h, which contain the frame used during the animation mode. The method how to generate the frame in the sample code is outside the scope of this document.