I want to use TWI as interrupt mode, but I can't find any reference demo. I find some test code in BF518F_EZBOARD_POST, and use TWI without using interrupt mode. Can some body help me? Thanks a lot.
I have couple of interrupt based TWI examples, but those were written for BF548 processor for testing loopback between TWI0 and TWI1 of processor.
I am attaching those for referece. You can easily modify it for other Blackfin processor. Refer Hardware Reference Manual of the respective processor.
I have my own i2c module that works with interrupts.
I am using it in all my projects.
It works under VDK and uses ADI Interrupt Service.
If you don't use VDK you can look inside to see basics.
Retrieving data ...