system76 / ec

System76 Open Source Embedded Controller
GNU General Public License v3.0
327 stars 72 forks source link

mega2560: Implement TWI for debugging over battery SMBus connection #431

Closed crawfxrd closed 9 months ago

crawfxrd commented 9 months ago

Implement TWI (two-wire interface) for the Mega 2560 for debugging over the battery SMBus connection.

This would remove the need for the Adafruit Trinket M0.

jackpot51 commented 9 months ago

There's a voltage mismatch that could kill everything, our motherboards have 3.3V busses but a mega2560 has a 5v bus