Page 1 of 1

STM32F030 Timer component

Posted: Fri Oct 23, 2020 3:33 pm
by dionyzoz
Hello,
I try o add Timer component to my program and do something on it.
When I put the Timer component and some macro (fo example Timer1::StartCounter()) i got problem during compilation.
I can't create a HEX file even the code is very simple. License it's a Professional version. Could you help or suggest something?
That will be great to receive some instructions.

Re: STM32F030 Timer component

Posted: Fri Oct 23, 2020 3:50 pm
by stefan.erni
Hi Dionyzoz

Trie this parameter

regards

Stefan
counter.png
counter.png (26.65 KiB) Viewed 5643 times

Re: STM32F030 Timer component

Posted: Fri Oct 23, 2020 5:16 pm
by dionyzoz
Hi Stefan,
I understand, but I'm afraid the reason is little different.
I have no any parameters to display and modify.
Your screen is from Flowcode 8 right?

Re: STM32F030 Timer component

Posted: Mon Oct 26, 2020 10:15 am
by stefan.erni
Hi Dionyzoz


Yes it is from FC8. And there is an another error. This second error is just with the timer from your STM chip and not with my PIC32MZ timer.

regards

Stefan

Re: STM32F030 Timer component

Posted: Mon Oct 26, 2020 10:34 am
by LeighM
Hi Dionyzoz
You need to use the STM32 Timer component ...
STM32TIMER.png
STM32TIMER.png (9.66 KiB) Viewed 5624 times

Re: STM32F030 Timer component

Posted: Mon Oct 26, 2020 4:31 pm
by dionyzoz
Hi LeighM,
Something is wrong with my Flowcode7
This option looks like this:

Re: STM32F030 Timer component

Posted: Mon Oct 26, 2020 4:38 pm
by dionyzoz
My chip packs are shown below. Should I reinstal it?

Re: STM32F030 Timer component

Posted: Mon Oct 26, 2020 4:48 pm
by LeighM
Ah, sorry, didn't spot you are using V7
I think this component was done for V8
Not sure if this is available in V7
I will have a look and check with Ben

Re: STM32F030 Timer component

Posted: Mon Oct 26, 2020 6:58 pm
by dionyzoz
Thanks so much. I will wait for information from You.

Re: STM32F030 Timer component

Posted: Tue Oct 27, 2020 11:06 am
by Benj
Hello,

I've exported the component in v7 for you. Let us know how you get on.

You will need to add it to your installation by copying to your components folder.
STM32Timer.fcpx
(4.82 KiB) Downloaded 197 times

Re: STM32F030 Timer component

Posted: Tue Oct 27, 2020 11:28 am
by dionyzoz
Hi Benji,
What can I say, I hink I have to send a bottle of something strong for that help.
Component added. All macros are active. HEX file created succesfully.
Thanks so much for support.
A lot of health for all Matrix team.