K64F I2C is it non blocking?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

K64F I2C is it non blocking?

779 次查看
haiqiwei
Contributor I

Hi,

I want to implement I2C on K64F using KDS 3.0. But it is really slow. I suspected that it was waiting to read/send until the pkt is sent or read. Is there a non blocking implementation for it? Or is it already implemented?

Thanks,

Celine

标记 (4)
0 项奖励
回复
1 回复

648 次查看
TICS_Fiona
NXP Employee
NXP Employee

Hello Haiqi

Are you using polling mode to transfer the data?  To free the resources for other application, please use the interrupt mode to transfer data.  You can find the example project for I2C application with interrupt mode under SDK 2.0 folder:

\SDK_2.0_FRDM-K64F\boards\frdmk64f\driver_examples\i2c

SDK 2.0 can be downloaded from:

Welcome to Kinetis Expert | Kinetis Expert

Please click on ‘Build an SDK’ to choose the FRDM-K64F board.  Then click on ‘Build SDK Package’ button and download the package.

Best Regards

Fiona Kuang

TIC - Technical Information Center

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Mark Correct button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复