2024-01-26 09:40 AM
Hello Everyone, I'm driving the WS2812 RGB-LED using TIM16 CH1.
I have a very similar behavior as in this_post . The RGB works well just until MX_LoRaWAN_Process(void) then it doesn't work. I tried his solution but it didn't work(although I suspect the SYSTICK is not working).
The Waveform looks like this:
The solution in the post(using the following lines) didn't work for me:
/* Wake up from STOP2 on button press */ SystemClock_Config(); HAL_ResumeTick(); MX_TIM16_Init();
I also printed out the content of the LED_DATA_ARRAY(which contains the color data) and it seems fine.
The Mode is STOP-Mode2. What would be the problem here?
Thank you
Amir
2024-03-04 10:27 PM
Hello @AElgh
Are you disabling the Timer clock before entering the STOP Mode. If so, try to keep it enabled.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.