SPRUIN7C March 2020 – March 2024 TMS320F280021 , TMS320F280021-Q1 , TMS320F280023 , TMS320F280023-Q1 , TMS320F280023C , TMS320F280025 , TMS320F280025-Q1 , TMS320F280025C , TMS320F280025C-Q1
FILE: clb_ex32_led_driver.c
For the detailed description of this example, please refer to: How to Implement Custom Serial Interfaces Using the Configurable Logic Block (CLB) Application Note (SPRAD62).
In this example two CLB tiles are used to communicate with an LP5891-Q1 LED driver. One CCSI bus is used to transmit data using the CCSI bus protocol, while a second tile is used to receive data from the CCSI bus. The C28x CPU communicates with the CLB logic through a hardware-abstraction layer (HAL). This example also utilizes a PWM to generate the required CCSI clocks, and a timer to generate periodic sync events to the LED driver.
This example is only available on C2000 MCU devices with CLB types 2 and up.
External Connections
CCSI Input Signal GPIO pin LED Driver CLB_SIN_1 GPIO10 SOUT
CCSI Output Signal GPIO pin LED Driver CLB_SOUT_1 GPIO11 SIN CLB_SCLK_1 GPIO01 SCLK