Hi Klaus,
The MCUXpresso SDK package does not come with an example using the MMA8652FCR1 accelerometer but you can use the following document as base for your application, you will just need to change the I2C driver and initialization code to use the SDK drivers:
https://community.nxp.com/docs/DOC-101192
Hope it helps!
Best Regards,
Carlos Mendoza
Technical Support Engineer