I’m new to this site and hope to pick your brain regarding the STPM32 energy metering IC.
Question:
Could you point me to a sample code to use UART communication port, pls. I simply want to power up, access the 1st register: 04-03-CD-AB-AB (or any access type to get going)
Access reg 0x24 to disable CRC permanently: 24-24-07-00-A8
FF-FF-FF-FF
and eliminate the CRC byte five (5) all together.
All what I need are few lines of working code. My UART is dead and I get nothing back at all…CRC incorrect?
txanks