RTC battery C2

Moderators: mdrjr, odroid

RTC battery C2

Unread postby KC7NOA » Wed Mar 02, 2016 2:50 am

I was just looking a bit ago at the Odroid-C2 Wiki for a connector for a RTC battery. I didn't see one. Is there an implementation of a RTC battery like one the C1 ?

Id like to use a battery that has larger capacity than a coin cell ....
KC7NOA
 
Posts: 833
Joined: Wed Feb 27, 2013 2:25 pm
languages_spoken: english
ODROIDs: Odroid-X2(blown HDMI output)
Odroid-C2 to replace X2

Re: RTC battery C2

Unread postby crashoverride » Wed Mar 02, 2016 3:32 am

As mentioned on the product page, there is no RTC or SPI on the C2 board. They were omitted by Amlogic on the main chip itself.

There was discussion about an official I2C RTC device, but I am unaware of its status. There are already many 3rd party I2C RTC devices available in the interim.
crashoverride
 
Posts: 3857
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1

Re: RTC battery C2

Unread postby KC7NOA » Wed Mar 02, 2016 3:52 am

OK .. ill check ebay for something ....
KC7NOA
 
Posts: 833
Joined: Wed Feb 27, 2013 2:25 pm
languages_spoken: english
ODROIDs: Odroid-X2(blown HDMI output)
Odroid-C2 to replace X2

Re: RTC battery C2

Unread postby KC7NOA » Wed Mar 02, 2016 4:06 am

Ok ... Found hardware ...

hope odroid see this in a week or two ... must be a busy guy ....

3rd party RTC over i2c is plentiful ..... ebay 252234700828 is under 1$usd (73cents) ....

Not sure if that 252234700828 RTC needs a level converter or not (probably not, runs on 3.3V LiR2032) ....

im wondering if there is any drivers in the ubuntu image to use it (im thinking probably not - but just kills electrons to ask)
KC7NOA
 
Posts: 833
Joined: Wed Feb 27, 2013 2:25 pm
languages_spoken: english
ODROIDs: Odroid-X2(blown HDMI output)
Odroid-C2 to replace X2

Re: RTC battery C2

Unread postby odroid » Wed Mar 02, 2016 9:54 am

We are also developing a RTC module for C2 these days.
I think we may have some engineering samples in the middle of next week.
I heard we are trying to use a NXP RTC chipset which use the I2C interface and the board form factor is very slim which helps to fit into our official plastic cases.
We may need a couple of days to make/test the hwclock device drivers.

Once the sample is okay, we may need to wait around 4~5 weeks for the production due to the lead time of material.

We also tried to find some cheap RTC boards on ebay or aliexpress.
But most of them doesn't match to the C2 due to the the big heat sink. The battery part and heat sink are overlapped each other.
User avatar
odroid
Site Admin
 
Posts: 28521
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: RTC battery C2

Unread postby KC7NOA » Wed Mar 02, 2016 11:12 am

Which NXP RTC chip are you looking to use?

Do most all use the same commands?

I was not planning on using a coin but rather a 1000mAh Li-ion battery ....
KC7NOA
 
Posts: 833
Joined: Wed Feb 27, 2013 2:25 pm
languages_spoken: english
ODROIDs: Odroid-X2(blown HDMI output)
Odroid-C2 to replace X2

Re: RTC battery C2

Unread postby odroid » Wed Mar 02, 2016 11:20 am

PCF8563 from NXP. You need to compare the datasheets.

The coin battery could touch the heat sink obviously.
Which RTC boards you consider to try?
User avatar
odroid
Site Admin
 
Posts: 28521
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: RTC battery C2

Unread postby KC7NOA » Wed Mar 02, 2016 12:29 pm

ebay 252234700828

its a DS1307 Real Time Clock Module ....
KC7NOA
 
Posts: 833
Joined: Wed Feb 27, 2013 2:25 pm
languages_spoken: english
ODROIDs: Odroid-X2(blown HDMI output)
Odroid-C2 to replace X2

Re: RTC battery C2

Unread postby KC7NOA » Wed Mar 02, 2016 12:32 pm

dang .. the PCF8563 is almost 2X the cost ... with out a PCB ....
KC7NOA
 
Posts: 833
Joined: Wed Feb 27, 2013 2:25 pm
languages_spoken: english
ODROIDs: Odroid-X2(blown HDMI output)
Odroid-C2 to replace X2

