Flowcode ARM for NUCLEO-F746ZG

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

Moderator: Benj

Post Reply
PicoPuls
Posts: 111
Joined: Wed Mar 02, 2016 11:26 am
Has thanked: 43 times
Been thanked: 22 times

Flowcode ARM for NUCLEO-F746ZG

Post by PicoPuls »

It seems that last version of Flowcode 7 supports NUCLEO-F746ZG very nicely.
The STM32F746ZGT6 chip in LQFP144 has lots of power:
8 UARTs and 14 timers and 24 channel AD and 320k SRAM at 216 MHz

I would need 1 UART over USB to PC
and two timers,
A crankshaft gives a reset pulse for each revolution
One timer shall count time after reset with 10 us resolution
An other timer shall count Incremental Encoder Pulses to give crankshaft angle

Additionaly 8 A/D are needed that measure one revolution at high speed
and transfers all the measurement data over UART during the next several revolutions

I would be very grateful to have a hint how to approach is,
or to know if it is possible at all within the present flowcode7 capacity.

Are there any examples how to configure tímers and uart
or can the STM32CUBE be used ?

If nothing of this is possible, maybe the processor is fast enough to make all these things in software.
The crankshaft angle for example , could be done with FlowCode Quadrature component.
I just don't have the overview yet to choose the best path

Best regards
BO

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

Re: Flowcode ARM for NUCLEO-F746ZG

Post by LeighM »

Hi,

That sounds like it should be do-able.
Interrupts can be setup to interrupt on a port pin change, which would be ideal for your crankshaft pulses (angle and reset).
Also timers can be setup.
Not sure from your text what you need to do with the ADCs and how fast they need to sample.
For the Nucleo boards, much of the setup, clocks etc, is done for you in Flowcode.
I suggest you run Flowcode and have a play with all the component settings, such as the interrupts and UART.

Leigh

PicoPuls
Posts: 111
Joined: Wed Mar 02, 2016 11:26 am
Has thanked: 43 times
Been thanked: 22 times

Re: Flowcode ARM for NUCLEO-F746ZG

Post by PicoPuls »

That's good news

As a test I compile to Chip an empty loop
It is an issue that it doesn't find the programmer,

I also used the ST-link utility, just to see that NUCLEO-F746ZG is connected OK
This is probably a minor problem - what can I do ?

Best regards
BO
Attachments
Flowcode-NUCLEO-F746ZG.jpg
Flowcode-NUCLEO-F746ZG.jpg (176.91 KiB) Viewed 3511 times

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

Re: Flowcode ARM for NUCLEO-F746ZG

Post by LeighM »

Hi
Try updating 32F746Nucleo144.fcdx in your FCD/ARM directory with this one attached
Thanks
Leigh
Attachments
32F746Nucleo144.fcdx
(41.54 KiB) Downloaded 253 times

Post Reply