
How to configure Visual Studio Code to build and debug STM32 …
Jul 18, 2018 · I have started using Visual Studio Code for a growing amount of my development work and I thought it would be a good IDE to use for STM32 development. I have found many examples …
microcontroller - STM32F4 Timers - Calculation of Period and Prescale ...
I am using STM32F407VGT6 with CubeMX. So I was beginning with general-purpose timers, and I am stuck with prescaler and period values. Basically, I want to generate a timer interrupt every n (where...
microcontroller - Why are periperal registers 16 bit only on 32 bit ...
Apr 24, 2022 · On 32 bit microcontrollers such as the ST STM32F103 (ARM core) or the GigaDevices GD32VF103 (RISC-V core) there are many registers for dealing with peripherals. What surprises me …
Where should I get the header files for an STM32 microcontroller?
Sep 26, 2019 · I have this STM32F3 Discovery board, and I'm trying to flash a simple blink program to it. All of the examples I've found have several stm32*.h header files, such as this for an F4 Discovery …
microcontroller - STM32 Bootloader - Stack Overflow
May 29, 2024 · I know that this controller as all? in the STM32 family has system memory starting at address 0x00000000 holding the bootloader and the main flash memory starting at 0x08000000 …
microcontroller - How to boot STM32 from user flash? - Stack Overflow
STM32 microcontrollers are capable to boot from different sources such as: User-Flash System-memory Embedded-SRAM. On the firmware side, does "boot from user Flash" means executing a …
stm32 - How to make a proper delay in a microcontroller ... - Stack ...
Feb 24, 2024 · -2 How to a make a proper delay inside a microcontroller? I see a lot of people using a basic for-loop for(int i = 0; i < 100000; i++){} As a delay, but how can I create a proper delay inside of …
How to interface ethernet with STM32 Microcontroller?
Apr 8, 2020 · The project uses an ethernet loop which is connected through the STM32 Microcontroller. I have to use ethernet switch IC(4 port). What are the topics that I have to know so that I can use the …
microcontroller - Use hex file to manually load code on stm32 - Stack ...
Jul 9, 2023 · I am looking to manually load a project from a .hex file (output of cube ide build) directly into the flash of my uC (I am using stm32L431). I used a bit of code from an example in st's youtube …
What are the various ways to disable and re-enable interrupts in …
Mar 26, 2022 · Each ARM-core microcontroller manufacturer, I believe, including STM32 types, must define and create its own list of IRQn_Type interrupt request types, so see below for the STM32 …