RTC Shield problem

Moderators: odroid, mdrjr

RTC Shield problem

Unread postby cioralut » Sat Feb 11, 2017 12:10 am

Hi odroid team.
I have ODROID-C2 with android 5.1.1 firmware version 2.04 (master 257).
Can RTC Shiled function with this version? I try it but it doesn't work :cry:
In your site http://odroid.com/dokuwiki/doku.php?id=en:pcf8563rtc there is a guide for Android but only for Android 5.1 V2.8 and V2.9 images only...
Unfortunately I can not use the last firmware version because I have some problems with ethernet UDP broadcast and USB touch screen driver from version 2.5 ( see this post http://forum.odroid.com/viewtopic.php?f=137&t=23629 )

Best regards

Daniele
cioralut
 
Posts: 54
Joined: Sat Oct 03, 2015 10:54 pm
languages_spoken: english
ODROIDs: ODROID C1+ and ODROID C2
Location: Italy

Re: RTC Shield problem

Unread postby odroid » Mon Feb 13, 2017 9:07 am

Try the latest Android 6.0 (v2.0) image.
http://odroid.com/dokuwiki/doku.php?id= ... allow_v2.0
User avatar
odroid
Site Admin
 
Posts: 21349
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: RTC Shield problem

Unread postby cioralut » Mon Feb 13, 2017 5:58 pm

The batteries were low!
With the version android 5.1.1 2.04 after a reboot the RTC set the date and time but doesn't set the GMT!
For example:
Hong Kong --> 13 Feb 2017 16:13 AFTER REBOOT Hong Kong --> 13 Feb 2017 08:14 It is not added the +08:00 GMT

With the version android 5.1.1 3.00 the RTC function correctly but I had remove /storage/internal/boot.ini file and reboot system to get it going.
cioralut
 
Posts: 54
Joined: Sat Oct 03, 2015 10:54 pm
languages_spoken: english
ODROIDs: ODROID C1+ and ODROID C2
Location: Italy

Re: RTC Shield problem

Unread postby rooted » Tue Feb 14, 2017 10:45 am

@odroid

From now on I think step one of debugging RTC issue is check CR voltage :)
User avatar
rooted
 
Posts: 3176
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
ODROIDs: C1
C1+
C2
XU3 Lite
XU4
VU7+
HiFi Shield 2
Smart Power (original)
Website: http://bit.ly/gitprimed
Location: Gulf of Mexico, US

Re: RTC Shield problem

Unread postby cioralut » Tue Feb 14, 2017 4:54 pm

Hi rootet.
Sorry but I don't understand your response ... :?:
cioralut
 
Posts: 54
Joined: Sat Oct 03, 2015 10:54 pm
languages_spoken: english
ODROIDs: ODROID C1+ and ODROID C2
Location: Italy

Re: RTC Shield problem

Unread postby rooted » Wed Feb 15, 2017 3:34 am

Lately there were a few RTC issues, I was smiling but being authentic. Perhaps some of the other issues are a low/dead battery.
User avatar
rooted
 
Posts: 3176
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
ODROIDs: C1
C1+
C2
XU3 Lite
XU4
VU7+
HiFi Shield 2
Smart Power (original)
Website: http://bit.ly/gitprimed
Location: Gulf of Mexico, US

Re: RTC Shield problem

Unread postby cioralut » Thu Feb 16, 2017 5:56 pm

It's incredible :shock:
I have 2 RTC SHIELD and both discharge the batteries in 1-2 days...

In the board there is writen:
PCF8563
RTC SHIELD
REV 0.1 20160302
cioralut
 
Posts: 54
Joined: Sat Oct 03, 2015 10:54 pm
languages_spoken: english
ODROIDs: ODROID C1+ and ODROID C2
Location: Italy

Re: RTC Shield problem

Unread postby odroid » Fri Feb 17, 2017 11:45 am

The battery should run 2~3 years at least.

Did you measure the battery voltage with a DMM?
User avatar
odroid
Site Admin
 
Posts: 21349
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: RTC Shield problem

Unread postby cioralut » Fri Feb 17, 2017 6:07 pm

Yes.
I've already changed 2 batteries for both...
cioralut
 
Posts: 54
Joined: Sat Oct 03, 2015 10:54 pm
languages_spoken: english
ODROIDs: ODROID C1+ and ODROID C2
Location: Italy

Re: RTC Shield problem

Unread postby rooted » Fri Feb 17, 2017 10:44 pm

Are the batteries you are replacing them with good batteries (Panasonic, Sony, etc..) or cheap Chinese junk?
User avatar
rooted
 
Posts: 3176
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
ODROIDs: C1
C1+
C2
XU3 Lite
XU4
VU7+
HiFi Shield 2
Smart Power (original)
Website: http://bit.ly/gitprimed
Location: Gulf of Mexico, US

Re: RTC Shield problem

Unread postby cioralut » Sat Feb 18, 2017 1:59 am

Energizer, Maxell, Sony, 3 VOLTS code 2032
It is clear that there is a hardware problem. Probably I am unlucky and my 2 RTC SHIELD are bad.
cioralut
 
Posts: 54
Joined: Sat Oct 03, 2015 10:54 pm
languages_spoken: english
ODROIDs: ODROID C1+ and ODROID C2
Location: Italy

Re: RTC Shield problem

Unread postby rooted » Sat Feb 18, 2017 2:29 am

It's extremely unlikely that you have two bad shields but I can't think of any reason other than hardware that would cause the battery to go dead in a short time.
User avatar
rooted
 
Posts: 3176
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
ODROIDs: C1
C1+
C2
XU3 Lite
XU4
VU7+
HiFi Shield 2
Smart Power (original)
Website: http://bit.ly/gitprimed
Location: Gulf of Mexico, US

Re: RTC Shield problem

Unread postby odroid » Sat Feb 18, 2017 10:55 am

We already shipped 4~5K of RTC Shield boards and there were only 3~4 defective ones.
So it should be really low possibility that you bought two damaged RTC Shields.

We will measure the RTC battery discharging rate when Android 5.1 V3.3 latest image in running mode as well as in shutdown mode early next week.
User avatar
odroid
Site Admin
 
Posts: 21349
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: RTC Shield problem

Unread postby odroid » Mon Feb 20, 2017 12:21 pm

We cleanly installed Android 5.1 V3.3 image and measured the power consumption.
When C2 turns on, it consumes less than 1uA.
When C2 turns off, it consumes around 15uA.

According to CR2032 Panasonic datasheet, its nominal capacity is 225mAh.
http://www.cr2032.co/cms/prodimages/pan ... asheet.pdf
So its backup time could be around 15000 hours (~ two years).
If on/off ratio is 1:1, it can be 3~4 years.

Can you check the initial voltage of the battery and keep measuring it in every couple of hours to know the power drain?
User avatar
odroid
Site Admin
 
Posts: 21349
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: RTC Shield problem

Unread postby cioralut » Tue Feb 21, 2017 4:59 pm

Ok I will make the measurements and then I will send you the results
cioralut
 
Posts: 54
Joined: Sat Oct 03, 2015 10:54 pm
languages_spoken: english
ODROIDs: ODROID C1+ and ODROID C2
Location: Italy


Return to ā€œ%sā€ Android

Who is online

Users browsing this forum: mr1173 and 1 guest