cancel
Showing results for 
Search instead for 
Did you mean: 

Trouble getting I2C Communication Working on STM32F0

kipro_9
Associate

Hi there, I'm pretty new to handling I2C communication protocols and could use some help in figuring stuff out. I've been attempting to get two STM32f042k6 boards to communicate with one another but my master device doesn't seem to receive any of the transmitted buffers from my slave device. Attached is a copy of my code.

My pins are configured as follows:

PB7 -> SDA

PB6 -> SCL

(with 4.7k pull up resistors)

PA10 -> RX

PA9 -> TX

My code is pretty much based off template files for I2C board to board communication found in repository files. I'm not sure what I'm missing and would greatly appreciate some advice. If there is any other additional information I can provide, please let me know.

0 REPLIES 0