Showing results for 
Search instead for 
Did you mean: 

HAL_SPI_Transmit and receive not working properly in STM32f103 bluepill

Associate III






I am facing issue in communicating the STM32F103 with the ADS131M08 Evaluation board as when i try to read the internal register of the ADS131 after the write operation it show some different value apart from the  one i write.


i am also attaching my code in which i have 2 function one is to send command and the other one is ADS131M08_recv_response through which i receive the response and based on that i update my ADS131m08 register so every time after transmit when i try to receive some response it shows some other value.

Attaching is the c file for the code

Pelase help me in solving the bug.






After read_operation.pngbefore read operation.png