Re: RTC battery C2

Unread postby phaseshifter » Wed Mar 02, 2016 3:39 pm

whilst the topic is here ...
Last edited by phaseshifter on Wed Apr 13, 2016 1:18 pm, edited 1 time in total.
odroid N-1 16Gb emmc orange..
phaseshifter
 
Posts: 2877
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: N-1..c1+ ..c-2..xu3 lite,xu4...u-3..
u-2...other odroid acc`s as well

Re: RTC battery C2

Unread postby KC7NOA » Mon Apr 04, 2016 10:51 am

any progress ?
KC7NOA
 
Posts: 833
Joined: Wed Feb 27, 2013 2:25 pm
languages_spoken: english
ODROIDs: Odroid-X2(blown HDMI output)
Odroid-C2 to replace X2

Re: RTC battery C2

Unread postby Paint » Mon Apr 04, 2016 4:02 pm

phaseshifter wrote:whilst the topic is here ...

one question comes to mind will the "rtc" add on board be able to utilise the i2C as well as to allow for also the dac audio board ..??
..would it be stackable..???

or is it a case of one or the other ???


KC7NOA wrote:any progress ?


you can use the ds3231 board if you bend the connectors slightly to pass over the heat sink - as an aside, its a much better RTC than the DS1307 chip.

I have a how-to on this board to setup this module using a custom kernel + device tree setup (dts file modification). This means your C2 acts like the RTC is on-board and boot level RTC is available. :D

Amazon link to DS3231: http://www.amazon.com/SunFounder-DS3231-Precision-Raspberry-Arduino/dp/B00HF4NUSS

How-To Link:
http://forum.odroid.com/viewtopic.php?f=139&t=20001
Paint
 
Posts: 88
Joined: Tue Mar 15, 2016 7:41 am
languages_spoken: English
ODROIDs: C2 with 64gb eMMC

Re: RTC battery C2

Unread postby Digimaster » Wed Apr 06, 2016 3:32 pm

Happy to see you doing something on rtc thing.
I'll buy Odroid's rtc even if it costs 2-3 times much, but fits on board without overlapping heathink.
User avatar
Digimaster
 
Posts: 217
Joined: Tue Feb 26, 2013 4:16 pm
Location: Moscow, Russia
languages_spoken: english, russian
ODROIDs: U2, X2, U3, C1, C2, XU4 × 300+

Re: RTC battery C2

Unread postby odroid » Wed Apr 06, 2016 5:19 pm

We've made some samples and it works well. I think we can start to sell it 1~2 weeks later with some Linux/Android device driver updates.

There is no overlapping with the stock heat sink.
Backup battery is replaceable. (one coin-cell(CR2032) is included)
Can be installed into the official plastic case.
But it is too expensive. It is US$5. :o

s_RTCforC2A.jpg
(307.93 KiB) Downloaded 4483 times

s_RTCforC2C.jpg
(308.17 KiB) Downloaded 4483 times

s_RTCforC2B.jpg
(333.7 KiB) Downloaded 4483 times

s_RTCforC2F.jpg
(375.38 KiB) Downloaded 4483 times
User avatar
odroid
Site Admin
 
Posts: 28521
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: RTC battery C2

Unread postby Digimaster » Wed Apr 06, 2016 5:51 pm

I'll buy it anyway. Good connector construction, full linux support, one second installation, are matter.

I hope you'll put it on board next revision.
User avatar
Digimaster
 
Posts: 217
Joined: Tue Feb 26, 2013 4:16 pm
Location: Moscow, Russia
languages_spoken: english, russian
ODROIDs: U2, X2, U3, C1, C2, XU4 × 300+

Re: RTC battery C2

Unread postby RoDuS » Sun Apr 10, 2016 6:33 pm

I dont think it will affect the overall cost. Any one who wants one of these fully functional is going to have to spend several hundred dollars on a ton of accessories any way.
Total linux newb. But I did figure out: Odroid c2 = BROKEN.

I've asked this question in private message with no answer, can you answer it publicly?

What does hk/odroid sell that works? what boards actually work? work like every other current sbc on the planet that is? are all the boards broken like c2 or do some work a little? do any fully function? is it just broken arm64 you sell or are all the arm32 broken also? Do you sell any thing besides over priced paper weights?
RoDuS
 
Posts: 27
Joined: Fri Jul 31, 2015 9:32 am
languages_spoken: english
ODROIDs: c2 aka piece of shit

Re: RTC battery C2

Unread postby RoDuS » Sun Apr 10, 2016 6:37 pm

What about suptronic x-series (x105, x200, x205, etc..) expansion boards? they all have RTC and alot of nice options, for the Raspberry Pi..... with the boards work on c2?
Total linux newb. But I did figure out: Odroid c2 = BROKEN.

I've asked this question in private message with no answer, can you answer it publicly?

What does hk/odroid sell that works? what boards actually work? work like every other current sbc on the planet that is? are all the boards broken like c2 or do some work a little? do any fully function? is it just broken arm64 you sell or are all the arm32 broken also? Do you sell any thing besides over priced paper weights?
RoDuS
 
Posts: 27
Joined: Fri Jul 31, 2015 9:32 am
languages_spoken: english
ODROIDs: c2 aka piece of shit

Re: RTC battery C2

Unread postby phaseshifter » Mon Apr 11, 2016 11:32 pm

if you are running the C-2 and the r.t.c battery and the dac hi-fi shield
then you need to space the hi-fi sheild on 20 mm spacers or close to that and make a loom to fit it up or get a header riser

@hardkernel
some ingenuity will be required for the r.t.c and the dac hi-fi
odroid N-1 16Gb emmc orange..
phaseshifter
 
Posts: 2877
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: N-1..c1+ ..c-2..xu3 lite,xu4...u-3..
u-2...other odroid acc`s as well

