Hello everybody!
It's my first question and I'm new at mcu programming. I hope for your understanding!
I have a task:
count seconds using a counter and display them on a LED matrix (I attached the code only for initialization and places with the counter and its callback function) at the moment I want to use the following logic:
the counter overflows, the callback function is called, a variable is incremented in it, which, when counting the seconds passed, is multiplied by 512 (since the counter is 24 bits, and the frequency is 32768 Hz) and added to the time that is currently saturated
But now it doesn't work. i can't see printk from counter_callback in rtt viewer
Another code works. Work queue works. Seconds that counted in counter less than 512 I can display