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

Resolved! Custom Bootloader?

I am planning to do a Over the air update for a tool.And I'm planning to use a stm32l431cc ultra low power MCU with one flash bank.So here we have an application which is some 100kb.I'm confused with lot of terms.OpenBootloaderIn application programm...

Vmere.1 by Senior
  • 4782 Views
  • 8 replies
  • 0 kudos

Resolved! What is the added value of x=x; in driver code (FSMC)

I am porting ILI9341 code from Keil to Cube MX.The original code contains:  void LCD_WR_REG(vu16 regval) { regval=regval; //ʹÓÃ-O2ÓÅ»¯µÄʱºò,±ØÐë²åÈëµÄÑÓʱ LCD->LCD_REG=regval;//дÈëҪдµÄ¼Ä´æÆ÷ÐòºÅ }  vu16 seems to be __IO uint16_t i.e. volati...

Johi by Senior III
  • 1130 Views
  • 3 replies
  • 0 kudos

Resolved! eh_frame, init and fini in a C build

I see these in the linker scripts, but I do not see them in the output for a C application.I know eh_frame is for C++ exceptions, and it is not strange it is not in the output of the C application. I also read it is used for some C functionality as w...

mete by Senior II
  • 1644 Views
  • 4 replies
  • 1 kudos

Unable to build with USBPD

Hello! I am trying to build a simple project on STM32G431KBTx featuring USB PD.I am using STM32CubeMX (latest version), all libraries, etc. are also of latest revisions. I've setup USB PD parameters via GUI, and generated code for Makefile.When I cal...

Renha by Associate
  • 1653 Views
  • 3 replies
  • 0 kudos

Resolved! ADC STM32L152 with 25 channel

 Hi all,I am doing a project and need up to 25 ADC channels to read current from HAL ACS712 sensor,I have never read so many ADC channels.I saw that the STM32L152VET6 supports 25 ADC channels, so I chose it.I have a problem when configuring with ST32...

Hoi_0-1694250437569.png
Hoi by Associate II
  • 1234 Views
  • 3 replies
  • 1 kudos

STM32F070CBT6 jump to System Memory DFU

Posted on December 08, 2016 at 17:50 I'm trying to jump from an application to the DFU System Memory Bootloader. According toAN2606 this should work with my processor and the System Memory should start at address0x1FFFC800. I'm using an e...

Resolved! STM32G474RE opamps bias

Hello,I am thinking of buying an nucleo-g474re for 3-channel DMA sampling from the ADCs. Before I acquire one, I'd like to know if it can fit my use case. There are three analog input sources. Each one ranges from -100mV to +100mV. Is it possible for...

avbotz by Associate
  • 1432 Views
  • 4 replies
  • 2 kudos

Resolved! Using STM32 examples on custom boards

Hello,I have made a custom board using the STM32WB55CEU6 chip and I would like to try out some examples that are available from ST. My problem is that these examples are made for STM32WB55CG and I can't find an easy way to change target of these exam...

dryet by Associate II
  • 1827 Views
  • 1 replies
  • 0 kudos