cancel
Showing results for 
Search instead for 
Did you mean: 

STPM32 giving the value of 0x00 Reg on every request.

PPanc.4
Associate

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

0 REPLIES 0