K21F120 I2C interrupt read.

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

K21F120 I2C interrupt read.

855件の閲覧回数
sudhanshumehta
Contributor IV

Hi All, 

I am having K21F120 controller.

I can do I2C Rx and Tx using the example given in the MQX folder (using polling).

I want to read over I2C by interrupt. 

any application note will be helpful.

Thanks

Sudhanshu

0 件の賞賛
返信
1 返信

756件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi Sudhanshu:

Here linked an application note about an i2c driver based on interrupt and blocking mechanism for MQX.

This application note implements an i2c driver on MQX, which masked the details of the i2c operations and simplifies the application code to a great extent. It covers both the master and slave modes.  The code is validated on the  K60n512-TWR board. unfortunately I don't have code for K21F120.

http://cache.nxp.com/assets/documents/data/en/application-notes/AN4652.pdf?fsrch=1&sr=1&pageNum=1 

Regards

Daniel

0 件の賞賛
返信