-
Notifications
You must be signed in to change notification settings - Fork 1k
I2C slave failed #212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
bug 🐛
Something isn't working
Comments
Hi @larsstenberg |
fpistm
added a commit
to fpistm/Arduino_Core_STM32
that referenced
this issue
Feb 2, 2018
Fix stm32duino#212 Signed-off-by: Frederic.Pillon <[email protected]>
Merged
Hi @larsstenberg |
fpistm
added a commit
to fpistm/Arduino_Core_STM32
that referenced
this issue
Feb 2, 2018
Fix stm32duino#212 Signed-off-by: Frederic.Pillon <[email protected]>
benwaffle
pushed a commit
to benwaffle/Arduino_Core_STM32
that referenced
this issue
Apr 10, 2019
Fix stm32duino#212 Signed-off-by: Frederic.Pillon <[email protected]>
benwaffle
pushed a commit
to benwaffle/Arduino_Core_STM32
that referenced
this issue
Apr 10, 2019
Fix stm32duino#212 Signed-off-by: Frederic.Pillon <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
BOARD: NUCLEO-F091RC
Connected a NanoPi Neo Air (master) with the nucleo when running i2cset-y 0 0x09 on the NPI the nucleo hangs. Serial stops, blinking stop. It just freezes.
Code running on the nucleo:
and changing
allocateRxBuffer
to static.Now the freeze stopped.
Changing line 541 in twi.c
from:
nbData = I2C_TXRX_BUFFER_SIZE - obj->handle.XferCount;
to:
nbData = I2C_TXRX_BUFFER_SIZE - obj->handle.XferSize;
Seems to correct the problem.
Am I doing something wrong or this a actual bug?
The text was updated successfully, but these errors were encountered: