I was having issues with the bus freezing up .. slaves holding SDL low.. so I rewrote a good portion of the interrupt logic based on the application notes from Atmel. One major improvement is using the RXNACK flag in the STATUS register, which indicates that no device responded to an address packet. Assuming that the chip will always give an interrupt status, I believe it's possible to eliminate the timer as well.

This commit is contained in:
Matt Thompson 2017-07-12 06:44:53 -06:00 committed by Gregory Nutt
parent cfe0d253e9
commit 5448c99ff2
1 changed files with 331 additions and 801 deletions

File diff suppressed because it is too large Load Diff