STM32F407ZG Uart ( Software Mode)

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
Marko_2001
Posts: 10
Joined: Mon Nov 30, 2020 11:51 pm
Contact:

STM32F407ZG Uart ( Software Mode)

Post 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 3826 times
FC2.png
FC2.png (146.34 KiB) Viewed 3826 times
How can we fix this, please

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: STM32F407ZG Uart ( Software Mode)

Post by LeighM »

Could you post your project fcfx file?

Marko_2001
Posts: 10
Joined: Mon Nov 30, 2020 11:51 pm
Contact:

Re: STM32F407ZG Uart ( Software Mode)

Post by Marko_2001 »

Good morning, Thanks for your reply

Here it is Attached
Attachments
Flowcode1.fcfx
(8.03 KiB) Downloaded 175 times

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: STM32F407ZG Uart ( Software Mode)

Post by LeighM »

Could you please try the attached updated file,
to go into directory ...
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\STARM
Thanks
Attachments
STARM_CAL_UART.c
(19.28 KiB) Downloaded 173 times

Marko_2001
Posts: 10
Joined: Mon Nov 30, 2020 11:51 pm
Contact:

Re: STM32F407ZG Uart ( Software Mode)

Post by Marko_2001 »

Hi LeighM

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

User avatar
Alan_37
Posts: 179
Joined: Sun May 01, 2016 8:36 pm
Has thanked: 51 times
Been thanked: 54 times
Contact:

Re: STM32F407ZG Uart ( Software Mode)

Post 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?

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: STM32F407ZG Uart ( Software Mode)

Post 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.

Post Reply