Skip to main content
2 votes
Accepted

Simple I2C communication between two ATmega32U4s -- first transmission works, then it hangs

Basically, the receiver does not handle all cases it should from the I2C peripheral, the I2C peripheral jams the bus because it must signal a wait by clock stretching because the software hasn't ...
Justme's user avatar
  • 172k
1 vote

ATtiny 0/1-series (SOIC-8): using SPI and EXTCLK simultaneously

There is one tricky way. Consider Attiny402, External clock 2MHz. PA1 as MOSI, PA3 as clock input (EXTCLK), PA7 as "rerouted" SPI SCK output. Trick is routing SPI SCK internaly to CCL LUT, ...
Michal Dudka's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible