Skip to main content

Questions tagged [stm32h]

The STM32 H7-series is a group of high performance STM32 microcontrollers based on the ARM Cortex-M7F core with double-precision floating point unit and optional second Cortex-M4F core with single-precision floating point.

Filter by
Sorted by
Tagged with
0 votes
1 answer
129 views

STM32 LTDC design considerations with an 18-bit vs 24-bit RGB interface

I'm using a LCD with a ST7701S driver and it has an 18-bit RBG interface. To control it I am using a STM32H7 with the LTDC peripheral. I have been prototyping with the STM32H745-Disco which has a LCD ...
Alex Jegers's user avatar
0 votes
0 answers
37 views

STM32H723 ADC3 Hardware Auto-Calibration Behaving Unexpectedly

I am trying to read from the ADC3 module of an STM32H723. ADC1 and ADC2 have been previously set up, although I was using a manually added constant offset rather than the automatic calibration in ...
Joe's user avatar
  • 1
0 votes
1 answer
83 views

STM32 H7 - Outputs wrong I2S BCLK (1.027 Mhz pulses, expected 1.024)?

The STM32 seems to be a nightmare... Just such weird issues constantly. Anyways, I'm trying to output Master I2S (with BCLK, no MCLK) at 16 kHz, but for some reason am getting a 1.027 MHz clock ...
Kevin Parker's user avatar
1 vote
1 answer
239 views

STM32 (H7) DMA Callback Imbalance for SAI vs I2S (same clock frequency, one is called slightly more / less often)

I have a strange issue here trying to read 2x PDM mics from the SAI peripheral and output the audio over the I2S peripheral here on the H7. I use what appears to be the correct frequency for both ...
Kevin Parker's user avatar
1 vote
0 answers
76 views

Intermittently working hardware/software breakpoints with STM32H7

Problem: I have experienced issues with hardware/software breakpoints not being hit during debugging sessions in STM32CubeIDE with the STM32H743. When breakpoints are set or disabled during a ...
gguadianaSPARX's user avatar
0 votes
0 answers
338 views

Bare metal STM32H755 (dual core) programming - Code won't start running

I just bought a STM32H755ZI Nucleo board after having toyed with the Nucleo F411. The problem I'm facing is: When I flash the program into the micro-controller and debug, it seems as if I couldn't ...
Juan_David's user avatar
1 vote
1 answer
513 views

STM32H723 not entering USB DFU mode

Designed a custom STM32H723 board and not able to enter USB DFU mode when holding 'boot0' and releasing 'reset', or when holding 'boot0' and powering the board up. Note that the MCU code does NOT ...
Chris Morgan's user avatar
0 votes
0 answers
283 views

Interfacing FMC with LCD DBI TYPE B - Intel 8080

I recently trying to develop on LCD screens, and I saw the TFT LCD interfacing with the high-density STM32F10xxx FSMC (AN2790 Application note) and I was going along the way with the Application note ...
xmeety's user avatar
  • 1
1 vote
0 answers
162 views

STM32 Strange behavior of ADCs in alternate trigger mode

I am using a STM32H723ZG board for a project. In this project I must sample the signal coming from an image sensor that sends the pixel values as pulses with analog amplitudes. This sensor also ...
Carlos T's user avatar
0 votes
2 answers
181 views

STM32H750IBK6 SDRAM FMC CLK maximum frequency

In the STM32H750IBK6 REV V, what is the maximum FMC_CLK to run SDRAM? The datasheet has two different values (for the rev V and rev Y IC revisions). What is the safe area of operating FMC CLK with ...
Sagar Sagare's user avatar
1 vote
1 answer
959 views

STM32 maximum ADC frequency

I am using a STM32H723ZG board for a project and I must read analog signals so I am using one 16-bit ADC. Based on the datasheet of this microcontroller serie, the maximum ADC clock frequency is 50 ...
Carlos T's user avatar
1 vote
0 answers
281 views

STM32: two independent ADCs for fast sampling with external trigger

I will give you some context about what I am doing and my problem: I am using an STM32H723zg board to read and process analog data coming from a sensor. This is an image sensor working at 8 MHz and it ...
Carlos T's user avatar
1 vote
0 answers
443 views

STM32H743 with USB HS, FUSB2805 not detected

I have a custom board with STM32H743VIT6 connected to an external USB HS PHY, the FUSB2805MLX. I am trying to run a bare minimum example setup in STM32CubeMx. Just including a USB HS connection and ...
Lars148's user avatar
  • 11
2 votes
1 answer
2k views

STM32H7 ADC Baremetal - ADC not ready - ADC no conversion

I am trying to make baremetal ADC driver for following development board STM32H723ZG Nucleo (144 pins). Reference manual: STM32H723 Reference Manual Datasheet STM32H7xx Nucleo Datasheet To simplify, ...
Aljaz Jelen's user avatar
1 vote
1 answer
3k views

STM32H7 ADC with DMA

I am trying to scan multiple ADC channels on my STM32H753ZI Nucleo board. I have a TIM2 running at a super slow frequency (2Hz) which triggers the ADC conversions. I have it very slow so that I can ...
Jeremy Wolfe's user avatar
3 votes
3 answers
2k views

STM32H7 ADC with DMA reading only zeros (using HAL and FreeRTOS)

I'm trying to read 8 different single-ended analog signals from an array of op-amps with a STM32H7 MCU, however I only get an array of 8 zeros when using ADC1 with DMA (the readings are recovered via ...
strange_bakery's user avatar
2 votes
2 answers
488 views

Accessing SWO on STM32H743 hangs the CPU

I'm trying to initialize the debug trace SWO output pin on STM32H743. I have tried various code snippets for initializing the port, currently this one: void SWD_Init(void) { *(__IO uint32_t*)(...
jpa's user avatar
  • 8,843
1 vote
1 answer
552 views

Debugging Cortex-M7 with data cache

I'm using gdb, openocd and stlink to debug an application running on STM32H7. When data ...
jpa's user avatar
  • 8,843
0 votes
1 answer
232 views

DFSDM Analog Watchdog does not trigger break for TIM1

TL;DR TIM1 break works from BKIN but not from DFSDM analog watchdog I have timer TIM1 running a PWM output and use a button connected to PE15. PE15 is setup as alternate function 1 i.e. TIM1_BKIN. ...
Heneer's user avatar
  • 489
2 votes
1 answer
610 views

Is there a hardware only way to read a digital pin on the STM32 at a given frequency?

I'm using an STM32H7 and looking to sample a digital signal at ~6MHz directly into memory with periodic interrupts? I've seen an approach using a DMA read from the GPIO ODR address but this would seem ...
Chris Morgan's user avatar