2018-07-25 11:12 PM
So I have written some code and gotten it partially to work. But after running for a few seconds with an I2C master sending requests and the STM32L433 responding, it receives an address match for the slave to receive and then the receive is terminated by a stop condition. It then proceeds with an address match for the slave to transmit and then that is terminated by a stop. At this point, both SCL and SDA are being held low by the STM32L433. I've confirmed this with a logic analyzer, seeing that the STML433 responded properly to the previous command but then a new one is sent followed by a request for data and the lines end up being low from there.
My code on the microcontroller still seems to be running as in a main loop, I blink an LED periodically.
At this point, I have code that just parrots back the register being sent in the I2C communication so there is no processing to speak of happening in the ISR.
Thanks,
David
2018-08-09 08:55 PM
@ST Community any FAEs want to cover this?