52259 - I2C Interrupt driven routines?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

52259 - I2C Interrupt driven routines?

ソリューションへジャンプ
2,727件の閲覧回数
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:

ラベル(1)
0 件の賞賛
返信
1 解決策
985件の閲覧回数
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 件の賞賛
返信
2 返答(返信)
986件の閲覧回数
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 件の賞賛
返信
985件の閲覧回数
FridgeFreezer
Senior Contributor I

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

0 件の賞賛
返信