Skip to main content
MGure.1
Visitor II
September 30, 2020
Question

STPM3x getting default register values via SPI

  • September 30, 2020
  • 0 replies
  • 576 views

STPM3x chips are used for developing a multi-phase power-metering application.

Boards used: EVALSTPM3x-PH, Nucleo-F302R8,

I have ensured the correct initialization of SPI and chip reset at startup ( SCS low, 3 SYN pulses and 1 SCS pulse).

Been sending correct frames with a request to only read the default contents of internal registers on MOSI, always with a correct CRC byte at the end.

However on MISO I am receiving the same default value of the first internal register: 040000A0, regardless of which register I am trying to access.

What can be the issue here?

A snapshot from logic analyzer:

0693W000004IDl7QAG.jpg

This topic has been closed for replies.