WS2812 Build Error ( STM32F407ZG )

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
Alan_37
Posts: 137
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 7:23 pm
Has thanked: 41 times
Been thanked: 19 times

WS2812 Build Error ( STM32F407ZG )

Post by Alan_37 »

Hi

Here is a Simple fcfx file I made just to show the bug, this compiles ok on V7 but not on V9 maybe we can fix this .
Attachments
Flowcode1.msg.txt
(84.57 KiB) Downloaded 172 times
Flowcode1.fcfx
(9.64 KiB) Downloaded 181 times

BenR
Matrix Staff
Posts: 1755
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 446 times
Been thanked: 606 times

Re: WS2812 Build Error ( STM32F407ZG )

Post by BenR »

Hello,

Thanks for letting us know, hopefully should be fixed for you now.

Alan_37
Posts: 137
Joined: Thu Dec 03, 2020 7:23 pm
Has thanked: 41 times
Been thanked: 19 times

Re: WS2812 Build Error ( STM32F407ZG )

Post by Alan_37 »

Hi,

Thanks for your reply update done and now compiles Perfectly.

Sundgau
Posts: 7
Joined: Sat Dec 12, 2020 5:37 am

Re: WS2812 Build Error ( STM32F407ZG )

Post by Sundgau »

Hello
I am happy to read that the compilation is done correctly but my question is: is the led lighting correctly?
As quoted in the FlowcodeV7 forum: https://www.matrixtsl.com/mmforums/view ... 76&t=22045
With an ECIO40 and an ECIO40P16, compilation is performed without warning.
With a 16F887A clocked at 19.6608MHz, the same warning reappears :
#warning WS2811 Timings are less than 10 instructions, timing may be incorrect at the current clock speed
^ (162) #warning: WS2811 Timings are less than 10 instructions, timing may be incorrect at the current clock speed (warning)
With these 3 targets, the high and low state times for the two logic states do not comply with the WS2812B protocol and the Led lights up in white.
Is it a problem of frequency of work?

Bruno

Alan_37
Posts: 137
Joined: Thu Dec 03, 2020 7:23 pm
Has thanked: 41 times
Been thanked: 19 times

Re: WS2812 Build Error ( STM32F407ZG )

Post by Alan_37 »

Hi , on V9 it is compiling and working ok , though I once notice that yes at first it lights up white then after the second refresh it starts to work correctly , could be that there are still bugs
Last edited by Alan_37 on Sun Dec 13, 2020 4:24 pm, edited 1 time in total.

Sundgau
Posts: 7
Joined: Sat Dec 12, 2020 5:37 am

Re: WS2812 Build Error ( STM32F407ZG )

Post by Sundgau »

Thank to you Alan,
Did you check the timing on the command output with multiple leds in cascade or a RGB LED strip? I am curious to know the result if you have the material ...
Bruno

Alan_37
Posts: 137
Joined: Thu Dec 03, 2020 7:23 pm
Has thanked: 41 times
Been thanked: 19 times

Re: WS2812 Build Error ( STM32F407ZG )

Post by Alan_37 »

On V9 this seems to be fixed but I think on V7 & 8 still present

BenR
Matrix Staff
Posts: 1755
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 446 times
Been thanked: 606 times

Re: WS2812 Build Error ( STM32F407ZG )

Post by BenR »

I beleive should be fixed in v8 now. Do you need it for v7 also?

Post Reply