Home

aliazzz
There is a newer version of this page. You can find it here.

Project Members:

[TOC]

I2C MCP7941x Battery Backed SRAM

Library containing support for Battery Backed SRAM support provided by realtime clock MCP7941x.

Changelog

v0.0.2.1 under construction

devdescr.xml: vendor id set to 0003, device id set to 0009, see https://forge.codesys.com/drv/io-drivers/database/Home/ for details.

    <DeviceIdentification>
      <Type>500</Type>
      <Id>0003 0009</Id>
      <Version>0.0.2.1</Version>
    </DeviceIdentification>

v0.0.0.1 initial version

i2c address setting

install i2c tools

sudo apt-get update
sudo apt-get install i2c-tools

RTC i2c address

Be sure the RTC is attached.

  • Run sudo i2cdetect -y 0 => You should now see a table with the connected i2c slave address.
  • If Run sudo i2cdetect -y 0 does not work, Run sudo i2cdetect -y 1

If "UU" shows, probing was skipped because this address is currently in use by a driver. This strongly suggests that there is a chip at this address.