STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! MPU causes unaligned access fault

Hi,Master:MCU: STM32H743IIQuestion:I configure the MPU for RAM as follows:mpu_set_protection( 0x24000000, MPU_REGION_SIZE_512KB, MPU_REGION_NUMBER1, MPU_REGIO...

q1.png
Lyu.1 by Senior
  • 136 Views
  • 2 replies
  • 1 kudos

using Dual-Quad-SPI with OCTOSPI in STM32H5xx

Hi,I have been trying to connect PSRAM and NOR FLASH to STM32H563 nucleo board using Dual-Quad-SPI.I was able to successfully read/write to PSRAM and NOR Flash individually in single-Quad-SPI mode with base address 0x90000000. i'm not clear how the a...

shii by Associate II
  • 5811 Views
  • 21 replies
  • 4 kudos

STM32H745 ADC - PA0 Sampling Issue

Hello,On a custom-designed PCB, I am using an STM32H745IIT6 (LQFP176) MCU. I am actively using analog channels, various I/O pins, Ethernet, QSPI, and other peripherals. The code I am using was previously running on an F7 series MCU. It has been fully...

sampleIssueSWV.jpeg samplingIssueExcelGraphic.png

Resolved! STM32H753 STOP Mode inconsistency.

I am using the STM32H753VI chip, it's on a proprietary PCB but the layout is very similar to the nearest NUCLEO board so I am not ready to consider that the issue.I am working on a very low power application, using CubeIDE but minimal HAL, preferring...

KP0 by Associate
  • 163 Views
  • 1 replies
  • 0 kudos

STM32H757 SWO Debug Error

I get the following error when trying to debug an STM32H757 with SWO enabled. Failed to enable SWV configuration.Failed to execute MI command:-data-write-memory 0x5c003010 x 4 0x77etc...It would seem the debugger (ST-link v2) is not able to read the ...

CWadd_0-1730695812762.png
CWadd by Associate
  • 833 Views
  • 7 replies
  • 0 kudos

Not able to enable SYSTICK

Hi,I am working with the STM32F103RCT6. I am writing a bare metal code for delay function using SYSTICK timer. The problem I am facing is that I am not able to write to the ARM cortex registers. Below is my code for your reference - This is the stm32...

Screenshot from 2025-09-03 17-52-58.png

STM32F767 ADC value significantly larger than expected

We're using the ADC function built into the STM32F767.The problem is that when the analog signal input to the ADC is around 200mV, the digital value output from the ADC appears to be around 240-260. We're trying to obtain a stable value by collecting...

Seyoung by Associate II
  • 153 Views
  • 4 replies
  • 1 kudos

How to switch between sleep modes in STM32L476RE?

Hi Team, I am planning to use STM32L476RE MCU for my project, Can I know how to switch between Stop1,2 and low power sleep and run modes? I am new to STM32 and I need a reference code or some guidance to start with, any help very much appreciated. Th...