Page 1 of 1

WS2812 Build Error ( STM32F407ZG )

Posted: Thu Dec 10, 2020 8:51 pm
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 .

Re: WS2812 Build Error ( STM32F407ZG )

Posted: Fri Dec 11, 2020 12:13 pm
by BenR
Hello,

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

Re: WS2812 Build Error ( STM32F407ZG )

Posted: Fri Dec 11, 2020 2:56 pm
by Alan_37
Hi,

Thanks for your reply update done and now compiles Perfectly.

Re: WS2812 Build Error ( STM32F407ZG )

Posted: Sat Dec 12, 2020 1:57 pm
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

Re: WS2812 Build Error ( STM32F407ZG )

Posted: Sat Dec 12, 2020 4:32 pm
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

Re: WS2812 Build Error ( STM32F407ZG )

Posted: Sun Dec 13, 2020 5:42 am
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

Re: WS2812 Build Error ( STM32F407ZG )

Posted: Sun Dec 13, 2020 4:58 pm
by Alan_37
On V9 this seems to be fixed but I think on V7 & 8 still present

Re: WS2812 Build Error ( STM32F407ZG )

Posted: Mon Dec 14, 2020 2:15 pm
by BenR
I beleive should be fixed in v8 now. Do you need it for v7 also?