mma8653fc PL_STATUS returns 0XFF

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

mma8653fc PL_STATUS returns 0XFF

407 Views
sikasa
Contributor I

I can read and write the registers, but when i read the STATUS register i receive 0xFF.

The same applys to the PL_STATUS, it returns 0xFF. The orientation of the display has no influence on the status. 

0 Kudos
1 Reply

293 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi Phillip,

To be able to read correct data from the PL_STATUS register (0x10), the Portrait/Landscape function needs to be enabled by setting the PL_EN bit in the PL_CFG register (0x11). So please make sure you have the Portrait/Landscape function enabled in order to get right data from the PL_STATUS register.

 

If you have it enabled, please post here your source code so that we can review it. You might also find useful my simple example code I have written for the FXLS8471Q.

Best regards,

Tomas

 

 

0 Kudos