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.
Questions tagged [stm32h]
14 questions
2
votes
1 answer
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, lets assume (for example) to use PA3. According…

Aljaz Jelen
- 47
- 7
2
votes
2 answers
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 the UART5, but the zeros can also be seen when…

strange_bakery
- 89
- 7
2
votes
2 answers
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*)(0x5C001004) |= 0x00700000; // DBGMCU_CR D3DBGCKEN…

jpa
- 6,804
- 17
- 32
2
votes
1 answer
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 to sample as fast as the DMA can read from the…

Chris Morgan
- 133
- 6
1
vote
0 answers
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 provides a trigger signal so that the pixels data…

Carlos T
- 33
- 4
1
vote
1 answer
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 MHz for BOOST = 11.
However when I am configuring…

Carlos T
- 33
- 4
1
vote
0 answers
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 sends the pixel values as pulses with an analog…

Carlos T
- 33
- 4
1
vote
0 answers
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 the device in USB VCP mode.
The pin setup is…

Lars148
- 11
- 1
1
vote
1 answer
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 see the data printing in real time. I also have…

Jeremy Wolfe
- 41
- 6
1
vote
1 answer
Debugging Cortex-M7 with data cache
I'm using gdb, openocd and stlink to debug an application running on STM32H7. When data cache (DCache) is enabled, debugger does not show correct values. For example if I run this:
int foo;
int main()
{
foo = 1234;
while(1);
}
debugger…

jpa
- 6,804
- 17
- 32
0
votes
0 answers
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 start up normally if the board is booted with the…

Chris Morgan
- 133
- 6
0
votes
0 answers
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 just changed everything for my ili9488 and H7…

xmeety
- 1
- 1
0
votes
2 answers
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 SDRAM?
0
votes
1 answer
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.
When pressing the button I can see that break…

Heneer
- 489
- 7
- 12