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

Low-layer driver terminology for ADC

Hi, I am trying to use the ADC on an STM32G030 for the first time using the low-layer drivers.  The terminology of the driver documentation has me baffled as it has nothing in common with the '030 Reference Manual (I have to say the Description of ST...

STM32U5 NOR Flash: Data Not Found After Reset

I am currently developing on a custom board based on the STM32U5 microcontroller with the MX25UM512 NOR flash memory. I am following the example provided by the STM32CubeU5 SDK. The example works correctly when I first run it (so data is written corr...

Dadigno by Associate III
  • 1209 Views
  • 4 replies
  • 0 kudos

USB CDC : How send SERIAL_STATE notification?

Hello,I have to implement a USB CDC device that uses flow control. After a few research it seems to be possible to send a notification SERIAL_STATE that holds the signal DSR in its bitmap.Also, I have found topics on this platform trying to answer th...

LMorg.1 by Associate
  • 3888 Views
  • 7 replies
  • 2 kudos

Control AD5262 via HAL SPI Library

Hi, I am writing a driver for the AD5262 digital potentiometer, which uses SPI type serial but requires a 9 bit data format. I would much rather use the HAL SPI library (which has worked on similar AD family pots) and not use bitbanging. However the ...

EPala2_0-1704826235934.png
EPala.2 by Associate III
  • 2176 Views
  • 7 replies
  • 0 kudos

STM32H745 - Shared memory definitions

Hey,I use STM32H745ZI, I want to create an area for shared memory between the cores, I chose AXI SRAM because I need access as fast as possible for the M7 core.The shared memory is intended solely for shared information between the cores.I have two q...

ACohe3_0-1704899678699.png
ACohe.3 by Associate II
  • 694 Views
  • 0 replies
  • 0 kudos

Resolved! Ensuring that IWDG running

On STM32F401 or any STM32,how can I read back the status of IWDG, ensuring that's it's running, as a safety measure?As I know direct counter value is not accessible, that would be ideal to see that it's not stuck. How to detect if LSI (thus IWDG) sto...

mrx23 by Associate III
  • 1872 Views
  • 7 replies
  • 1 kudos

Issue with HTS211 - HardFault Handler

Hi ST Community,I'm using the B-L475E-IOT01A card and I have a problem. As soon as I run my code in Debug mode, I get the HardFault Handler (SIGTRAP) error. I want to use the HTS221 temperature sensor and I'm using the BSP for this sensor (hts211.h)....

MathieuOKS_0-1704828542054.png MathieuOKS_1-1704828582371.png