2022-07-07 11:29 PM
Protocol Used : SPI
SPI Master : ESP32
SPI Slave : STPM32
I am trying to interface with STPM32 using SPI interface.
Whenever I make any read request I am getting the value of 0x00 register again and again which is 0x040000A0.
As per the datasheet the internal read pointer updates on a read request and points to the register address received in the request and it gives the value of that register on the end of the next request.But that is not happening in my case
Example Code Used : https://www.blog.neudeep.com/embedded/how-guide-on-stpm33-32-spi-interface-with-esp32-using-esp-idf/689/
I have used this code and interfaced with the Evaluation board for STPM32 and it works fine. However while interfacing with the custom STPM32 board I am facing the above mentioned issue