BeagleBone Black kernel

B

bongiorno

Guest
Hi everyone,

i am trying to get the BQ32000 RTC to communicate with the AM3358 processor on the Beaglebone black via I2C interface and i am having some troubles doing this.
The BQ32000 driver was activated in the linux kernel and the device tree (DTB) of the Beaglebone black was also configured accordingly. When i use the following command: "i2cdetect -r -y 1" i can see that address 0x68 (which is the slave address of my BQ32000) is reserved. And with this comand: "i2cdump -f -r 0-6 -y 1 0x68 b" i can actually read the values that are found in my device's registers. In my linux terminal, i can also see that an /dev/rtc1 is present. But when i use the "hwclock -r -f /dev/rtc1" command in order to read the values found in the registers of my RTC, the values i get do not correspond with what i am expecting.
I would kindly appreciate it, if anyone could help.

Best regards
 

Members online


Top