Search found 518 matches

by LeighM
Sat Feb 07, 2026 4:04 pm
Forum: Feature Requests
Topic: Power saving mode
Replies: 6
Views: 1164

Re: Power saving mode

This is the C icon code from the demo, it also compiles OK on 32F030, I don't have 030 hardware to test it, although it worked fine on 411 so should also work on 030 Hope it helps // Example to enter Stop Mode HAL_SuspendTick(); // Stop SysTick to prevent immediate wakeup HAL_PWR_EnterSTOPMode(PWR_L...
by LeighM
Thu Feb 05, 2026 4:32 pm
Forum: Feature Requests
Topic: Power saving mode
Replies: 6
Views: 1164

Re: Power saving mode

Here's a target demo ...
STM32F411BP_STOP_DEMO.fcfx
(9.99 KiB) Downloaded 18 times
Note, this won't simulate
by LeighM
Thu Jan 29, 2026 6:51 pm
Forum: General
Topic: Blackpill awakening
Replies: 7
Views: 850

Re: Blackpill awakening

As for waking up every 5 minutes, this should be possible with a timer interrupt. Specifically with TIM2 and TIM5 that have 32 bit auto-reload counters. However I'm struggling to discover how to change these from the 16 bit value limit, using parameters in the device FCD. Matrix, is it possible to i...
by LeighM
Thu Jan 29, 2026 4:55 pm
Forum: General
Topic: Blackpill awakening
Replies: 7
Views: 850

Re: Blackpill awakening

No, I don't think it does. But after a super search, OK it was a bit of AI :roll: I found this ... // Example to enter Sleep Mode HAL_SuspendTick(); // Stop SysTick to prevent immediate wakeup HAL_PWR_EnterSLEEPMode(PWR_MAINREGULATOR_ON, PWR_SLEEPENTRY_WFI); HAL_ResumeTick(); // Resume SysTick after...
by LeighM
Sun Jan 25, 2026 5:09 pm
Forum: Projects - Embedded
Topic: Compiler Error - ESP M5Stack Dial
Replies: 9
Views: 977

Re: Compiler Error - ESP M5Stack Dial

You have an error in macro Current_Meas
In the IF icon change

Code: Select all

Seconds = 0 & Flag_SECS = 1
to

Code: Select all

(Seconds = 0) && (Flag_SECS = 1)
The other errors in the Bitmap drawing component and the ADC CAL will need attention from Matrix
by LeighM
Sat Jan 17, 2026 6:25 pm
Forum: Bug Reports
Topic: RESOLVED: STM32F411 Black Pill - I2C Ch2 mapping
Replies: 2
Views: 501

Re: STM32F411 Black Pill - I2C Ch2 mapping

Looks like AF9 got missed, try this ...
32F411CE_BlackPill.fcdx
(51 KiB) Downloaded 42 times
by LeighM
Sat Jan 03, 2026 3:44 pm
Forum: General
Topic: FC11 compile error
Replies: 4
Views: 417

Re: FC11 compile error

Have a look at these posts ... https://www.flowcode.co.uk/forums/viewtopic.php?t=3467 https://www.flowcode.co.uk/forums/viewtopic.php?p=21794#p21794 Ben, can you update the CAL file please, and I suspect the file versions might be in error, my V11 compiles this test project OK, but my CAL file is V1...
by LeighM
Sat Jan 03, 2026 1:38 pm
Forum: General
Topic: FC11 compile error
Replies: 4
Views: 417

Re: FC11 compile error

Have you done a full database update?
I've a feeling this has been fixed,
But I'm not currently in near my PC to check
by LeighM
Sat Dec 27, 2025 5:26 pm
Forum: Projects - Embedded
Topic: SOLVED: Reading AS5600 registers with ARM using I2C Transactions
Replies: 7
Views: 1097

Re: Reading AS5600 registers with ARM using I2C Transactions

Just to add to Martin's note...
If that 0x8001 restart doesn't work on this device,
I2C restart is the same as stop/start in functionality, just a bit quicker.
So a write transaction of 1 byte with the register address, followed by a read one byte transaction should work equally well.
by LeighM
Mon Dec 22, 2025 10:51 am
Forum: General
Topic: Raspberry Pi program launcher
Replies: 6
Views: 689

Re: Raspberry Pi program launcher

Another possibility is using crontab @reboot (with a sleep)