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.

TLC5971: TLC5971

Part Number: TLC5971

Hi everyone,

I'm trying to program a TLC5971, with the SPI1 of STM32f405. Unfortunatly the PWM of the TLC5971 is not working.

I have checked the inpunt of the TLC5971, Vcc= Vreg=3.3V, GND is also good. And the data and clock of the spi arrives ok to the TLC5971. It is even propagated to SCKO  and SDTO. To be honest, the signal SCKI is perfect on the input, but SCKO it doesn't look good at all. Not in good shape. It's something secondary, I don't need it . Just for info.

Right now the circuit scheme is the same as application circuit for VCC=Vreg.

The code of programming is the following : 

uint8_t PWM_buffer[28] = {0x94, 0x5F, 0x0F, 0xFF, 0xFF,0xFF, 0x03, 0x03,0x03,0x03,0xFF, 0xFF,0xFF,0xFF, 0xFF, 0xFF, 0xFF,
                  0xFF,0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,0x5,0x5, 0x5, 0x5}; /// Commands to program TLC5971 + data of colors for an example
    HAL_SPI_Transmit(&hspi1, PWM_buffer,28,1); /// I send  all the commands + data to the TLC5971
    HAL_GPIO_WritePin(MCU_SCKI_GPIO_Port,MCU_SCKI_Pin,GPIO_PIN_SET); /// I set the SCKI High so TLC5971 creates the latch and register.
 
while(HAL_GetTick()<150){}; /// Delay
SPI : ( slow baud rate; 328.125Kbits/s; CPOL Polarity Low; Phase CPHA: 1 Edge)
Thank you in advance
ip
Thank you very much for your time.