STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Custom loader internal & qspi possible?

Is it possible to write a custom loader (.stldr) for internal and external (qspi) flash? If so, any tips?I'm following this guide:https://www.st.com/content/st_com/en/support/learning/stm32-education/stm32-moocs/external_QSPI_loader.htmlThis is a tou...

Kvan .3 by Associate
  • 371 Views
  • 2 replies
  • 0 kudos

Config of differential SDADCs in STM32F373

Hello all,I thought this is a straight forward thing but for me it turned out not to be...What I want to do is simply using SDADC1 and SDADC2 and perform a regular conversation at a time in multimode. I configured both in CubeMX and tried to sample b...

Bench by Associate III
  • 508 Views
  • 2 replies
  • 1 kudos

Preprocessor Macro calculation

Hi, I have a question about preprocessor C. When I define macros like:#define CON_A 10 #define CON_B 5.6 #define CON_C 20.896 #define MY_MACRO (((10* CON_A)/CON_C)*CON_B)The last one is precalculated by the compiler or is just plain replaced as it...

Unable to debug on STM32L151VE via IAR Embedded Workbench

We've got some piece of code that we would like to debug on the MCU. This works fine with the previous hardware version of our product, which uses an STM32L151RET6.On our new hardware version using the STM32L151VE, however, debugging from IAR does no...

zhm by Associate
  • 1557 Views
  • 2 replies
  • 0 kudos

What is the correct procedure to recover an STM32L4x that has been put in Shutdown and experiences a brown out or POR. it shows the correct flags after reset, but the same flags appear after subsequent Shutdown periods.

This is the sequence of events:Enter Shutdown with RTC Wake up timer enabled (5 seconds)Brown out, remove and restore powerPOR Reset occurs, correct PWR->CSR = 0x0C000600Clear CSR flags by writing 1 to RMVF in CSRRead CSR flags and confirm they are c...

dtrae.1 by Associate II
  • 549 Views
  • 4 replies
  • 0 kudos