cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H7 - SPI : Activate the clock when i use the HAL_SPI_Receive_DMA method

Tteva.1
Associate II

Hello !

I'm trying to communicate with a ADC : AD7276. With my MCU STM32H745

To get the values from the ADC, I set the CS in low state and CLK 16 times.

However, the HAL_SPI_Receive_DMA method does not activate the clock on the SPI.

What are the parameters to activate the clock with this method?

I tried with the HAL_SPI_TransmitReceive_DMA method. But the first byte is missing ( while the byte in TX is transmited ).

I am in fullduplex and DMA TX/RX 8-ByteDataSize.

Thanks You :)

1 ACCEPTED SOLUTION

Accepted Solutions
Tteva.1
Associate II

Oups !! Nothing ^^

It's work in RX mode :3

View solution in original post

1 REPLY 1
Tteva.1
Associate II

Oups !! Nothing ^^

It's work in RX mode :3