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! Git Commit Hash flashed along with my code?

Howdy everyone.I need my MCU to be selfaware of what FW version is currently flashed,so far im just manually typing the git commit hash inside a const string every time i change the FW version.It looks to me like a feature that should be supported so...

0693W000008GHL5QAO.png
Javier1 by Principal
  • 5036 Views
  • 11 replies
  • 4 kudos

STM32L4 USB polling: Which interrupt line?

Hi. I'm having trouble managing a USB slave on STM32L4 using interrupt. I'm able to make it work using polling, and on a previous F3 project, had polling working.From RM, NVIC section, F3 has 3 USB lines: Wakeup, LP, and HP (HP and LP are shared with...

DOCon.1 by Senior
  • 1054 Views
  • 5 replies
  • 0 kudos

Resolved! ETH DMAMR SWR always set, why?

Hello , I have STM32H750x MCU. I would like to know why the ETH DMAMR->SWR (software reset bit) is still ALWAYS SET?I know even the HAL driver is trying to do the SW reset on the ETH DMA and MAC. I know I should have an enabled and stable clock for t...

Peter_TEC by Associate II
  • 3161 Views
  • 7 replies
  • 0 kudos

Resolved! STM32CubeMx I2C_TwoBoards_ComDMA Issue

In the example while(HAL_I2C_Master_Transmit_DMA(&I2cHandle, (uint16_t)I2C_ADDRESS, (uint8_t*)aTxBuffer, TXBUFFERSIZE)!= HAL_OK) { /* Error_Handler() function is called when Timeout error occurs. When Acknowledge failure occurs (Slave d...

Iirel.1 by Associate
  • 622 Views
  • 1 replies
  • 0 kudos

Question on 'pulse' section is stm32Cube

hello everyone, I am trying to generate a square wave at a desired frequency. I am supposed to use the TIM3 peripheral. I selected the "Output compare CH1" for channel 1 section and under this section it asks me for a pulse value (which I know is th...

GSant.5 by Associate II
  • 785 Views
  • 3 replies
  • 0 kudos

STM32H750 HAL_SPI driver function HAL_SPI_TransmitReceive(......) is called in my EXTI9_5_IRQHandler() interrupt function , It runs dead loop, and can't return.

If the H7 HAL_SPI driver function HAL_SPI_TransmitReceive(......) is called in my main(),It runs correctly, I can transmit and receive data correctly. But it is called in my EXTI9_5_IRQHandler() interrupt , It runs dead loop, and can't return.

ZMinZ.1 by Associate
  • 480 Views
  • 1 replies
  • 0 kudos

Resolved! Bootloader Versions of STM32F42xxx/43xxx

Hello all,I have STM32F439 MCU.I use STM32CubeProgrammer to program the MCU through ST Bootloader.STM32CubeProgrammer writes:Bootloader protocol version: 3.1According to AN2606 (STM32 microcontroller system memory boot mode) the valid version for ST...

HAL_RCC_OscConfig ends in HardFault_Handler

HiI'm using a Nucleo-144 with a STM32F767ZI.I have included in my project FreeRTOS and FreeRTOS-IP although that may not be related with the problem, since the crash happens before reaching the initialisation of FreeRTOS.My problem seems to be that H...

EGonc.2 by Associate II
  • 657 Views
  • 1 replies
  • 0 kudos