Search found 516 matches

by LeighM
Thu Jan 29, 2026 6:51 pm
Forum: General
Topic: Blackpill awakening
Replies: 7
Views: 100

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: 100

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: 432

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: 248

Re: STM32F411 Black Pill - I2C Ch2 mapping

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

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: 252

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: 617

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: 521

Re: Raspberry Pi program launcher

Another possibility is using crontab @reboot (with a sleep)
by LeighM
Sun Dec 14, 2025 6:24 pm
Forum: Bug Reports
Topic: cirular buffer & blackpill
Replies: 2
Views: 378

Re: cirular buffer & blackpill

Hi, If you use the RX interrupt, then you should only process one received character within the called macro, putting it into a circular buffer is the best approach. Then in your main macro use the circular buffer commands to determine when you have received a string and process it. (You can't mix i...
by LeighM
Fri Dec 12, 2025 2:55 pm
Forum: Tips & Tricks
Topic: Getting program to run from boot (Raspberry Pi)
Replies: 4
Views: 814

Re: Getting program to run from boot (Raspberry Pi)

These changes relate to the recent adoption of systemd. As a user of Unix/Linux for several decades it's all unwelcome changes for me :?