Page 1 of 1

Flowcode ARM for NUCLEO-F746ZG

Posted: Thu Mar 30, 2017 9:04 am
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

Re: Flowcode ARM for NUCLEO-F746ZG

Posted: Thu Mar 30, 2017 10:42 am
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

Re: Flowcode ARM for NUCLEO-F746ZG

Posted: Thu Mar 30, 2017 1:05 pm
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

Re: Flowcode ARM for NUCLEO-F746ZG

Posted: Tue Apr 04, 2017 8:19 am
by LeighM
Hi
Try updating 32F746Nucleo144.fcdx in your FCD/ARM directory with this one attached
Thanks
Leigh