Single IC to monitor 4 cells with ESP32-s2 host.
Observation:
- SDO goes high when HSEL is pulled low, then it stays high all the time
- when sending a read or a write command, SDO stays high
- write commands do not seem to register (reset, address claim...)
- both ALERT_H and FAULT_H stay high all the time (ALERT_N and FAULT_N are connected to VBAT) - but of course I cannot read the registers!
Write RESET
Write ADDRESS_CONTROL
Read DEVICE_STATUS
I have tried to increase the delay between CS active (low) and start of clock, but that has no effect.
Is there something wrong in the command I send and that could create the problem?
Any idea on what I can do / check to further diagnose?
Thank you for any guidance you can provide
Philippe
BBy the way, MOSI timing looks right for SPI mode1: