Guest
#6173798
Hello, has somebody successfully used the twi (hardware) on one of the (relatively new) tiny-x04 chips? I'm stuck already while trying to issue a start-condition/transmit slave address: After the suggested initialisation (datasheet) i'm writing TWI0.MADDR (slave-mode) and then waiting for the WIF flag in TWI0.MSTATUS to get set, but it never gets set. I didn't hook it up to an oszi to check wether it starts to write the address anyways, but i suspect it doesn't. I also took a look into the datasheets of related Devices (414, 817...) and went through an (quite overengineered) example on start.atmel.com - but didn't find any obvious difference in the end. So maybe i'll revert to bit-banging but i'm just curious: Did someone succeed with the hardware-twi on one of those chips? Cheers, Achim