Associate III
April 4, 2023
Question
SPI communication on STM32G4
- April 4, 2023
- 7 replies
- 3317 views
OS : Ubuntu 22.04.2 LTS
STM32CubeIDE : 1.12.0 Build: 14980_20230301_1550 (UTC)
Firmware : STM32Cube FW_G4 V1.5.1
Working on interfacing Nucleo-G491RE to EVAL-AD5592R-PMDZ evaluation board using SPI interface (SPI2). Before jumping on to it I just probed SPI2_SCK and made the necessary configurations to it using STM32CubeIDE and generated code. Using HAL_SPI_TransmitReceive sent bytes to be able to capture the SPI2_SCK on PB13 but did not get the expected clock on the oscilloscope. What did I miss out on configuring SPI?
Please find the screenshot of the SPI configuration on STM32CubeIDE in the attachment.
