Search found 3 matches

by cmirabile
Wed Sep 22, 2021 6:22 pm
Forum: STM32 Support
Topic: WS2812 driver with STM32H7, DMA and PWM
Replies: 8
Views: 10921

Re: WS2812 driver with STM32H7, DMA and PWM

Looks like the fault was at the WS2812B LED. The driver I used was suitable for revision v3 and prior; the manufacturer changed in revision v4 and later the needed reset time between two frames from 50us to 280us.

Adding the flush function worked because I called it every 1ms; now I've added a few ...
by cmirabile
Tue Feb 13, 2018 6:15 pm
Forum: Bug Reports
Topic: CAN Driver empty frames
Replies: 1
Views: 2313

Re: CAN Driver empty frames

Solved!
The problem was that I only started the CAN2 driver... starting also the CAN1 make me able to read the CAN RxFrame content.
by cmirabile
Tue Feb 13, 2018 5:55 pm
Forum: Bug Reports
Topic: CAN Driver empty frames
Replies: 1
Views: 2313

CAN Driver empty frames

Hi,
i'm using ChibiOS 17.6.0 to read CAN messages. I'm using an STM32F427VGT_100 device.
Implementing the code as in the STM32F4xx-CAN example project i can correctly catch every Frame receive event:

while (true) {
if (chEvtWaitAnyTimeout(ALL_EVENTS, MS2ST(100)) == 0)
continue;
while ...