SPI pin MISO not going to low after sending data to ADC
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-06-26 5:42 AM
Hello! I am trying to communicate with ads1118 through spi3 using HAL library and STM32F205. According to datasheet, after sending the configuration data, we must wait for MISO to go low then we'll be able to retrieve data from the chip. But the MISO pin is high all the time and I can't read anything. Below I leave the algorithm that I wrote and the block diagram from datasheet:
(DOUT/DRDY is tied to MISO )
the function that transmits and receives (the program gets stuck in the cicle while:(
the main function:
on the top are the configurations bits. Here I retrieve data from 4 channels.
the configurations of spi3 on CubeMX :
Labels:
- Labels:
-
ADC
-
SPI
-
STM32F2 Series
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
