STM32F030 Timer component

An area to discuss ARM specific problems and examples

Moderator: Benj

Post Reply
dionyzoz
Posts: 20
Joined: Mon Jan 29, 2018 5:44 pm
Has thanked: 1 time
Been thanked: 5 times
Contact:

STM32F030 Timer component

Post 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.
Attachments
Timer STM32F030RC.fcfx
(9.64 KiB) Downloaded 177 times

stefan.erni
Valued Contributor
Valued Contributor
Posts: 654
Joined: Fri Aug 19, 2016 2:09 pm
Location: switzerland
Has thanked: 182 times
Been thanked: 179 times
Contact:

Re: STM32F030 Timer component

Post by stefan.erni »

Hi Dionyzoz

Trie this parameter

regards

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

dionyzoz
Posts: 20
Joined: Mon Jan 29, 2018 5:44 pm
Has thanked: 1 time
Been thanked: 5 times
Contact:

Re: STM32F030 Timer component

Post 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?
Attachments
Timer.jpg
Timer.jpg (28.39 KiB) Viewed 5221 times

stefan.erni
Valued Contributor
Valued Contributor
Posts: 654
Joined: Fri Aug 19, 2016 2:09 pm
Location: switzerland
Has thanked: 182 times
Been thanked: 179 times
Contact:

Re: STM32F030 Timer component

Post 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

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: STM32F030 Timer component

Post by LeighM »

Hi Dionyzoz
You need to use the STM32 Timer component ...
STM32TIMER.png
STM32TIMER.png (9.66 KiB) Viewed 5205 times

dionyzoz
Posts: 20
Joined: Mon Jan 29, 2018 5:44 pm
Has thanked: 1 time
Been thanked: 5 times
Contact:

Re: STM32F030 Timer component

Post by dionyzoz »

Hi LeighM,
Something is wrong with my Flowcode7
This option looks like this:
Attachments
Timer.jpg
Timer.jpg (17.09 KiB) Viewed 5195 times

dionyzoz
Posts: 20
Joined: Mon Jan 29, 2018 5:44 pm
Has thanked: 1 time
Been thanked: 5 times
Contact:

Re: STM32F030 Timer component

Post by dionyzoz »

My chip packs are shown below. Should I reinstal it?
Attachments
packs.jpg
packs.jpg (28.48 KiB) Viewed 5194 times
Last edited by dionyzoz on Mon Oct 26, 2020 6:57 pm, edited 1 time in total.

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: STM32F030 Timer component

Post 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

dionyzoz
Posts: 20
Joined: Mon Jan 29, 2018 5:44 pm
Has thanked: 1 time
Been thanked: 5 times
Contact:

Re: STM32F030 Timer component

Post by dionyzoz »

Thanks so much. I will wait for information from You.

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: STM32F030 Timer component

Post 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 186 times

dionyzoz
Posts: 20
Joined: Mon Jan 29, 2018 5:44 pm
Has thanked: 1 time
Been thanked: 5 times
Contact:

Re: STM32F030 Timer component

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

Post Reply