cancel
Showing results for 
Search instead for 
Did you mean: 

SPI signal distorted at high speed

JCAeron
Associate II

Two STM32H743 series MCUs are on a single board and they communicate using SPI. When SPI clock frequency is more than 1.5 Mhz, SPI communication is not working properly. The distorted clock signal waveforms at high frequencies are attached below.

A 51E series resistor is connected on all 4 signals.

The trace length is almost 35mm

JCAeron_0-1740118503461.png

I tried reducing the series resistors from 51E to 33E and 20E. No much difference was observed in the waveforms. What can be done? 

1. CLK freq = 1.5MHz

TEK00000-20250203-201636.PNG

2. CLK freq = 3.125MHz 

TEK00009-20250212-171326.PNG

3. CLK freq = 6.25MHz

TEK00001-20250203-203652.PNG

4. CLK freq = 12MHz

TEK00002-20250203-203954.PNG

3 REPLIES 3

Set the SPI's CLK and MOSI (and MISO in slave) pins to higher speed on their respective GPIO_OSPEEDR register fields.

JW

AScha.3
Chief III

Yes, set pin speed in Cube -> very high , as @waclawek.jan  said.

And your probe (-> DSO) set to 10:1 ? ( otherwise probe cap. load too high .)

If you feel a post has answered your question, please click "Accept as Solution".
JCAeron
Associate II

Please see the attached image. That seems to be already done.

image (35).png