User Activity

CubeMX generates weird number for timer period.I set the timer period to 0xffffffff in the GUI. That results in CubeMX setting:4.294967295E9for the period. That value is wrong. It should be just 4294967295.Is that a CubeMX bug?
Hi,I am developing an application with stm32g4 using the dual bank feature for firmware upgrades. To check if an upgrade was successful, I need to check the currently active bank.I can read the option bytes and get the BFB2 bit. But: if the firmware ...
I was trying to erase some flash pages on an stm32g474re nucleo (and on a custom board with the stm32g474veh3).The flash pages are all on flash bank 2, because i read in the reference manual that flash bank 2 can be written while code is running from...
I checked out the example dual boot project from here:https://github.com/STMicroelectronics/STM32CubeG4/tree/master/Projects/NUCLEO-G474RE/Examples/FLASH/FLASH_DualBootI am running this on my G474RE nucleo. What works:* flashing bank 1 with the bank1...
The old weakly linked callbacks are documented as legacy in the HAL source code. Yet if I want to register callback functions, the corresponding preprocessor define is overwritten by CubeMX. Is there a way to set this flag permanently (and not in the...
Kudos from