gatk555
gatk555
The datasheet has a section on using USI for i2c and I think there may also be a Microchip application note. Simavr has an USI simulation, but a quick scan...
I am fairly sure the library will not work. Several places in avr_usi.c just have a TODO comment and no code for TWI, including making connection to the pins. If...
Can you post example code that fails, preferably small?
The code looks OK to me, but what about main() and the firmware? In your trace, the slave raises no IRQs, but it should be sending ACKs. Incorrect setup in...
"... firmware runs fine on production hardware." Both sides? You might have mentioned that before! It is probably worth trying the suggested fix in #453.
Strange, 2 USARTS and a USI. Why did they do that? Is there something unusual about USARTs and AC that explains their omission?