| Electronic Components Datasheet Search |
|
MMA685X Datasheet(PDF) 45 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
MMA685X Datasheet(HTML) 45 Page - Freescale Semiconductor, Inc |
|
45 / 52 page ![]() Sensors Freescale Semiconductor, Inc. 45 MMA685x 4.3 Acceleration Data Transfers Acceleration data requests are initiated when the Acceleration bit of the SPI command message (A) is set to a logic ‘1’. The Axis Selection bit (AX) and the Offset Cancellation Selection bit (OC) of the command message select the type of acceleration data requested, as shown in Table 28 To verify that MMA685x is configured as expected, each acceleration data request includes the configuration information that impacts the output data. The requested configuration is compared against the data programmed in the writable register array. Details are shown in Table 29. If the data listed in Table 29 does not does not match, an Acceleration Data Request Mismatch failure is detected and no ac- celeration data is transmitted. Reference Section 4.5.3.1. Acceleration data request commands include a parity bit (P). Odd parity is employed. The number of logic ‘1’ bits in the accel- eration data request command must be an odd number. Acceleration data is transmitted on the next SPI message if and only if all of the following conditions are met: • The DEVINIT bit in the DEVSTAT register is not set • The DEVRES bit in the DEVSTAT register is not set • The IDE bit in the DEVSTAT register is not set (Reference Section 4.5.5) • No SPI Error is detected (Reference Section 4.5.1) • No MISO Error is detected (Reference Section 4.5.2) • No Acceleration Data Request Mismatch failure is detected (Reference Section 4.5.3.1) • No Self-Test Error is present (reference Section 4.5.5.2) If the above conditions are met, MMA685x responds with a “valid acceleration data request” response as shown in Table 27. Otherwise, MMA685x responds as specified in Section 4.5. 4.4 Register Access Operations Two types of register access operations are supported; register write, and register read. Register access operations are initi- ated when the acceleration bit (A) of the command message is set to a logic ‘0’. The operation to be performed is indicated by the Access Selection bit (AX) of the command message. Register Access operations include a parity bit (P). Odd parity is employed. The number of logic ‘1’ bits in the Register Access operation must be an odd number. Table 28. Acceleration Data Request Acceleration Data Request Command Information Data Type Axis Selection Bit (AX) Offset Cancellation Select (OC) 0 0 Offset Cancelled Data 0 1 Raw Data 1 0 Invalid Accel Request 1 1 Invalid Accel Request Table 29. Acceleration Data Request Configuration Information Programmable Option Command Message Bit Writable Register Information Signed or Unsigned Data SD DEVCFG[4] (SD) Arming Function or PCM Output ARM DEVCFG[2] || DEVCFG[1] (A_CFG[2] || A_CFG[1]) Access Selection Bit (AX) Operation 0 Register Read 1 Register Write |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |