cancel
Showing results for 
Search instead for 
Did you mean: 

Issues with STM32H7 and SPI on trasmission

frnt
Senior

Hello,

I'm just started using a nucleo-h742x. I have configured the SPI and the Fatfs library using the default settings, the SPI speed was configured at speed below 1Mbit/s. The sys clock is below 100MHz.

I always get disk_not_ready error when trying to mount the drive (error code 3).

The problem is that I don't see any signal on the MOSI line when a transaction should appear. I have also tried a simple HAL_spi_transmit(), but I have the same problem. I see the clock appearing but no signal on MOSI.

Someone has some suggestions? On other STM32 M4/M3/M0 I have no problem using the same code.

10 REPLIES 10

How did you solve the problem?

I have the same.