Hi! I've been trying to setup a simple example on controlling a LED (WS2812) on the STM32C071RB chip with PWM + DMA. Most things work! However, it seems that the callback dma_callback is never called. Any tips on what to look for to make it work? Here is the main.c file for the example code: #includ...
Alright, I just double checked the numbers, and it seems to be alright. But, I just discovered something I didn't think would have affected the example code. If I commented out the following lines pwmEnablePeriodicNotification(APP_PWM_DRIVER); pwmEnableChannelNotification(APP_PWM_DRIVER, APP_PWM_LIN...
Hi! I've been experimenting this week with the PWM driver for both a Nucleo-C071RB board and a Nucleo-F401RE board. I seem not to be able to reach periods of 1.25us (trying to build a simple ws2812 example). ChibiOS: stable_21.11.x branch Boards: NUCLEO-C071RB (48MHz clock) and NUCLEO-F401RE (84MHz ...
Hmm, alright! I'm gonna have to get some progress working on my project. However, I will mark this as something I can investigate in September. To be noted, I compared quickly TIM2 for the STM32C0xx and STM32G0x1 reference manuals, and saw that in os/common/ext/ST/STM32C0xx/stm32c071xx.h, these thin...
Hi! Posting this as noted from post https://forum.chibios.org/viewtopic.php?f=16&p=43440#p43440 Update of STM32C0xx port files, implementing missing code for USB (and CRC) related code, as well a change in the mcuconf.h file of the RT-STM32C071RB-NUCLEO64 demo (STM32_USB_USB1_LP_IRQ_PRIORITY). T...