[riot-notifications] [RIOT-OS/RIOT] ds1307: multiple read/write regs don't increment pointer (#10318)

MrKevinWeiss notifications at github.com
Fri Nov 2 15:07:01 CET 2018


#### Description
On the ds1307 RTC the pointer doesn't seem to increment when trying to i2c_read_reg or i2c_write_reg.  As well as the reg 15 seems to have some issue either reading or writing.

#### Steps to reproduce the issue
`BOARD=iotlab-m3 make flash term -C tests/periph_i2c/`
`i2c_read_regs 0 104 0 2 0`

#### Expected results
`i2c_0 read 2 byte(s) from reg 0x00 : [0x42, 0x10]`
Since it is an RTC values could be the same, just increase read amount to a larger number, a different number should be expected.
#### Actual results
`i2c_0 read 2 byte(s) from reg 0x00 : [0x42, 0x42]`



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/issues/10318
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20181102/5f02cc8c/attachment.html>


More information about the notifications mailing list