RIOT-OS / RIOT

RIOT - The friendly OS for IoT
https://riot-os.org
GNU Lesser General Public License v2.1
4.93k stars 1.99k forks source link

stm32common i2c_1.c cannot write multiple registers (new i2c api) #9461

Closed MrKevinWeiss closed 6 years ago

MrKevinWeiss commented 6 years ago

Description

Cannot write multiple registers, it seems it gets locked up. I think @aabadie has a solution already that works. (This may be fixed, I won't have HW to fix until Monday, I just wanted it documented somewhere)

Steps to reproduce the issue

Write multiple registers to a sensor with any stm32f0/3/7 and l0/4. I used stm32f303 to test

Expected results

For it not to hang

Actual results

automated test It hangs

Versions

new_i2c_if branch

dylad commented 6 years ago

@MrKevinWeiss Does #9476 fix this issue ?

MrKevinWeiss commented 6 years ago

Yup #9476 points out other issues but it is at a usable state.