Search found 451 matches

by LeighM
Sun Oct 13, 2024 10:43 am
Forum: General
Topic: Problem STM32 - 32F030C8.fcdx
Replies: 4
Views: 2110

Re: Problem STM32 - 32F030C8.fcdx

Try the attached updated file, goes into ...
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\ARM
by LeighM
Wed Sep 11, 2024 11:16 am
Forum: Bug Reports
Topic: SPI Master STM32f411
Replies: 17
Views: 15410

Re: SPI Master STM32f411

Hi,
I've run the SPI test program on an STM32F446 (same code family) and the SPI ran OK, in both hardware and software mode.
Hope that helps.
Leigh
by LeighM
Wed Sep 11, 2024 9:55 am
Forum: Bug Reports
Topic: SPI Master STM32f411
Replies: 17
Views: 15410

Re: SPI Master STM32f411

I don't (yet) see anything wrong with the generated C code.
It's certainly very odd if it doesn't even toggle the clock output in software mode.

I presume the B1 CS pin is toggling, to prove the loop is running?

Could you do a simple "LED flash test" loop on A5 (CLK), using an output icon?
by LeighM
Tue Sep 10, 2024 5:05 pm
Forum: Bug Reports
Topic: SPI Master STM32f411
Replies: 17
Views: 15410

Re: SPI Master STM32f411

Could you attach your STM32f411 SPI Master Flowcode program?
Or a sample that demonstrates the issue?
by LeighM
Sun Aug 18, 2024 10:43 am
Forum: Bug Reports
Topic: Missing TIMs & AIs for 32F303Nucleo32
Replies: 11
Views: 10981

Re: Missing TIMs & AIs for 32F303Nucleo32

Here's an (unofficial) STM32F303K8 fcd, if it helps
by LeighM
Fri Jun 28, 2024 1:54 pm
Forum: General
Topic: NTC thermistor component
Replies: 7
Views: 5875

Re: NTC thermistor component

For 0.1 resolution with 10 bit ADC you would need the ADC input voltage to swing between 0v and supply voltage.
The voltage at the potential divider of the thermistor and series resistor will not do this.
by LeighM
Wed Jun 05, 2024 7:44 pm
Forum: Bug Reports
Topic: "Timer" Component Makro Problem
Replies: 10
Views: 11154

Re: "Timer" Component Makro Problem

Hi
It looks like the Timer component might not be compatible with ESP32.
You might have more success using a Timer Interrupt instead.
e.g. use that to increment a counter at say 1mS intervals.

Also see this post ...
viewtopic.php?p=16064#p16064
by LeighM
Sat Apr 27, 2024 12:10 pm
Forum: Bug Reports
Topic: Timer interval and Timer - problem
Replies: 14
Views: 13007

Re: Timer interval and Timer - problem

You could do with exploring the Help -> Wiki -> Components search
Then ensure you have set the component properties.
For example, for the TimedInterval component you need to set a callback macro (that runs at the timed interval)
by LeighM
Fri Apr 26, 2024 4:43 pm
Forum: Bug Reports
Topic: Timer interval and Timer - problem
Replies: 14
Views: 13007

Re: Timer interval and Timer - problem

1) Help -> Library Updates
2) Add a Timer component macro to your project

timer.jpg
timer.jpg (38.53 KiB) Viewed 5568 times

Note: Timer component is not needed for simple Delay icon.
by LeighM
Fri Apr 26, 2024 4:25 pm
Forum: Projects - Embedded
Topic: PICO GP IO Internal weak Pull UP Down
Replies: 2
Views: 5231

Re: PICO GP IO Internal weak Pull UP Down

Try this C code

Code: Select all

gpio_pull_up(5);
It might need to be placed after a Switch Read macro, which will initialise the pin for input.