Hi Jose,
I tried the example code "https://community.freescale.com/docs/DOC-98836" i am able to get 14bit Acc data. The same project i tried with process export it was working for 8bit Fast Acc data mode. But for 14bit mode i could not set the proper Configuration to Accelerometer.
res = MMA8451_WriteReg(MMA8451_CTRL_REG_1, MMA8451_F_READ_BIT_MASK|MMA8451_ACTIVE_BIT_MASK);
if (res==ERR_OK) {
for(;;) {
res = MMA8451_ReadReg(MMA8451_OUT_X_MSB, (uint8_t*)&xyz, 3);
AccelX = xyz[0];
AccelY = xyz[1];
AccelZ = xyz[2];
}
}
how to configure for 14bit data ? in this above code
Regards,
Ashok r