K64F I2C is it non blocking?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

K64F I2C is it non blocking?

506 Views
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

0 Kudos
Reply
1 Reply

375 Views
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 Kudos
Reply