STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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 II
  • 367 Views
  • 4 replies
  • 0 kudos

STM32H7 USB DEVICE CDC PROBLEM

I am trying to use STM32H747IGT6 as a USB device. I want to sent data using CDC. Below you can find my configuration and code. The MX_USB_DEVICE_Init() is successful. Although when I call the CDC_Transmit_FS, it never returns USB_OK and I wasn't able...

Screenshot 2024-01-09 at 8.22.23 PM.png Screenshot 2024-01-09 at 8.23.09 PM.png Screenshot 2024-01-09 at 8.24.47 PM.png Screenshot 2024-01-09 at 8.25.29 PM.png

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
  • 1394 Views
  • 7 replies
  • 1 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
  • 596 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
  • 232 Views
  • 0 replies
  • 0 kudos

stm32H755 single word programming to the FLASH

Hi there,I'm developing my own bootloader for a stm32H755 MCU and I would like to b able to write just a single 32 bit word (or even also a single 64 bit double word) to the flash.Using standards HAL API and theHAL_FLASH_Program function, I'm able to...

iTTy by Associate III
  • 337 Views
  • 4 replies
  • 1 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
  • 536 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