In short:
Arduino Wire library fails to act as a Slave on at least STM32F103Cx , :
I also tried to ask Copilot for help, but that did not result in working code.
What I need is to recieve and respond to Write requests - much like the test app
issue at Arduino poster above.
I also tried the super-bloated STM32CubeMX, but that generated many files, and much code, including irrelevant code that was #ifdef’ed for other MCU series that I selected, with no clear way to use it.
Please point me to some source that I can use as example on how to recieve/respond to I2C slave requests. Something like the “wire” library from Arduino, or just code for IC2C1 /PB6/PB7
Requested for deletion of those.
Those look like the same for you, but those are in very different phases of the the troubleshooting, in the beginning I had no clue why this happened, now I need help on how to workaround it.