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

How to implement locking between ISR and main() in a HAL-based architecture. What is the added value of __HAL_(UN)LOCK() in the HAL UART source code as it is currently implemented?

Hello,I need an ISR that fills a circular buffer. Data will be consumed in the main() loop and critical section/mutex locking functionality is required to manage properly. So I looked at the HAL UART code for inspiration and came across __HAL_LOCK(hu...

Johi by Senior III
  • 2964 Views
  • 6 replies
  • 1 kudos

Third-party TCP/IP stack porting

Hello,-> I want to use a third-party TCP/IP stack with the STM32H745-Discovery, and I have gone through LWIP for reference, upon which I got to know that when we enable LWIP and Ethernet from Cube MX it generated ethenetif.c/.h and lwip.c/.h files an...

TChau.2 by Associate
  • 807 Views
  • 2 replies
  • 0 kudos

[BUG] Missing compiler and CPU memory barriers

NOTE! This is a bug report for all STM32 MCUs with Ethernet peripheral, but it has a highly valuable information for all software development on/for any platform.Compiler barriersThe compiler is not required to keep the code order of non-volatile var...

Piranha by Chief II
  • 7095 Views
  • 9 replies
  • 9 kudos

X-CUBE-STL library for STM32U5

Hi, we're transitioning our platform from a STM32F412 to a STM32U575, and in our project we are currently using the X-CUBE-STL libraries to perform runtime safety monitoring functions.It seems that the package does not yet support the STM32U5 family....

SBone.3 by Associate II
  • 1317 Views
  • 1 replies
  • 0 kudos

Trying to run Azure IoT Central Quick Connect Script on B-U585I-IOT02A But getting the following error: Device ID contains invalid characters.

Trying to run Azure Iot Central Quick Connect Script on B-U585I-IOT02A1.Downloaded x-cube-azure software package fromwww.st.com/en/embedded-software/x-cube-azure.html2.Then navigated throughproject\en.x-cube-azure_v2-0-0\STM32CubeExpansion_Cloud_AZUR...

0693W00000QLLEAQA5.png 0693W00000QLLFNQA5.png
YAgar.11 by Associate
  • 1020 Views
  • 3 replies
  • 0 kudos