| Electronic Components Datasheet Search |
|
CMV300 Datasheet(PDF) 19 Page - ams AG |
|
|
|||||||||||||||||||||||||||||
CMV300 Datasheet(HTML) 19 Page - ams AG |
|
19 / 56 page ![]() Reference:CMV300-datasheet-v2.10 CMV300 Datasheet Page 18 of 55 © 2016 CMOSIS bvba The data is sampled by the CMV300 on the rising edge of the SPI_CLK. The SPI_CLK has a maximum frequency of 40MHz. The SPI_EN signal has to be high for half a clock period before the first databit is sampled. SPI_EN has to remain high for 1 clock period after the last databit is sampled. The sampled data will be written in the sequencer on the last falling clock edge, so SPI_CLK has to go low again at the end for the write operation to be successful. One write action contains 16 databits: One control bit: First bit to be sent, indicates whether a read (‘0’) or write (‘1’) will occur on the SPI interface. 7 address bits: These bits form the address of the programming register that needs to be written. The address is sent MSB first. 8 data bits: These bits form the actual data that will be written in the register selected with the address bits. The data is written MSB first. When several sensor registers need to be written, the timing above can be repeated with SPI_EN remaining high all the time. See the figure below for an example of 2 registers being written in burst. SPI_EN SPI_IN SPI_CLK C= ’1' A6 A5 A4 A3 A2 A1 A0 D7 D6 D5 D4 D3 D2 D1 D0 C= ’1' A6 A5 A4 A3 A2 A1 A0 D7 D6 D5 D4 D3 D2 D1 D0 ½ CLK 1 CLK FIGURE 8: SPI WRITE TIMING FOR 2 REGISTERS IN BURST 3.9.2 SPI READ The timing to read data from the registers over the SPI interface can be found below. SPI_EN SPI_IN SPI_CLK C= ’0' A6 A5 A4 A3 A2 A1 A0 D7 D6 D5 D4 D3 D2 D1 D0 SPI_OUT ½ CLK 1 CLK FIGURE 9: SPI READ TIMING To indicate a read action over the SPI interface, the control bit on the SPI_IN pin is made ‘0’. The address of the register being read out is sent immediately after this control bit (MSB first). After the LSB of the address bits, the data is launched on the SPI_OUT pin on the falling edge of the SPI_CLK. This means that the data should be sampled by the receiving system on the rising edge of the SPI_CLK. The data comes over the SPI_OUT with MSB first. When reading out the temperature sensor over the SPI, addresses 78 and 79 should be read out in burst mode (keep SPI_EN high). When SPI_EN is low, SPI_OUT will be (pulled) low. 3.10 REQUESTING A FRAME After starting up the sensor (see section 3.7), a number of frames can be requested by sending a FRAME_REQ pulse. The number of frames can be set by programming the appropriate register (addresses 55 and 56). The default number of frames to be grabbed is 1. In internal-exposure-time mode, the exposure time will start after this FRAME_REQ pulse. In the external-exposure- time mode, the read-out will start after the FRAME_REQ pulse. Both modes are explained into detail in the sections below. 3.10.1 INTERNAL EXPOSURE CONTROL In this mode, the exposure time is set by programming the appropriate registers (address 42-44) of the CMV300. |
|
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 |