Unfortunately, Sample code is not available.
Instructions for communicating with the MMA9553L are contained in the MMA955xL Data Sheet and MMA9553L Software Reference Manual. Both of these materials are available at:
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MMA9553L&fpsp=1&tab=Documentation_Tab...
In particular, please look at section 2.6 “Sample Operations” in the Software Reference Manual.
In addition, there is a tool that runs on the PC that interacts with the MMA9553 which is available on the tools tab adjacent to the link above.
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MMA9553L&fpsp=1&tab=Design_Tools_Tab
This PC app allows users to stimulate the MMA9553 in all of the typical ways.
A logic analyzer could be used to look at the I2C bus traffic to see what messages are sent in response to commands issued by the GUI. These commands could be duplicated in the user’s code.
Would like to acknowledge several colleagues in helping to prepare this response - I’m just the messenger.
Regards,
Margaret