Search found 490 matches
- Wed Oct 22, 2025 4:20 pm
- Forum: General
- Topic: TIMER2 STM32F411 BLACKPILL
- Replies: 4
- Views: 80
Re: TIMER2 STM32F411 BLACKPILL
This is one of a couple of "gotchas" with STM devices. The issue is with the Timer Interrupt calculation dialog. STM devices have numerous clocks, Flowcode only knows about one, the source clock rate in this case. The clock driving the Timer 2 is a multiple of this clock if the PLL is used...
- Fri Oct 10, 2025 8:28 am
- Forum: General
- Topic: I2C component faulty
- Replies: 7
- Views: 3170
Re: I2C component faulty
Have a look at a datasheet for the device and the protocol diagrams should help.
Ps. The transaction API works with a predefined device address, the transmit byte is a low level raw byte send.
Ps. The transaction API works with a predefined device address, the transmit byte is a low level raw byte send.
- Thu Oct 09, 2025 3:32 pm
- Forum: General
- Topic: I2C component faulty
- Replies: 7
- Views: 3170
Re: I2C component faulty
Sounds like the address of the device is 0x50.
The protocol has this 7 bit address in the highest 7 bits of the first byte, with the read/write flag in bit 0.
Hence the address appears shifted left one bit.
The protocol has this 7 bit address in the highest 7 bits of the first byte, with the read/write flag in bit 0.
Hence the address appears shifted left one bit.
- Wed Oct 08, 2025 5:23 pm
- Forum: Bug Reports
- Topic: STM32F407ZGT6 UART
- Replies: 6
- Views: 1141
Re: STM32F407ZGT6 UART
Glad it's working for you now.
Yes, interrupt timing calculations on these ST devices is a known issue.
That Flowcode dialogue doesn't have the information to work out the final clock frequency driving the timers.
So the parameters need to be calculated manually unfortunately. For now.
Yes, interrupt timing calculations on these ST devices is a known issue.
That Flowcode dialogue doesn't have the information to work out the final clock frequency driving the timers.
So the parameters need to be calculated manually unfortunately. For now.
- Wed Oct 08, 2025 1:21 pm
- Forum: Bug Reports
- Topic: STM32F407ZGT6 UART
- Replies: 6
- Views: 1141
Re: STM32F407ZGT6 UART
I'm not near my PC at the moment to check much, but a couple of points that might help...
You need to set the Flowcode Clock speed to the source rate, ie either 16 or 8Mhz.
If you want to double the 96, then change the PLL divider from /8 to /4
You need to set the Flowcode Clock speed to the source rate, ie either 16 or 8Mhz.
If you want to double the 96, then change the PLL divider from /8 to /4
- Sat Sep 27, 2025 12:10 pm
- Forum: General
- Topic: Error when compiling to target
- Replies: 6
- Views: 3765
Re: Error when compiling to target
Yes, that's it. You need to be aware of the syntax/format of IF expressions. IF something, where something is true or false. In C, false is 0 (zero) and true is non-zero. So sometimes "IF variable" will be a valid statement, assuming variable is an int (not float). And will treat the state...
- Fri Sep 26, 2025 6:20 pm
- Forum: General
- Topic: Error when compiling to target
- Replies: 6
- Views: 3765
Re: Error when compiling to target
Well spotted, also it will need to be more explicit..
(Cell_1_Voltage_Float < 3.0) || (Cell_2_Voltage_Float < 3.0)
(Cell_1_Voltage_Float < 3.0) || (Cell_2_Voltage_Float < 3.0)
- Thu Sep 18, 2025 2:56 pm
- Forum: General
- Topic: Error message: PICO Compiler Toolchain is not installed.
- Replies: 14
- Views: 4170
Re: Error message: PICO Compiler Toolchain is not installed.
Your attached msg.txt file seems to end abruptly.
Have you got generic file system issues on your PC?
Full hard drive?
As chipfryer27, please check files exist.
Have you got generic file system issues on your PC?
Full hard drive?
As chipfryer27, please check files exist.
- Mon Sep 01, 2025 2:47 pm
- Forum: General
- Topic: stm32 Adaptive Real-Time accelerator
- Replies: 1
- Views: 1045
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
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();
- Sun Aug 31, 2025 5:04 pm
- Forum: General
- Topic: Is there a PING component?
- Replies: 28
- Views: 6520
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.
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.