Jump to content

Recommended Posts

Posted
Armbianmonitor:

Hello,

 

Hello, I have connected a pcf6523 RTC module to my OrangePI plus 2E and I can not get it to work.

 

 

The   i2cdetect -y 0  command gives me the following answer:

     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- 04 -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: 20 21 22 23 24 -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: 40 41 42 -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- --
70: 70 -- -- -- -- -- -- --

 

The next thing I have to do is insert the sudo echo pcf8523 0x68 > /sys/class/i2c-adapter/i2c-0/new device command to activate /dev/rtc1 but this does not work.

 

 

I think the problem is that my system does not have the driver for the module because in the folder /lib/modules/4.19.17-sunxi/kernel/drivers/rtc I do not have the file rtc-pcf8523.ko y have rtc-pcf8563.ko

 

How can I add the correct driver for my rtc module?

 

Thanks for your help

 

Miguel

Posted
2 hours ago, Miguel said:

How can I add the correct driver for my rtc module?

By building yourself a new kernel ...

... or wait new build when with this driver will added ...

Posted

Thanks martinayotte,

 

I've never done anything like that. Any help on how to do it?

 

Thanks for your help

 

Miguel

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines