Is it possible to use the RTC module in Android?


(Milton) #1

Hi, is it possible to use the Banana PI real time clock module in Android? I am using the M1+ version with Android 4.2.

Here is the module from SinoVoip shop: http://www.aliexpress.com/store/product/BPI-RTC-module-for-Banana-Pi-can-use-on-Raspberry-pi-FREE-Shipment/302756_32228201121.html


(snafutzz) #2

Hi saunter,

looking at the BPI-M1+ schematics it seems that the A20 and its power management companion chip PMU AXP209 already have all is needed to run the RTC included in the A20 even when the power is down.

So probably you don’t need to buy an external module.

It seems that the PCB battery (BAT2 component in the schematic, type NC\XH414H) is simply not populated. Moreover there should be an external RTC battery connector (BAT1 component in the schematic) which is as well not populated in the board. If you look on the bottom side of your BPI-M1+ you should find soldering plates that in principle can host the battery and the external battery connector, they are placed near the SD card slot.

Soldering two wires to BAT1 and using a coin cell battery should do the work from an hardware point of view.

I don’t know which is the sunxi A20 kernel support for internal RTC, I’ve never tested.

I was interested in RTC too but I didn’t have time to experiment this.

Can someone from sinovoip check this from hw and sw point of view?

Regards Snafutzz


(bpi team) #3

how to use RTC module :

https://bananapi.gitbooks.io/bpi-accessories/content/rtcmodule.html


#4

The above link gives “Page Not Found”


(bpi team) #5

please see wiki , all document will keep update on wiki page:

http://wiki.banana-pi.org/BPI_RTC_real_time_Module