欢迎访问ic37.com |
会员登录 免费注册
发布采购

CMA3000-D01DEMO 参数 Datasheet PDF下载

CMA3000-D01DEMO图片预览
型号: CMA3000-D01DEMO
PDF下载: 下载PDF文件 查看货源
内容描述: 3轴加速度计 [3-axis accelerometer]
分类和应用:
文件页数/大小: 35 页 / 945 K
品牌: VTI [ VTI TECHNOLOGIES ]
 浏览型号CMA3000-D01DEMO的Datasheet PDF文件第14页浏览型号CMA3000-D01DEMO的Datasheet PDF文件第15页浏览型号CMA3000-D01DEMO的Datasheet PDF文件第16页浏览型号CMA3000-D01DEMO的Datasheet PDF文件第17页浏览型号CMA3000-D01DEMO的Datasheet PDF文件第19页浏览型号CMA3000-D01DEMO的Datasheet PDF文件第20页浏览型号CMA3000-D01DEMO的Datasheet PDF文件第21页浏览型号CMA3000-D01DEMO的Datasheet PDF文件第22页  
CMA3000-D0X Series  
‘don’t-care’ for a read operation. CMA3000 samples bits in from MOSI line on the rising edge of  
SCK and bits out to MISO line on falling edge of SCK.  
After the two constant '0' bits in the MISO line are the PORST status bits. All three PORST status  
bits have the same value as the PORST bit in register STATUS. Bits 6 and 8 are always '0'. Bit 7 is  
always ‘1’. The later 8 bits contain data for a read operation.  
For write commands, data is written into the addressed register after the rising edge of CSB.  
For read commands, data is latched into the internal SPI output register (shift register) on the 8th  
rising edge of SCK. The output register is shifted out MSB first over MISO output.  
When the CSB is high state between data transfers, the MISO line is in the high-impedance state.  
4.1.2 Examples of SPI communication  
4.1.2.1 Example of register read  
An example of X-axis and Y-axis acceleration read command is presented in Figure 8. The master  
gives the register address to be read via the MOSI line: '06' in hex format and '000110' in binary  
format, register name is DOUTX). 7th bit is set to '0' to indicate the read operation.  
The sensor replies to a requested operation by transferring the register content via MISO line. After  
transferring the asked DOUTX register content, the master gives next register address to be read:  
'07' in hex format and '000111' in binary format, register name is DOUTY. The sensor replies to the  
requested operation by transferring the register content MSB first.  
CSB  
SCLK  
MOSI  
MISO  
0
0
0
1
1
0
0
0 0 0 1 1 1 0  
PORST  
PORST  
Figure 8. An example of SPI read communication.  
4.1.3 Multiple slave devices in SPI bus  
Since both SPI and I2C interfaces are enabled by default, certain precautions should be taken care  
of when the CMA3000 is connected to a SPI bus with multiple slave devices. In case of multiple  
devices on same SPI bus, it's important to prevent MOSI_SDA pin changes during SCK_SCL pin  
high state. If the MOSI_SDA pin state is changed when the SCK_SCL pin is in high state, the I2C  
transmission is engaged, see Figure 9 below.  
Figure 9. MOSI_SDA pin change during SCK_SCL high state engages I2C transmission.  
VTI Technologies Oy  
www.vti.fi  
18/ 35  
Doc.Nr. 8281000.12  
Rev. 0.12