cancel
Showing results for 
Search instead for 
Did you mean: 

STPM32 SPI read or set any register returns DSP_CR1 default value (A0000004).

JV??t
Associate

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

This discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
0 REPLIES 0