Skip to main content
Tteva.1
Associate II
December 16, 2020
Solved

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

  • December 16, 2020
  • 1 reply
  • 774 views

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 :)

This topic has been closed for replies.
Best answer by Tteva.1

Oups !! Nothing ^^

It's work in RX mode :3

1 reply

Tteva.1
Tteva.1AuthorBest answer
Associate II
December 16, 2020

Oups !! Nothing ^^

It's work in RX mode :3