2020-12-04 03:48 AM
I am working on a project where I wish to read voltage and current values. When I am reading 0x48 register, I am getting zeros. When I am reading some other registers (for example, 0x24, CRC register) which hold default non-zero value, I am able to get correct response. So I feel my UART connection is correct, and because I am able to read the register values, I think my code to read the values is also correct.
I read the data sheet and found that I need to enable V1 C1 channels by putting '1' in 1st and 17th bit of 0x18 register address. But I am still not able to fetch values.
Please can you tell me if there are any other initializations I need to do before I can read the voltage and current values.