[riot-commits] [RIOT-OS/RIOT] db2506: cpu/kinetis_common/periph/i2c.c: fix generating th...

Johann Fischer jfischer-phytec-iot at users.noreply.github.com
Thu Mar 17 12:53:25 CET 2016


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: db2506822f2fb98dd23eb3be2222ad20ca732a46
      https://github.com/RIOT-OS/RIOT/commit/db2506822f2fb98dd23eb3be2222ad20ca732a46
  Author: Johann Fischer <j.fischer at phytec.de>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

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

  Log Message:
  -----------
  cpu/kinetis_common/periph/i2c.c: fix generating the STOP signal

This patch fix the bug in _i2c_receive. The STOP signal should be
generated before the reading from the data register because the
receiving of the next byte will be initiated by reading
the data register (dev->D).


  Commit: 0b2ffc212da1cf70f66de208e20ddbb1355f9108
      https://github.com/RIOT-OS/RIOT/commit/0b2ffc212da1cf70f66de208e20ddbb1355f9108
  Author: Johann Fischer <jfischer-phytec-iot at users.noreply.github.com>
  Date:   2016-03-17 (Thu, 17 Mar 2016)

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

  Log Message:
  -----------
  Merge pull request #5075 from jfischer-phytec-iot/pr at kinetis-i2c

cpu/kinetis_common/periph/i2c.c: fix generating the STOP signal


Compare: https://github.com/RIOT-OS/RIOT/compare/93bce6291c52...0b2ffc212da1


More information about the commits mailing list