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
Solved! Go to Solution.
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:
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
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
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
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:
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