Other Parts Discussed in Thread: DRV8316
Tool/software:
Having an issue with SPI on the DRV8316EVM board communicating with an ESP32-s3 board. Trying to talk to it over SPI. Seem to never read anything other than zero. Probed signals - seems to be ok on send side (SCK, MOSI, and CS) but never see response on SDO. I thought it might be issue with pull up, but see SDO pin at 3.3V always. Below is my code and wiring:
Wiring:
Drvoff (J4 pin )-> GND
SCK -> J3 pin 13
CS -> J4 pin 4
MOSI -> J4 pin 12
MISO -> J4 pin 14
ESP GND -> J3 pin 4
ESP GPIO 4-> J3 pin 17 (nSleep)
Code: