I2c communications between ESP-12E and STM32
Posted: Tue Nov 03, 2015 5:16 pm
Up till now I've been using serial comms between an ESP8266 12E and a STM32 and the code has to take in to account that the MC are much faster than the serial comms, and accumulate serial data on successive loops.
Both devices are using their respective I2c buses - EPS8266 is connected to a RTC and Accelerometer (though I haven't tested this code yet).
and the STM32 is connected to an LCD panel and an ambient light IC.
So why not use the I2c bus to communicate between the devices?
Are there any caveats or gotcha's that I have to be aware of before I attempt this. I see Uno to Uno tutorials around the net (and on Arduino.cc) but I haven't seen the above setup. I see some with pullup resistors, some without, do I need to have pullup resistors if I have devices on the bus already?
Both devices are using their respective I2c buses - EPS8266 is connected to a RTC and Accelerometer (though I haven't tested this code yet).
and the STM32 is connected to an LCD panel and an ambient light IC.
So why not use the I2c bus to communicate between the devices?
Are there any caveats or gotcha's that I have to be aware of before I attempt this. I see Uno to Uno tutorials around the net (and on Arduino.cc) but I haven't seen the above setup. I see some with pullup resistors, some without, do I need to have pullup resistors if I have devices on the bus already?