hi
you did not mention the frequency of the controller you have with you
i take an example of the 72Mhz part. In your CW(10.) installation go to the path location C:\Freescale\CW MCU v10.3\MCU\CodeWarrior_Examples\Processor_Expert\Kinetis\TWR-K20D72M .
If you are using a 100 Mhz part then you can use the example in the same location under the K60 board.
In this you will find a I2C based PE example.
Yes on FSL boards there is an I2C accelerometer so we have example for that. You can modify this code as per the I2C device you are using. Things you need to take care are the device address and the command flow for the I2C device of your choice. All the API required to communicate are part of the example project.
Hope this helps
Cheers