52259 - I2C Interrupt driven routines?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

52259 - I2C Interrupt driven routines?

Jump to solution
2,333 Views
FridgeFreezer
Senior Contributor I

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 :smileyindifferent:

Labels (1)
0 Kudos
Reply
1 Solution
591 Views
mjbcswitzerland
Specialist V

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:

 

Simulated M52259

 

Regards

 

Mark

 

www.uTasker.com

www.utasker.com/kirin3.html

 

View solution in original post

0 Kudos
Reply
2 Replies
592 Views
mjbcswitzerland
Specialist V

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:

 

Simulated M52259

 

Regards

 

Mark

 

www.uTasker.com

www.utasker.com/kirin3.html

 

0 Kudos
Reply
591 Views
FridgeFreezer
Senior Contributor I

You're a gentleman and a scholar, Sir! Thanks very much :smileyhappy:

0 Kudos
Reply