Re: RTC battery C2

Unread postby odroid » Tue Apr 12, 2016 9:08 am

You may try a DIY soldering. ;)
User avatar
odroid
Site Admin
 
Posts: 28521
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: RTC battery C2

Unread postby phaseshifter » Wed Apr 13, 2016 1:10 pm

allready for the rtc module..i made 50 mm stand off`s and a loom so i await the rtc..to be available will be putting in an order real soon as they are ready 4 sale.. will post some pics as soon as i get a new phone
odroid N-1 16Gb emmc orange..
phaseshifter
 
Posts: 2877
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: N-1..c1+ ..c-2..xu3 lite,xu4...u-3..
u-2...other odroid acc`s as well

Re: RTC battery C2

Unread postby NickK-UK » Tue Apr 19, 2016 1:59 am

Hmm annoyingly the UK distributor's website allows you to order "Odroid RTC Backup Battery RTC Backup Battery" which obviously will not work nor provide any RTC backup..

The idea my C2 will be for controlling a telescope and mount with the express idea of fast setup so having to set the clock each time from remote locations will be a PITA.
NickK-UK
 
Posts: 59
Joined: Tue Apr 19, 2016 1:43 am
languages_spoken: english
ODROIDs: ODroid-C2, Show

Re: RTC battery C2

Unread postby phaseshifter » Tue Apr 19, 2016 2:07 am

it is the "battery only" it is for the earlier boards ..it is the backup power to keep the rtc in time ..it`s not the rtc module..
hopefully the module will be on sale very soon..
odroid N-1 16Gb emmc orange..
phaseshifter
 
Posts: 2877
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: N-1..c1+ ..c-2..xu3 lite,xu4...u-3..
u-2...other odroid acc`s as well

Re: RTC battery C2

Unread postby odroid » Tue Apr 19, 2016 10:25 am

We need a couple of weeks to complete the some driver/configuration code development for Ubuntu and Android OSes.
Once we make it, we will start to sell the RTC module.
User avatar
odroid
Site Admin
 
Posts: 28521
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: RTC battery C2

Unread postby NickK-UK » Tue Apr 19, 2016 4:00 pm

