| Electronic Components Datasheet Search |
|
MMA7456LT Datasheet(PDF) 18 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
MMA7456LT Datasheet(HTML) 18 Page - Freescale Semiconductor, Inc |
|
18 / 35 page ![]() Sensors Freescale Semiconductor 18 MMA7456L SPI Slave Interface The MMA7456L also uses serial peripheral interface communication as a digital communication. The SPI communication is pri- marily used for synchronous serial communication between a master device and one or more slave devices. See Figure 16 for an example of how to configure one master with one MMA745xL device. The MMA7456L is always operated as a slave device. Typically, the master device would be a microcontroller which would drive the clock (SPC) and chip select (CS) signals. The SPI interface consists of two control lines and two data lines: CS, SPC, SDI, and SDO. The CS, also known as Chip Select, is the slave device enable which is controlled by the SPI master. CS is driven low at the start of a transmission. CS is then driven high at the end of a transmission. SPC is the Serial Port Clock which is also controlled by the SPI master. SDI and SDO are the Serial Port Data Input and the Serial Port Data Output. The SDI and SDO data lines are driven at the falling edge of the SPC and should be captured at the rising edge of the SPC. Read and write register commands are completed in 16 clock pulses or in multiples of 8, in the case of a multiple byte read/write. SPI Read Operation A SPI read transfer consists of a 1-bit Read/Write signal, a 6-bit address, and 1-bit don’t care bit. (1-bit R/W=0 + 6-bits address + 1-bit don’t care). The data to read is sent by the SPI interface during the next transfer. See Figure 11 and Figure 12 for the timing diagram for an 8-bit read in 4 wire and 3 wire modes, respectively. SPI Write Operation In order to write to one of the 8-bit registers, an 8-bit write command must be sent to the MMA7456L. The write command consists of an MSB (0=read, 1=write) to indicate writing to the MMA7456L register, followed by a 6-bit address and 1 don’t care bit. The command should then be followed the 8-bit data transfer. See Figure 13 for the timing diagram for an 8-bit data write. Figure 11. SPI Timing Diagram for 8-Bit Register Read (4 Wire Mode) Figure 12. SPI Timing Diagram for 8-Bit Register Read (3 Wire Mode) Figure 13. SPI Timing Diagram for 8-Bit Register Write (3 Wire Mode) |
|
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 |