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! mbedTLS: memset vs hash_zeroize

Hello!This function was defined and used instead of memset to reset mbedtls's sha256 context. Is there a good reason behind this choice?https://github.com/STMicroelectronics/STM32CubeH7/blob/master/Middlewares/Third_Party/mbedTLS/library/templates/ha...

Moemen by Associate II
  • 127 Views
  • 1 replies
  • 3 kudos

SDRAM + SD-Card intermittent write failure.

I am having issues when writing a buffer that is declared in the external buffer to an SD card. When I tried to download a bulk file (1.5MB), write failure (f_write returns FR_DISK_ERR) would happen at least once during the download process, but if I...

cleonb322 by Associate III
  • 774 Views
  • 5 replies
  • 0 kudos

N657 Overdrive

Hello,An ST employee wrote this article: https://community.st.com/t5/stm32-mcus/how-to-use-the-stm32n6-in-overdrive-mode/ta-p/810926where you can increase the voltage to the STM32 core to get higher performance.  I have 3 questions regarding this art...

matt-crc by Senior III
  • 355 Views
  • 2 replies
  • 0 kudos

Thread safety of code generated by Cube

Hello,I'm wondering if Cube's generated code for is thread safe. In particular, whether malloc can be safely used in a multi-threaded FreeRTOS setup.The broken malloc behavior was first described by Dave Nadler in 2019 here. He has also written about...

unturned3 by Associate II
  • 2723 Views
  • 7 replies
  • 2 kudos

Resolved! Mongoose not working with LWIP + FreeRTOS

 I'm trying to build a simple HTTP server using Mongoose with the LWIP IP stack on FreeRTOS CMSIS_V1. It is important that I let LWIP handle the network interface since I'm also using it to advertise a service using mDNS. This is what my task looks l...

marrr by Associate II
  • 434 Views
  • 8 replies
  • 2 kudos