Page 1 of 1

STM32F407ZG Uart ( Software Mode)

Posted: Tue Dec 01, 2020 12:20 am
by Marko_2001
Hi,

Just started playing whit STM32, I need to have a UART in software mode but
it seems that there is a bug. I am running a very simple code just init the UART and send
a char (53) @ 19200 should translate in ASCII: 5 but the output from the chip
is very strange.

STM32 is running @ 16MHZ and it works fine in channel mode so it not a frequency problem.
FC1.png
FC1.png (70.2 KiB) Viewed 5438 times
FC2.png
FC2.png (146.34 KiB) Viewed 5438 times
How can we fix this, please

Re: STM32F407ZG Uart ( Software Mode)

Posted: Tue Dec 01, 2020 9:16 am
by LeighM
Could you post your project fcfx file?

Re: STM32F407ZG Uart ( Software Mode)

Posted: Tue Dec 01, 2020 9:52 am
by Marko_2001
Good morning, Thanks for your reply

Here it is Attached

Re: STM32F407ZG Uart ( Software Mode)

Posted: Tue Dec 01, 2020 12:58 pm
by LeighM
Could you please try the attached updated file,
to go into directory ...
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\STARM
Thanks

Re: STM32F407ZG Uart ( Software Mode)

Posted: Tue Dec 01, 2020 2:19 pm
by Marko_2001
Hi LeighM

Yes, I can confirm It works 100%! thanks very much for your help

Re: STM32F407ZG Uart ( Software Mode)

Posted: Tue Dec 01, 2020 2:26 pm
by Alan_37
hello LeighM ,

I can see that this bug is also present on V7.3, I was wondering
is Flowcode 7 still supported for this type of Bugs do we still get bug fixes?

cos I can see that the cumulative update tread in flowcode 7 is quite old
Is there a link we can access to download bug fixes?

Re: STM32F407ZG Uart ( Software Mode)

Posted: Tue Dec 01, 2020 5:17 pm
by Benj
Hello Alan,

I've added Leighs fix to the v7 update zip file now.

Going forward as we add new features and overhaul functionality it becomes harder and harder to apply backward compatible fixes. So initially we do it a lot but over time as less people are using the previous older versions we start to reduce the amount of fixes until it's just the specific v7 requests that get the backwards fixes.

Hope this helps.