Hello,
we've encountered a problem with the A9X module and its RTC that occurs on some modules.
It's possible that it happens on all modules, but due to the random nature of the problem, I cannot say it for sure.
Randomly (at least we couldn't specify under which condition it happens) RTC PFC8563 is not found after linux boot is finished.
Sometimes it occures after 200-500 ms reset, but other times it happens even after the power is off for like 10 seconds or more.
When linux starts, the driver fails with a reading error from the RTC - is is the first time driver reads from this circuit.
Here is a selection from the system event log:
[ 0.655499] rtc-pcf8563 2-0051: chip found, driver version 0.4.3
[ 0.763043] rtc-pcf8563 2-0051: pcf8563_read_block_data: read error
[ 0.763133] rtc-pcf8563 2-0051: pcf8563_probe: read error
[ 0.763195] rtc-pcf8563: probe of 2-0051 failed with error -5
[ 1.946588] hctosys: unable to open rtc device (rtc0)
The observed supply voltage of the module and the PONRES signal correspond to the desired behavior, we did not find any incorrect values on them.
While searching for the cause, we "sacrificed" one module and soldered the probes directly to the RTC circuit.
When this problem occurs, then communication via I2C looks like this:
The address byte 0x51 is fine, but the register address byte (0x01) has its 8th bit "truncated".
It looks as if the I2C slave (RTC) pulled the data to 0 in an attempt to ACK one clock pulse earlier.
Thanks for some the advice.
Kamil