Well after hacking at the demo found out it was a coding error, the i2c slave example doesnt say anywhere that the buffer is written out automatically.Best if you distill the problem down to a minimum program and share the code, or troubleshoot step-by-step yourself, present some data here and see if anyone here can sort it out. Whether it is a CMake config thing or something lurking in the codebase, I don't think either issue is moving forward unless there is good troubleshooting data and we can start eliminating this or that.
i made the mistake of having a for loop that was putting the bytes out directly.
has OP posted their I2C specific code anywhere?
I have
Code:
pico_enable_stdio_usb(${PROJECT_NAME} 1)i couldve missed is maybe but has OP tried using a debugger?
Statistics: Posted by Noah0507 — Wed Jul 23, 2025 2:46 pm