cancel
Showing results for 
Search instead for 
Did you mean: 

control SK9822 2020 LED's via SPI using Registers

Lixx
Associate III

Hi

I need to control some SK9822 2020 RGB LED's.

I figured out that with the information on this website I can control them over SPI in transmitt only mode.

The Problem I have now is, that I need to do it using Registers and can't use CubeMX for setting up SPI.

I have seen several tutorials like this one explaining how to set up SPI using Registers, but wanted to ask here for a specific solution for these SK9822 LED's.

I hope someone knows the SK9822 LED's / have done somthing similar or at least can explain how I'd set up SPI in Transmitt only mode.

HW used

STM32F777

  • SPI1 @30MHz

SK9822 2020 LED's

Thanks for the answers in advance!

3 REPLIES 3

This


_legacyfs_online_stmicro_images_0693W00000bjmhfQAA.png 

and the maximum frequency (baudrate) are the only specifics to be set up in the STM32 SPI.

JW

Hi

Thanks for the answer!

What's with the other parameters of SPI?

How do I send the correct data?

How do I set up the data sending process so that it's correct for these specific RGB LED's?