phaseshifter wrote:it is the "battery only" it is for the earlier boards ..it is the backup power to keep the rtc in time ..it`s not the rtc module..
hopefully the module will be on sale very soon..


Yup, just was a little irksome. RTC for real embedded use is very useful.
NickK-UK
 
Posts: 59
Joined: Tue Apr 19, 2016 1:43 am
languages_spoken: english
ODROIDs: ODroid-C2, Show

Re: RTC battery C2

Unread postby blackride » Sat May 21, 2016 11:17 am

odroid wrote:We need a couple of weeks to complete the some driver/configuration code development for Ubuntu and Android OSes.
Once we make it, we will start to sell the RTC module.

Hello Dear friend. I buy original RTC Shield for odroid c2. I set in GPIO, but he does working after reboot Libreelec.
How to make work of module in Libreelec?

Thank you
Oroid C2/LibreELEC 7
User avatar
blackride
 
Posts: 49
Joined: Thu Feb 11, 2016 2:32 am
languages_spoken: english & russian
ODROIDs: Odroid C2

Re: RTC battery C2

Unread postby odroid » Mon May 23, 2016 10:21 am

Can you find "aml_i2c.ko" and "rtc-pcf8563.ko" files?
If you can't find them, request it to LibreElec developers.
http://odroid.com/dokuwiki/doku.php?id= ... figuration
User avatar
odroid
Site Admin
 
Posts: 28521
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: RTC battery C2

Unread postby KC7NOA » Fri Jun 03, 2016 2:39 pm

Just poking around this evening ...

Was wondering on the progress of a RTC ... even if its not one from HK ....
KC7NOA
 
Posts: 833
Joined: Wed Feb 27, 2013 2:25 pm
languages_spoken: english
ODROIDs: Odroid-X2(blown HDMI output)
Odroid-C2 to replace X2

Re: RTC battery C2

Unread postby blackride » Fri Jun 03, 2016 11:19 pm

odroid wrote:Can you find "aml_i2c.ko" and "rtc-pcf8563.ko" files?
If you can't find them, request it to LibreElec developers.
http://odroid.com/dokuwiki/doku.php?id= ... figuration

Module is work in libreelec, but hwclock -s in autostart.sh don't work.
I'm push comand hwclock -s and this is work, but in autostart.sh don't work. Why?
Oroid C2/LibreELEC 7
User avatar
blackride
 
Posts: 49
Joined: Thu Feb 11, 2016 2:32 am
languages_spoken: english & russian
ODROIDs: Odroid C2

Re: RTC battery C2

Unread postby Eliotness » Wed Jun 08, 2016 1:56 am

KC7NOA wrote:Just poking around this evening ...

Was wondering on the progress of a RTC ... even if its not one from HK ....


RTC is available now. Please check the store.
Eliotness
 
Posts: 6
Joined: Tue Apr 19, 2016 11:01 pm
languages_spoken: English,German
ODROIDs: C-2

Re: RTC battery C2

Unread postby odroid » Wed Jun 08, 2016 10:16 am

blackride wrote:
odroid wrote:Can you find "aml_i2c.ko" and "rtc-pcf8563.ko" files?
If you can't find them, request it to LibreElec developers.
http://odroid.com/dokuwiki/doku.php?id= ... figuration

Module is work in libreelec, but hwclock -s in autostart.sh don't work.
I'm push comand hwclock -s and this is work, but in autostart.sh don't work. Why?


You might need to check log files such as dmesg output.
User avatar
odroid
Site Admin
 
Posts: 28521
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: RTC battery C2

Unread postby mcloaked » Thu Jun 09, 2016 12:08 am

I have a new odroid-c2 and have the rtc shield. I am not sure how to set up using the rtc. Some details are that the rtc shield is pcf8563 by NXP and am running arch linux arm on the odroid. I have checked the modules as per:

Code: Select all
[root@odroid-c2 ~]# modinfo aml_i2c
filename:       /lib/modules/3.14.65-8-ARCH/kernel/drivers/amlogic/i2c/aml_i2c.ko.gz
license:        GPL
description:    I2C driver for amlogic
author:         AMLOGIC
depends:       
intree:         Y
vermagic:       3.14.65-8-ARCH SMP preempt mod_unload aarch64
[root@odroid-c2 ~]# modinfo rtc-pcf8563
filename:       /lib/modules/3.14.65-8-ARCH/kernel/drivers/rtc/rtc-pcf8563.ko.gz
version:        0.4.3
license:        GPL
description:    Philips PCF8563/Epson RTC8564 RTC driver
author:         Alessandro Zummo <a.zummo@towertech.it>
srcversion:     0F5F66E259F9C7FC908586C
alias:          i2c:rtc8564
alias:          i2c:pcf8563
alias:          of:N*T*Cnxp,pcf8563*
depends:       
intree:         Y
vermagic:       3.14.65-8-ARCH SMP preempt mod_unload aarch64


and there is some data at http://www.nxp.com/documents/data_sheet/PCF8563.pdf on the device. There also seems to be some setup info at http://odroid.com/dokuwiki/doku.php?id= ... figuration for linux but when I run hwclock -r I get

Code: Select all
[root@odroid-c2 ~]# hwclock -r
hwclock: Cannot access the Hardware Clock via any known method.
hwclock: Use the --debug option to see the details of our search for an access method.


So I guess the modules aren't loaded.

I tried to insert the module using

Code: Select all
[root@odroid-c2 ~]# insmod rtc-pcf8563
insmod: ERROR: could not load module rtc-pcf8563: No such file or directory


But that didn't work. Does anyone have any hints on how to get this going?

Thanks.
mcloaked
 
Posts: 9
Joined: Wed Jun 08, 2016 11:57 pm
languages_spoken: english
ODROIDs: odroid-c2

Re: RTC battery C2

Unread postby odroid » Thu Jun 09, 2016 9:21 am

You need to use Kernel 3.14.65-66 or higher as described in the WiKi.
http://odroid.com/dokuwiki/doku.php?id= ... eparations

Update the kernel and system
http://odroid.com/dokuwiki/doku.php?id= ... and_system
User avatar
odroid
Site Admin
 
Posts: 28521
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: RTC battery C2

Unread postby mcloaked » Thu Jun 09, 2016 6:32 pm

I posted the same question on the archlinuxarm forum, and one of the arch linux arm users posted a reply there which enabled me to get the rtc working flawlessly on my odroid-c2. In case anyone else is running arch on their odroid-c2 with the rtc shield the way to get it working is detailed at:

https://archlinuxarm.org/forum/viewtopi ... 279#p52271
mcloaked
 
Posts: 9
Joined: Wed Jun 08, 2016 11:57 pm
languages_spoken: english
ODROIDs: odroid-c2

Re: RTC battery C2

Unread postby KC7NOA » Sat Jun 11, 2016 7:05 am

For those that dont have their RTC yet .... i found this program that stores the hwclock every so oftern .. so that when you reboot, the time isnt SOOOO far off ...

fake-hwclock I just loaded it .. ill see if it actually works soon ...

its in the repository .....
KC7NOA
 
Posts: 833
Joined: Wed Feb 27, 2013 2:25 pm
languages_spoken: english
ODROIDs: Odroid-X2(blown HDMI output)
Odroid-C2 to replace X2

Re: RTC battery C2

Unread postby KC7NOA » Sat Jun 11, 2016 7:40 am

Worked like its saposed to .... i would think that it should be included in the image ...
KC7NOA
 
Posts: 833
Joined: Wed Feb 27, 2013 2:25 pm
languages_spoken: english
ODROIDs: Odroid-X2(blown HDMI output)
Odroid-C2 to replace X2

Re: RTC battery C2

Unread postby llonca13 » Thu Jul 14, 2016 3:46 am

sorry for a noob question..i really tried to find answer on my own but i couldn't...

sooo can you please answer me what would be the benefit of using rtc module(except time and calendar when power off)..would this solve the problem that affected ARM64 linux (aarch64 timer vs meson timer)? ..or im totally off? :| please somebody answer. Thank you very much
llonca13
 
Posts: 12
Joined: Tue May 24, 2016 4:16 am
languages_spoken: english
ODROIDs: C2

Re: RTC battery C2

Unread postby odroid » Thu Jul 14, 2016 12:45 pm

The RTC module is useful only for some applications which need correct time/date without internet connection.
It is not related to the system timer.
User avatar
odroid
Site Admin
 
Posts: 28521
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: RTC battery C2

Unread postby llonca13 » Fri Jul 15, 2016 2:32 am

ok.thanks
llonca13
 
Posts: 12
Joined: Tue May 24, 2016 4:16 am
languages_spoken: english
ODROIDs: C2

Re: RTC battery C2

Unread postby phaseshifter » Sat Jul 23, 2016 4:04 pm

i found that google wont sync up unless the correct time is set...and will throw an untrusted connection and wont allow you to search...
odroid N-1 16Gb emmc orange..
phaseshifter
 
Posts: 2877
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: N-1..c1+ ..c-2..xu3 lite,xu4...u-3..
u-2...other odroid acc`s as well

