Skip to main content
pt31
Visitor II
March 24, 2022
Question

interface MAX1300 ADC with STM32F0 DISCOVERY through SPI

  • March 24, 2022
  • 1 reply
  • 1071 views

Hello,

i am trying to interface MAX1300 ADC with STM32F0 DISCOVERY through SPI but not able to receive complete 16bit converted data.

8-bit of data is not getting received through spi. suggest some solution to resolve this issue

This topic has been closed for replies.

1 reply

TDK
Super User
March 24, 2022

Hard to offer much advice with such limited information. You can edit your post to add additional information.

HAL_SPI_TransmitReceive with 2 bytes of data should work, there are SPI examples in the Cube repository that you can follow.

https://github.com/STMicroelectronics/STM32CubeF0/blob/4390ff6bfb693104cf97192f98c3dc9e3a7c296a/Projects/STM32F091RC-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/readme.txt

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