2021-02-14 12:04 PM
How to read address in UART in STM32CUBEIDE, Actually I am reading RS485 values of Energymeter like Voltage, Current and Power, Energy but I am not able to read the address, also need to know how to read slave id too. Please help me in this regard?
2021-02-14 12:29 PM
You collect the bytes in a buffer, and you assemble the word and content from there.
Find documentation for the protocol you're using, and apply that to the data stream you are capturing.
Data representation 101
2021-02-14 12:32 PM
can you please help me with an example like slave id will be 1 and address will be 0x002 and voltage address will be 0x003