lkml.org 
[lkml]   [2023]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] hwmon: (isl28022) new driver for ISL28022 power monitor
 On 7/26/23 18:19, Guenter Roeck wrote:
> Please provide a register dump (using i2cdump) for this chip.

# i2cdump -y -r 0-9 1 0x40 w
0,8 1,9 2,a 3,b 4,c 5,d 6,e 7,f
00: ff67 ca00 a25d c803 5006 0080 817f 00ff
08: 0000 0000

Please note that due to big vs.- little endian bytes are swapped,
should be read as:
00: 67ff 00ca 5da2 03c8 0650 8000 7f81 ff00
08: 0000 0000

corresponding sensor values are about (not read at same time):
in0: 1.99 V
in1: 23.97 V
power1: 6.10 W
curr1: 248.00 mA

in0 should be read as mV

Regards, Carsten
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2023-07-27 09:45    [W:0.049 / U:1.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site