cancel
Showing results for 
Search instead for 
Did you mean: 

Can we transmit and receive in I2C protocol using two i2c pins as master and slave??

Prvit
Associate II

Hey everyone!.

I'm trying to use I2C protocol to transmit data from master to slave using i2c1 and i2c2 pins.

But my rx buffer is not getting updated.

I've gone through a couple of tutorials and I found out that in most of them they used two boards , so it got me thinking can we do it in a single board??? I'm new to stm32 can anyone help me??.

10 REPLIES 10

i have removed the comments but still the same problem,
and yes i have enabled the event interrupt.