Skip to content

ATtiny85: i2c via USI? #559

@jkorinth

Description

@jkorinth

Hi there! I'm trying to setup a small simulation program for an ATtiny85 with a custom i2c device. I've started its implementation from the i2c_eeprom.c example, but then I realized that the ATtiny85 does not implement TWI. So, is my understanding correct that I need to implement a bit-banging implementation of the i2c protocol on the peripheral side using the wire IRQs for PB0/PB2? Or is there an easier way with USI?

Thanks!
Jens

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions