Hello ,
(1) First please be sure the correct of the connect of your hardware , for i have not the MMA8451Q chip , so i can not test,
while i recommend you can use the function " CI2C1_SelectSlaveDevice()" of PE to check whether the slave "MMA8451Q" is ok on I2C bus.

(2) The attachment is the KE serials chips driver and demo , there is I2C about bare board , you can check .
(3) About the MMA8451Q applicaiton , you can refer to :
http://cache.freescale.com/files/sensors/doc/app_note/AN4068.pdf?fsrch=1&sr=7&pageNum=1
Hope it helps
Have a great day,
Alice
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------