Hello! I'm working at power metering device based on STPM33 connected to MCU with SPI bus.
But reading/writing registers dont have any results, reading any register every time returns the value of the first register (0x040000A0). For example reading of UART & SPI Control Register (address 0x24):
This behaviour is possible when CRC8 isn't correct, but it is calculated with algorithm from datasheet and double ckecked with CRC calculator. Another reason could be bad wirings of MOSI line, but I checked it many times and tried with three IC's. Anyone have suggestions for this problem?
P.S. Chip part number is 332, if this is important