Search found 22 matches

by zumpitu
Tue Sep 08, 2020 7:32 pm
Forum: Flowcode V8
Topic: Access to the hardware features in STM32 timers
Replies: 4
Views: 1857

Re: Access to the hardware features in STM32 timers

Hi LeighM

Thank you very much ! I will be busy on the next few days, as soon as I can I will check if it works, for sure I can compile it.

I really appreciate your help

Best

Sacha
by zumpitu
Sat Sep 05, 2020 3:06 pm
Forum: Flowcode V8
Topic: Access to the hardware features in STM32 timers
Replies: 4
Views: 1857

Re: Access to the hardware features in STM32 timers

I LeighM Thank you for your reply ! So this is the Example ... I want to reed a value from 2 Encoders , store the 32 Bit Value and print it. I'm Using a Nucleo 64 F446RE, The Encoders will be the heds-5605 and the H9740 This board like I believe every F4 series have 2 32 Bit Timer, the TIM2 and TIM5...
by zumpitu
Fri Sep 04, 2020 12:51 pm
Forum: Flowcode V8
Topic: Access to the hardware features in STM32 timers
Replies: 4
Views: 1857

Access to the hardware features in STM32 timers

Hi All :D STM32 Timers have a lot of useful hardware features that are not directly accessible on Flowocode, like Hal-sensor and encoder mode. I know is possible to implement o create a new component, starting from the supplementary code as describe on this article https://www.matrixtsl.com/blog/146...
by zumpitu
Tue Jul 24, 2018 6:43 pm
Forum: Flowcode V8
Topic: PWM display for 16 bit value
Replies: 6
Views: 4079

Re: PWM display for 16 bit value

Thank you this is really great !
by zumpitu
Tue Jul 24, 2018 6:12 pm
Forum: Flowcode V8
Topic: QuadEncoder Component questions
Replies: 4
Views: 2918

Re: QuadEncoder Component questions

Hi guys Thank you for your support. UmMm.. so In this sense I need a 32 Bit encoder at least for one of my 2 encoder. Actually the first reason why I chose the STMF4 platform is because it have is own hardware quadrature code feature that is exactly what I need. Can you give me any advice or documen...
by zumpitu
Sat Jul 21, 2018 1:51 pm
Forum: Flowcode V8
Topic: PWM display for 16 bit value
Replies: 6
Views: 4079

Re: PWM display for 16 bit value

Hi LeighM


Then the function is working properly but is just the graphic that is not correct, Thank you for the info !


Nice to see that you are looking to fix it
by zumpitu
Sat Jul 21, 2018 10:40 am
Forum: Flowcode V8
Topic: QuadEncoder Component questions
Replies: 4
Views: 2918

QuadEncoder Component questions

Hi All ! I have some question about the QuadEncoder Component macro. I'm using a Nucleo 64 board and I need to implement on my project 2 quadrature encoder and 1 (3) hall sensor (for BLDC motor) . I know that the STMF4 Chip have implemented this feature on the timers , so is possible to have 2 32Bit...
by zumpitu
Sun Jul 08, 2018 9:41 am
Forum: Flowcode V8
Topic: PWM display for 16 bit value
Replies: 6
Views: 4079

Re: PWM display for 16 bit value

Hi medelec35 Ok I see, thank you , and actually it work on that way, but is still think is strange because my board ( Nucleo F446RE ) have all 16 bit timer and 2 32bit with same resolution , so according the wiki SetDutyCycle10Bit PIC/AVR - Sets the full scale PWM duty cycle based on the current per...
by zumpitu
Sat Jul 07, 2018 8:25 pm
Forum: Flowcode V8
Topic: PWM display for 16 bit value
Replies: 6
Views: 4079

PWM display for 16 bit value

i All I have set up a PWM with a 16bit value duty cycle with a Period overflow of 3200 .... when I start the simulation the duty cycle diagram have a strange behaviour, is working but de value is smaller that what should be. I connected the board with a motor and looks is working fine , I do not und...
by zumpitu
Sat Jul 07, 2018 1:46 pm
Forum: General Programming
Topic: Supporting the STM32F103 ?
Replies: 6
Views: 5005

Re: Supporting the STM32F103 ?

I'm also very interested to that kind of board, I was actually checking if Flowcode will support on the future the F0 and I found this topic.

We have also the Nucleo 32 that is like 2 time the price, but is an F3 and have 72 Mhz, still a good choice
by zumpitu
Sat Jul 07, 2018 1:22 pm
Forum: Bug Reports
Topic: Syntax error on setting variable value
Replies: 1
Views: 1601

Syntax error on setting variable value

Hi All I found a very minor bug when setting variable value in an array. For example if I type inside the "Calculation Icon "this value Sin_C [9] = 104 Sin_C [10] = 087 Sin_C [11] = 070 Sin_C [12] = 053 Sin_C [13] = 035 Sin_C [14] = 018 Sin_C [15] = 000 Sin_C [16] = -018 Sin_C [17] = -035 I get Synt...
by zumpitu
Thu Jul 05, 2018 11:24 pm
Forum: Flowcode V8
Topic: stm32comp.bat missing ?[Solved]
Replies: 7
Views: 3664

