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

CubeMX HAL - Is Thread Safe?

The CubeMX HAL library is considered and claimed to be "thread safe". One can select FreeRTOS on the CubeMX and generate a code.I am questioning whether the HAL is indeed 100% safe for using with RTOS. The HAL allows read/write to specific bits in th...

Yevpator by Associate III
  • 1295 Views
  • 3 replies
  • 0 kudos

STM32F042 Bootloader activation on Nucleo

Hy,as described and discussed earlier (https://community.st.com/s/question/0D50X00009sWdDqSAK/stm32f042-bootloader-activation) I want to use bootloader mode of STM32F042 to update STM32 firmware in a multi CPU system. I still see this way as very ele...

0690X000006CmVFQA0.png
harald by Associate III
  • 445 Views
  • 0 replies
  • 0 kudos

If there are 2x internal DACs in the STM32F407XX MCUs, why does the STM32F407VG Discovery Board need an external DAC for audio applications?

I'm very new to the STM32, so sorry if this sounds stupid. As far as I could understand looking at the datasheets, the STM32F407XX has 2 DACs, but when embedded in the discovery board an external DAC (CS43L22) is used. Why is that?

YChu.7 by Associate
  • 732 Views
  • 2 replies
  • 0 kudos

How to generate a delay function with a 1 micro second resolution, without affecting the existing HAL_Delay 1 millisecond resolution function.

I'm using a STM32F429ZI Nucleo-144, and need a counter/delay function with 1 microsecond resolution, but want to keep the HAL_Delay function at 1 millisecond resolution for other uses.I'm looking at potentially reconfiguring the SysTick interrupt to ...

JBass by Associate
  • 420 Views
  • 0 replies
  • 0 kudos

About STM32F072 device , Problems when use HAL_SPI_Receive function of HALL in single wire and half-duplex mode.

Hlello. I want to use single wire and half-duplex mode for spi master.Init works, and HAL_SPI_Transmit function works .But it will go to timeout when call ​HAL_SPI_Receive function from HALL. it still can't get RXNE FLAG . I measured it , it didn't g...

hzhu.17 by Associate
  • 319 Views
  • 0 replies
  • 0 kudos

Resolved! Problems with custom bootloader on STM32F4

Posted on June 01, 2017 at 17:34Hello, I have some problems to implement a bootloader in a STM32F4. I searched on internet and I found coherent informations and examples, but I 'm not able to make simple test work.Here my simple code:bootloader (wri...

I2C send 0x00 and 0xFF for sensor reset

Hi,in order to reset my I2C sensor TLE493D-W2B6 A0 I need to send 4 bytes which consist of 0xFF->0xFF->0x00->0x00 . So no address or anything else, only the 4 bytes transmitted with 4 consecutive I2C accesses.Now I am using a slightly modified versio...

mx by Associate
  • 868 Views
  • 2 replies
  • 0 kudos