| Kinetis SDK Demo Applications User Guide 1.0.0-beta Freescale Semiconductor, Inc.

- Main Page
- Related Pages
- Demos

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
I2C Communication User Guide
I2C Communication Demo

User Guide on how to use the I2C communication applications. More...

### I2C Communication User Guide

# Getting started

The I2C communication application is designed to work with two boards.

1. Connect I2C clock, Data, GND between the two boards.
2. Power on the I2C slave board first, download and run the I2C slave code, wait until the LED turns on
3. Power on the I2C master board. download and run the I2C master code, the LED is toggled to indicate I2C communication.
4. See LED changes on both I2C master and slave boards.
5. Check I2C master serial terminal output and input the new data.

# I2C Connections

## Connection on TWR-K64F120M:

Master | Slave
--- | ---
I2C1_SCL PTC10 Primary A75 | I2C1_SCL PTC10 Primary A75
I2C1_SDA PTC11 Primary A60 | I2C1_SDA PTC11 Primary A60
GND Primary A65 | GND Primary A65

## Connection on FRDM-K64F120M:

Master | Slave
--- | ---
I2C0_SCL PTE24 J2 Pin18 | I2C0_SCL PTE24 J2 Pin18
I2C0_SDA PTE25 J2 Pin20 | I2C0_SDA PTE25 J2 Pin20
GND J2 Pin14 | GND J2 Pin14