The following video shows how to run the FRDM 6DOF Bare Board eCompass using the FRDM-K22.
This algorithm uses the FXOS8700 contained on the Freedom Board.
In order to get more information about the Sensor Fusion Library for Kinetis MCU's 5.0, please refer to the following link:
I hope this material will be useful for you.
David