2023-09-11 01:56 AM
Can I use STM32F401RCT6 to be I2C master and slave at the same time?
1: For the Master, I use I2C1 -> pin PB6 and PB7, I will read data from the current sensor ICs.
2: For Slave, I use I2C3 -> pin PA8 and PC9, I will send and receive data from another STM32.
Does it work? Please give me advice.
Thanks everyone,
Solved! Go to Solution.
2023-09-11 01:58 AM
Hello @Hoi
Each I2C works independently so you can use one of them as a master an the other one as a slave.
Best regards.
II
2023-09-11 01:58 AM
Hello @Hoi
Each I2C works independently so you can use one of them as a master an the other one as a slave.
Best regards.
II
2023-09-11 02:06 AM
Thank you for your quick help, I will apply it to my design