This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

how to read register values in Stpm32

Hi All,

i am using Stpm32 energy meter board. i have gone through the data sheet completely.

i want to read and write the register values

i am trying to write 0xABCD value to 05 register

for that i have transmit the command 04 05 cd ab crc(CB) then i am getting the response a0 00 00 04 crc

then i am transmitting ff ff ff ff crc to read that value i am getting response as e0 04 8d ab crc

but i want to get as e0 04 cd ab crc

sometimes i am not getting e0 04 8d ab crc also

please help me in detail. please....

please do reply as soon as you can thanks in advance

en.DM00290866 Getting started with the STPM3x.pdf

Related