Communication betwe...
 
Notifications
Clear all

Communication between ESP32s and Teensy 4.0s

4 Posts
3 Users
0 Likes
1,440 Views
(@phil_2020)
Member
Joined: 4 years ago
Posts: 27
Topic starter  

Hi,

How about communication between MCUs when neither can be an i2c slave ?

Phil

 


   
Quote
NewburyPi
(@dale)
Member
Joined: 5 years ago
Posts: 97
 

Shot in the dark here but... CAN BUS? Teensy has it built-in, and there are modules available that may work for the ESPs.

--
Dale


   
ReplyQuote
(@pugwash)
Sorcerers' Apprentice
Joined: 5 years ago
Posts: 923
 
Posted by: @phil_2020

Hi,

How about communication between MCUs when neither can be an i2c slave ?

Phil

 

Just wondering how you came to this conclusion as the Teensy4.0 has 3 I2C interfaces and the ESP 32 has 2 I2C interfaces, according to the pinout sheets I have looked at?


   
ReplyQuote
NewburyPi
(@dale)
Member
Joined: 5 years ago
Posts: 97
 

@pugwash

Phil may be right. I read through a couple of posts and it seems that, although both have I2C interfaces, there is little support for running them as slave devices. There does not seem to be an interrupt for incoming data. The posts talk about polling as a work around, and there is some posted code that seems to work with out interrupts (I've not looked into how it works). Looks like a missed feature to me. However it seems that there is good support for SPI, both as master and slave. 

--
Dale


   
ReplyQuote