flyandi/flipper_zero_rgb_led

App doesn't seem to be working

p0ns opened this issue · 2 comments

p0ns commented

I tried the app today and it doesn't seem to be working. I tested with a WS2812B led on GPIO pin 4.

After pressing up arrow, the bottom message stays BUSY

Log

10649029 [D][LED_LL] Initializing
10652299 [D][ViewDispatcher] View changed while key press 2000B028 -> 2000B900. Sending key: OK, type: Release, sequence: 00000148 to previous view port
10654972 [D][LED_LL] LED UPDATE
10654974 [D][LED_LL] LL_DMA_IsEnabledChannel = 1
10654977 [D][LED_LL] Led Update with buffer 384 18:18:18:18:18:18
10654979 [D][LED_LL] Led Update. Timer is 1
10658390 [D][LED_LL] LED UPDATE
10658392 [D][LED_LL] LL_DMA_IsEnabledChannel = 1
10658394 [D][LED_LL] Led Update but still transmitting
10658465 [I][SavedStruct] Loading "/int/.desktop.settings"
10658468 [D][BtBatterySvc] Updating battery level characteristic
10662432 [D][LED_LL] LED UPDATE
10662434 [D][LED_LL] LL_DMA_IsEnabledChannel = 1
10662436 [D][LED_LL] Led Update but still transmitting
10664841 [D][LED_LL] LED UPDATE
10664843 [D][LED_LL] LL_DMA_IsEnabledChannel = 1
10664845 [D][LED_LL] Led Update but still transmitting
10665466 [D][LED_LL] LED UPDATE
10665468 [D][LED_LL] LL_DMA_IsEnabledChannel = 1
10665470 [D][LED_LL] Led Update but still transmitting

It doesn't .. never got the DMA transfer to work properly. I had the code up to get someone to help me to get it working. No idea what the issue is but DMA1 TIMER1 never calls back even other apps implement similar patterns. There is another guy who did something similar and got it working however he didn't use callbacks .. just straight loops which is blocking.

It should work but I have no idea why it doesn't work.