thank you so much for your help.
It turns out that the issue is inside my Makefile: I had
Code: Select all
USE_FPU=hard
I'm not 100% sure why the FPU would break an I2C transaction, but I'm glad that it works when I disable it.
Moderators: RoccoMarco, barthess
Code: Select all
USE_FPU=hard
Code: Select all
HardFault_Handler exceptionvectors.c:63
<signal handler called> 0x00000000ffffffed
_idle_thread chcore_v7m.h:774
<unknown> 0x0000000001000000
Code: Select all
isFaultPrecise = {_Bool} true
isFaultAddressValid = {_Bool} true
Code: Select all
❯ arm-none-eabi-gcc --version
arm-none-eabi-gcc (GNU Arm Embedded Toolchain 9-2020-q2-update) 9.3.1 20200408 (release)
❯ git st
## stable_20.3.x...origin/stable_20.3.x
❯ git rev-parse HEAD
5f523dc8e95d7ff6c6daf3bc41531cae7285cbdf
Users browsing this forum: No registered users and 14 guests