How to use I2C module as communication interface between K60DN128 with MKL25Z128?

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

How to use I2C module as communication interface between K60DN128 with MKL25Z128?

ソリューションへジャンプ
1,084件の閲覧回数
changkenta
Contributor II


Hello,

I want to use I2C module as interface between K60DN128 with MKL25Z128, setting K60 as I2C-master and MKL25 as I2C-slave.

Could you please let me know How to routine the firmware in C language on CW 10.5?

Regards,

Kenta

0 件の賞賛
1 解決策
650件の閲覧回数
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi Kenta,

About Init_I2C PE component example, there is no related example code.

I would recommend to refer Kinetis 100MHz V2 example code and KL25 example code, which includes I2C example demo.

Kinetis 100MHz V2 software could be downloaded from below link:

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=K60_100&nodeId=01624698C9DE2DDDAF&fps...

KL25 example could be downloaded from below link:

http://cache.freescale.com/files/32bit/software/KL25_SC.exe

Wish it helps.

B.R.

Ma Hui

元の投稿で解決策を見る

0 件の賞賛
3 返答(返信)
650件の閲覧回数
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi Kenta,

I would recommend you to use Processor Expert tool, which provides I2C_LDD component.

The I2C_LDD component also provides typical usage example for your reference, includes I2C master and slave mode.

Wish it helps.

B.R.

Ma Hui

0 件の賞賛
650件の閲覧回数
changkenta
Contributor II

hi Hui_Ma,

thanks.

by the way, I hope to know how to setting I2C master and slave function in Init_I2C component, is there any example?

Regards,

Kenta

0 件の賞賛
651件の閲覧回数
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi Kenta,

About Init_I2C PE component example, there is no related example code.

I would recommend to refer Kinetis 100MHz V2 example code and KL25 example code, which includes I2C example demo.

Kinetis 100MHz V2 software could be downloaded from below link:

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=K60_100&nodeId=01624698C9DE2DDDAF&fps...

KL25 example could be downloaded from below link:

http://cache.freescale.com/files/32bit/software/KL25_SC.exe

Wish it helps.

B.R.

Ma Hui

0 件の賞賛