2018-10-25 03:54 AM
Hi, we have problem communicating with the STPM32 IC using SPI. Communication works, but any attempt to read or write any register returns DSP_CR1 default value A0000004E3 (Byte order with CRC). From the datasheet, it looks like wrong CRC, so here is packet example to read V1 RMS register value:
Master: 48 FF FF FF 24 FF FF FF FF DE
Slave: A0 00 00 04 81 A0 00 00 04 E3
Bus timming can be seen on attached images.
Any suggestions?
Thank you