cancel
Showing results for 
Search instead for 
Did you mean: 

interface MAX1300 ADC with STM32F0 DISCOVERY through SPI

pt31
Associate

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

1 REPLY 1
TDK
Guru

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".