Re: RTC battery C2

Unread postby mysterd » Sat Aug 06, 2016 12:32 am

Hello.

Just a small post to know if there is now a recommended way to use the Hifi Shield and the RTC shield at the same time.

Do you have any neat solution ?

Thanks

Myster D
mysterd
 
Posts: 42
Joined: Wed Jul 06, 2016 1:38 am
languages_spoken: english
ODROIDs: C2

Re: RTC battery C2

Unread postby phaseshifter » Sat Aug 06, 2016 12:42 am

get an 7 pin hedder adapter and some 20/25mm stand off`s so as to raise the hifi sheild
allowing space for the rtc module

viewtopic.php?f=118&t=22781
odroid N-1 16Gb emmc orange..
phaseshifter
 
Posts: 2877
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: N-1..c1+ ..c-2..xu3 lite,xu4...u-3..
u-2...other odroid acc`s as well

Re: RTC battery C2

Unread postby mysterd » Mon Aug 08, 2016 1:56 am

Thank you very much for your precise answer !

Best regards

Myster-D


phaseshifter wrote:get an 7 pin hedder adapter and some 20/25mm stand off`s so as to raise the hifi sheild
allowing space for the rtc module

viewtopic.php?f=118&t=22781
mysterd
 
Posts: 42
Joined: Wed Jul 06, 2016 1:38 am
languages_spoken: english
ODROIDs: C2

Re: RTC battery C2

Unread postby KC7NOA » Sun Nov 06, 2016 2:46 pm

there was a post just a few hours ago to this thread .. not its gone ... hummm ....

reminds me that i still need to wire up my RTC ... one that i got off of ebay ...

what was rc.d ntp ?
KC7NOA
 
Posts: 833
Joined: Wed Feb 27, 2013 2:25 pm
languages_spoken: english
ODROIDs: Odroid-X2(blown HDMI output)
Odroid-C2 to replace X2

Re: RTC battery C2

Unread postby KC7NOA » Wed Jun 13, 2018 2:00 pm

any suggestions to use the DS1307 anyways?
KC7NOA
 
Posts: 833
Joined: Wed Feb 27, 2013 2:25 pm
languages_spoken: english
ODROIDs: Odroid-X2(blown HDMI output)
Odroid-C2 to replace X2

Re: RTC battery C2

Unread postby KC7NOA » Mon Jun 18, 2018 5:24 am

Are there any pictures with the 1307 on an or Droid C2??
KC7NOA
 
Posts: 833
Joined: Wed Feb 27, 2013 2:25 pm
languages_spoken: english
ODROIDs: Odroid-X2(blown HDMI output)
Odroid-C2 to replace X2

Re: RTC battery C2

Unread postby tobetter » Mon Jun 18, 2018 10:40 am

From Google, I've found many examples to use DS1307 with Raspberry Pi. I2C bus would be able to run on 3.3V GPIO as well while DS1307 requires 5V power. If you are concerning the damage on I2C bus because of 5V, you could consider putting a level shifting circuit for SDA. Other than hardware connection, everything else would be same with other RTC examples for ODROID-C2.
tobetter
 
Posts: 2238
Joined: Mon Feb 25, 2013 10:55 am
Location: Paju, South Korea
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1

Re: RTC battery C2

Unread postby KC7NOA » Fri Jun 22, 2018 11:57 am

Was not sure if the PI and C2 did have those same pins
Turns out its a PFC8563t NXP
KC7NOA
 
Posts: 833
Joined: Wed Feb 27, 2013 2:25 pm
languages_spoken: english
ODROIDs: Odroid-X2(blown HDMI output)
Odroid-C2 to replace X2

Re: RTC battery C2

Unread postby KC7NOA » Fri Jun 22, 2018 1:08 pm

is the RTC already in the kernel ....

if so, is the odroid wiki still accurate?
KC7NOA
 
Posts: 833
Joined: Wed Feb 27, 2013 2:25 pm
languages_spoken: english
ODROIDs: Odroid-X2(blown HDMI output)
Odroid-C2 to replace X2

Re: RTC battery C2

Unread postby KC7NOA » Sat Jun 23, 2018 3:47 pm

[imgur]http://i.imgur.com/PDZgQQw.jpg[imgur]Its working ....

I thought you needed to rebuild the kernel .... but no you do not.

http://i.imgur.com/PDZgQQw.jpg

Stupid image was huge ... need to find a better way to post an image
KC7NOA
 
Posts: 833
Joined: Wed Feb 27, 2013 2:25 pm
languages_spoken: english
ODROIDs: Odroid-X2(blown HDMI output)
Odroid-C2 to replace X2


Return to Hardware and peripherals

Who is online

Users browsing this forum: No registered users and 0 guests