Re: stm32comp.bat missing ?

Ok I solved the error regarding the ST-link file.... THe problem was that I setup a different chip from the one on my board after changing to the correct Nucleo 64 it worked The reason why I used the other chip is that my Nucleo 64 STM32F446 is not fully supported ( bit sad about :( ) and the chip d...
by zumpitu
Thu Jul 05, 2018 9:59 pm
Forum: Flowcode V8
Topic: stm32comp.bat missing ?[Solved]
Replies: 7
Views: 3664

Re: stm32comp.bat missing ?

thank you for your advice I find complicate to find the right syntax, I used "AND" because on the function menu you find AND instead && can you explain why I can not use "Sin_A[A_array_index] >= 0" on the if function ? somehow on the simulation looks it work. I also would like to have a way to read ...
by zumpitu
Thu Jul 05, 2018 8:33 pm
Forum: Flowcode V8
Topic: stm32comp.bat missing ?[Solved]
Replies: 7
Views: 3664

Re: stm32comp.bat missing ?

Hi medelec35 ! Thank you for your reply ! actually the starm folder is completely missing , and I installed the compiler like 20 time, in different place and different computer.. and is always like this :?: :?: UPDATE ! ! ! OMG OMG .... I just realized that I installed the wrong compiler , this is w...
by zumpitu
Thu Jul 05, 2018 7:12 pm
Forum: Flowcode V8
Topic: stm32comp.bat missing ?[Solved]
Replies: 7
Views: 3664

stm32comp.bat missing ?[Solved]

Hi All I'm sorry to write another topic regarding the stm32comp.bat file path I know I can find a lot of topic regarding this , but I tried several ways and and I'm not going anywhere On my laptop I have no antivirus, the firewall is completely disable, and also the UAC. So I tried to change the reg...
by zumpitu
Thu Jul 05, 2018 6:24 pm
Forum: Flowcode V8
Topic: Create static and variable Arrays
Replies: 5
Views: 4975

Re: Create static and variable Arrays

Thank you very much ! I will definitely have a look at that function, right now i'm struggling with the "classic" compiler problem
by zumpitu
Thu Jul 05, 2018 1:55 pm
Forum: Flowcode V8
Topic: Create static and variable Arrays
Replies: 5
Views: 4975

Re: Create static and variable Arrays

Ok, Just a small update (if anyone is interested ), I made a small excel sheet that will create for me all the code to copy inside the "calculation icon" to assign value at the array, so I do not have to manually wright hundreds of line :D I'm sure 100 % that is possible to do also in another way in...
by zumpitu
Wed Jul 04, 2018 11:14 pm
Forum: Flowcode V8
Topic: Create static and variable Arrays
Replies: 5
Views: 4975

Re: Create static and variable Arrays

Hi QMESAR Thank you very much for your help ,it worked, but how I can write all in once ? I do not want to look lazy but on my final program I need an array of 72 value :P Anyway I'm very used to work with complex software , I work in the automotive industry as a 3D designer for a long time. I think...
by zumpitu
Wed Jul 04, 2018 7:02 pm
Forum: Flowcode V8
Topic: Create static and variable Arrays
Replies: 5
Views: 4975

Create static and variable Arrays

Hi All !! I just spent 2 hours try to make an array like this ... // static float O_O [3] ={1.0, 2.0, 3.0} ; and I'm still not able to do make it workng :( No matter if I try to make a constant or a variable All the time I try to make an array and insert the value I have a "syntax" error .. Ok, but ...
by zumpitu
Wed Jul 04, 2018 10:14 am
Forum: Flowcode V8
Topic: Presentation and some consideration on Pin problems
Replies: 5
Views: 2818

Re: Presentation and some consideration on Pin problems

ho I see, sorry for the mistake. I write a small easy test code in mbed that work, I will try to replicate in flowcode, I hope to have success so I can go on with flowcode. I have also another code in mbed that activate "quadrature encoder" encoder hardware reading feature, is it possible to do the ...
by zumpitu
Tue Jul 03, 2018 6:51 pm
Forum: Flowcode V8
Topic: Presentation and some consideration on Pin problems
Replies: 5
Views: 2818

Re: Presentation and some consideration on Pin problems

Hi LeighM , Thank you for the reply I will try want you suggest , I see that the 32F446ZE is the version of the chip used on the Nucleo 144. I checked on CubeMX and looks they have the same Pinout so probably it will work. Is it possible to import the setting from CubeMX ? This will help to configur...
by zumpitu
Tue Jul 03, 2018 1:56 pm
Forum: Flowcode V8
Topic: Presentation and some consideration on Pin problems
Replies: 5
Views: 2818

Presentation and some consideration on Pin problems

Hi All I'm Sacha and this is my first post on this forum, As 3D designer and Cnc enthusiast I want to create some projects with a Nucleo 64 Board, on the specific a 3 phase motor controller, but ideally also a lot more. I found out Flowcode and I was absolutely enthusiastic about it, to me feel very...