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 ...
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, ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
avr × 1916atmega × 435
microcontroller × 421
arduino × 227
c × 204
attiny × 143
atmel × 126
interrupts × 125
uart × 106
spi × 94
avr-gcc × 93
avrdude × 91
adc × 79
assembly × 74
timer × 71
isp × 70
pwm × 68
usb × 66
atmega328p × 66
i2c × 61
programming × 58
embedded × 54
serial × 49
programmer × 49
bootloader × 42