Search found 482 matches

by LeighM
Mon Sep 01, 2025 2:47 pm
Forum: General
Topic: stm32 Adaptive Real-Time accelerator
Replies: 1
Views: 117

Re: stm32 Adaptive Real-Time accelerator

You need to download the STM32F446 Reference Manual from st.com and have a look at page 66.
I don't think that the ART accelerator is enabled by default, but you can enable it with the following C code

Code: Select all

__HAL_FLASH_PREFETCH_BUFFER_ENABLE();
by LeighM
Sun Aug 31, 2025 5:04 pm
Forum: General
Topic: Is there a PING component?
Replies: 28
Views: 3606

Re: Is there a PING component?

Hi Bob,
The first thing to check in your Flowcode project is that the W5500:Initialise is successful.
This does a check of the SPI write and read, and returns 1 for success, 0 for failure.
by LeighM
Sat Aug 30, 2025 3:52 pm
Forum: Bug Reports
Topic: EXTI Interrupt Issue on STM32
Replies: 21
Views: 5095

Re: EXTI Interrupt Issue on STM32

Hi, I've bought an STM32F303 development board to play with. I've not had any issues with the timer interrupt. However, my testing has thrown up an issue with the 32F303CB FCD, the config section is missing the HSE source divider parameter. This means it would be easy to accidentally overclock the d...
by LeighM
Sun Aug 24, 2025 3:21 pm
Forum: Bug Reports
Topic: Pi HDMI component colours are not right
Replies: 9
Views: 437

Re: Pi HDMI component colours are not right

Yes, background colour is a common trap :)
You need to remember that SetColour just changes the "ink" for the next drawing operation.
So after SetBackgroundColour you need a ClearScreen
by LeighM
Sun Aug 24, 2025 2:21 pm
Forum: Bug Reports
Topic: Pi HDMI component colours are not right
Replies: 9
Views: 437

Re: Pi HDMI component colours are not right

Just had a quick look at the component, and it looks like it uses the same colour encoding for the Raspberry Pi target code as for the simulation code, namely 32 bit colour depth and 8 bits for the individual colours. I think the Pi frame buffer (16 bpp) should be RGB565 format. edit: Ah, silly me, ...
by LeighM
Sun Aug 24, 2025 1:14 pm
Forum: Bug Reports
Topic: Pi HDMI component colours are not right
Replies: 9
Views: 437

Re: Pi HDMI component colours are not right

Thanks.
I was nearly correct 😁
I've just run it in debug mode (set 1 in the debug macro) and my setup reports 16 bits per pixel.
That's a lower colour depth than the code assumes.
The plot continues...
by LeighM
Sun Aug 24, 2025 12:25 pm
Forum: Bug Reports
Topic: Pi HDMI component colours are not right
Replies: 9
Views: 437

Re: Pi HDMI component colours are not right

The component was developed back in the days of 32 bit OS. I suspect that now with 64 bit the colour depth has increased. I'll have a play when I next get chance :D
by LeighM
Fri Aug 22, 2025 10:45 pm
Forum: General
Topic: Not happy looking for examples
Replies: 26
Views: 5624

Re: Not happy looking for examples

Ah, well done 😁
Yes, you will still need the static modification for latest OS, otherwise version 12 of the GCC compiler.
by LeighM
Fri Aug 22, 2025 7:34 pm
Forum: General
Topic: Not happy looking for examples
Replies: 26
Views: 5624

Re: Not happy looking for examples

Hi Bob I've just found a bit of time to do more testing and copy what you have - same result, no screen output. I had previously tested on lite (no desktop) version as all my pi units are headless servers. I thought the component had worked with desktop version in the past, maybe it now uses a diffe...
by LeighM
Thu Aug 21, 2025 11:45 am
Forum: General
Topic: Ethernet module
Replies: 15
Views: 2598

Re: Ethernet module

If you want to use Raspberry Pi and its interface, you could use arp-scan sudo arp-scan --interface=eth0 192.168.0.0/24 You could call this in a Flowcode C icon and redirect the output to a file system("sudo arp-scan --interface=eth0 192.168.0.0/24 > scan.txt"); Then use the Flowcode File ...