[riot-commits] [RIOT-OS/RIOT] 414be5: cpu/stm32f1: fix i2c master read for N>2 bytes

Hauke Petersen mail at haukepetersen.de
Thu Oct 30 23:24:01 CET 2014


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 414be5257d6b8c0449a7987bb44ab02c060da8af
      https://github.com/RIOT-OS/RIOT/commit/414be5257d6b8c0449a7987bb44ab02c060da8af
  Author: Thomas Eichinger <thomas.eichinger1 at gmail.com>
  Date:   2014-10-24 (Fri, 24 Oct 2014)

  Changed paths:
    M cpu/stm32f1/periph/i2c.c

  Log Message:
  -----------
  cpu/stm32f1: fix i2c master read for N>2 bytes

This fixes reading more than 2 bytes from the slave device.
In the current implementation the last byte was not read from
data register and the termination sequence buggy.


  Commit: ede33a6364b5b42edd2597c28f25ef937d5fc60d
      https://github.com/RIOT-OS/RIOT/commit/ede33a6364b5b42edd2597c28f25ef937d5fc60d
  Author: Thomas Eichinger <thomas.eichinger1 at gmail.com>
  Date:   2014-10-24 (Fri, 24 Oct 2014)

  Changed paths:
    M cpu/stm32f1/periph/i2c.c

  Log Message:
  -----------
  cpu/stm32f1: fix i2c read for N=2 bytes


  Commit: 56062b0f238322d41deb2dd92bc1b626b8dfa4f3
      https://github.com/RIOT-OS/RIOT/commit/56062b0f238322d41deb2dd92bc1b626b8dfa4f3
  Author: Hauke Petersen <mail at haukepetersen.de>
  Date:   2014-10-30 (Thu, 30 Oct 2014)

  Changed paths:
    M cpu/stm32f1/periph/i2c.c

  Log Message:
  -----------
  Merge pull request #1872 from thomaseichinger/stm32f1-i2c-multibyte-fix

cpu/stm32f1: fix i2c master read for N=2 and N>2 bytes


Compare: https://github.com/RIOT-OS/RIOT/compare/feb550f17ad8...56062b0f2383


More information about the commits mailing list