2025-11-27 2:20 AM - last edited on 2025-11-27 2:41 AM by Andrew Neil
Hi,
I want my slave device to be able to sniff packets destined for other slaves on the same bus. At the moment, communication management is based on HAL with interrupts, and I can see when the master sends requests to me because I enter the address match interrupt.
I would like to take a step back and see where a wrong address is discarded, before answering with a NACK.
I want my slave to be able to understand when the packets are intended for another slave with a specific address and from there monitor the communication to sniff the information.
Is that possible?
I can't find where an address that doesn't match mine is discarded.
Thank you
2025-11-27 2:44 AM
You would need a deep-dive into the I2C section of the Reference Manual for the chip to understand how the I2C peripheral works:
via: https://www.st.com/en/microcontrollers-microprocessors/stm32g030k8.html#documentation