mitlabence / ESUM

Firmware and bootloader for the energy sum modules at the Crystal Barrel Experiment.
0 stars 1 forks source link

I2C read pointer incrementing too much #3

Open jmuellers opened 2 years ago

jmuellers commented 2 years ago

When writing register pointer 0x00 and reading 4 bytes, the content of registers 00,01,02,03 is returned. A successive read of another 4 bytes now returns the registers 05,06,07,08. Expectation: 04,05,06,07 should be returned.

Can be circumvented by setting the register pointer before every read access. In this case works as expected.