I have 2 i2c devices connected on my picore system. It seems like something is wrong because when I try to access the devices after a bootup I get device busy error message from python script trying to access.
self._bus.write_byte_data(self._addr, register, data)
IOError: [Errno 16] Device or resource busy
If I
modeprobe -r i2c_bcm2708
and then
modprobe i2c_bcm2708
it works. It seems there is some kind of conflict somewhere but I don't know what.
The devices are an LCD char display and a ds3231 RTC module that also does temp.
I am also having a problem that the RTC does not keep the time over a powerdown which seems like a battery issue but can it be related?