Power & Source of Big Ideas

NanoPi Neo Plus2: How to enable I2C for DS1307 RTC?

Moderators: chensy, FATechsupport

Hello,

I've enabled all I2C interfaces via the npi-config tool and connected a DS1307 RTC modules (which works fine on Raspberry PI 3 with raspian). My RTC module requires loading of three kernel modules on raspberry:
  • i2c_bcm2708
  • i2c_dev
  • rtc-ds1307

Based on the "nanopi-neo-plus2_FriendlyCore-Xenial_4.14.0_20171208" I'm only able to load the last two ones and only rtc-ds1307 is shown under lsmod as loaded. When I watch dmesg and load module rtc-ds1307 then an error occurs:

Code: Select all

i2c i2c-0: mv64xxx_i2c_fsm: Ctlr Error -- state: 0x2, status: 0x0, addr: 0x68, flags: 0x0


Is there some further kernel module to run i2c properly?

Thanks for any help!
The situation has been cleared.
It is enough to load module rtc-ds1307 and work on I2C bus address 0.

Who is online

In total there are 16 users online :: 0 registered, 0 hidden and 16 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 16 guests