• Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
HomepcDuinopcDuino Hardware ExperimentsHow to Change AXP209 Registers ?
Previous Next

How to Change AXP209 Registers ?

Posted by: Yang , September 14, 2014

The AXP209 used on the pcDuino3 has a pin (30) for connecting a backup battery for the RTC. I have successfully soldered on a 3V rechargeable battery to that pin and it is correctly allowing the internal RTC of the A20 to keep ticking – left it overnight unplugged and the time was correct this morning (no network connection).

There is however a problem. The default value for the backup battery register (0x35) is set to disable charging of the battery. I need to enable it by writing the value 0xA3 to this register.

Does anyone know how to write to a registers on the PMU?

sudo apt-get install i2c-tools
sudo i2cset -f -y 0 0x34 0x35 0xA3

Just a follow up. This is still working fine.

I’ve attached a picture of how I attached the battery to the board. It’s a tad fiddly, but do-able.

Backup Battery

 

Thanks User  ” TCWORLD”  from  http://pcduino.com/forum/index.php?topic=4511.0

Share!
Tweet

Yang

About the author

Leave a Reply Cancel reply

You must be logged in to post a comment.

Category

  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors