STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Should DMA variables be volatile

I am using the DMA in a few places. I am wondering should these variables be volatile. As it is, the compiler has no idea when the data will be read from or written into these variables. When that is the case, shouldn't you make the variable volatile...

Carl_G by Senior III
  • 1381 Views
  • 14 replies
  • 9 kudos

HAL_FLASHEx_Erase() – STM32L072

Hi STM32 Community,I'm working with the STM32L072 MCU which has 192KB of Flash. I'm implementing a bootloader + dual app OTA architecture. Here's my current memory layout:Region Start Address End Address DescriptionBootloader0x080000000x08002FFFStati...

Bootloader with FreeRTOS

Dear friendsI am trying to develop a bootloader with STM32F469BIT mcu. First of all, I divided the 2048K flash area allocated to me into zones according to certain sector addresses. These areas;Bootloader -> FLASH (rx) : ORIGIN = 0x8000000, LENGTH = ...

mmercan by Associate II
  • 753 Views
  • 5 replies
  • 0 kudos

STM32N6 FSBL vs Application

Hi,I'm starting to try things with the new N6 MCU serie using the NUCLEO-N657X0-Q devboard on STM32 CubeIDE 1.18.0.I'm pretty confused with the new .ioc project configuration and the possibility to configure my board on "FSBL" or "App".I generated a ...

jmF by Associate II
  • 793 Views
  • 2 replies
  • 0 kudos

Resolved! How to use analogue pins (not ADC) to read voltage?

hi all, I am using STM32F733xx and i want to read the Vout i will be monitoring is between 1-5v, to read that i have used analogue pins PG13, PH3 ,PH2,PG14, PE2,PE3, PE6, PE4,PE5,PF1,PF0,PF2I already have the PCB so i cant change the design can anyon...

sal92 by Associate II
  • 580 Views
  • 5 replies
  • 6 kudos