Re: Harmony I2C overview
I just started to look at the Harmony I2C module, and the abstraction is horrifying.
I think I'm going to use Harmony just to set up the basics.
The I2C as master can easily be emulated. It's crude, but if the communication is done in the main loop, it's good enough to interface displays, etc. Just google "emulating I2C master C" and you will find example code.
It's perhaps some 100 lines of code.
To use slave emulation is not that simple, it needs interrupts to be set up and a proper state machine. But there are examples out there. Not too complex.