Does anyone have an interrupt-driven routine for the MCF52259 I2C interface? The freescale example code is polling only which is slightly disappointing given the hardware supports I2C interrupts
Solved! Go to Solution.
Hi
Attached is an I2C driver reference (for all V2 parts incl. M52259 on 2 interfaces). Only the HW interface is show (register defines should be fairly obvious but not included). The use of the I2C module is described at http://www.utasker.com/docs/uTasker/uTaskerIIC.PDF
As described, the I2C interface can also be simulated to study it operation and verify application's use of it.
This is from the uTasker project, which supports simulation of the Kirin3, includes most drivers, including USB, and Ethernet (with TCP/IP stack and utFAT for SD cards). Eg. of M52259 running:
Regards
Mark
Hi
Attached is an I2C driver reference (for all V2 parts incl. M52259 on 2 interfaces). Only the HW interface is show (register defines should be fairly obvious but not included). The use of the I2C module is described at http://www.utasker.com/docs/uTasker/uTaskerIIC.PDF
As described, the I2C interface can also be simulated to study it operation and verify application's use of it.
This is from the uTasker project, which supports simulation of the Kirin3, includes most drivers, including USB, and Ethernet (with TCP/IP stack and utFAT for SD cards). Eg. of M52259 running:
Regards
Mark
You're a gentleman and a scholar, Sir! Thanks very much