| Electronic Components Datasheet Search |
|
UM0285 Datasheet(PDF) 27 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0285 Datasheet(HTML) 27 Page - STMicroelectronics |
|
27 / 32 page ![]() UM0285 Supported commands 27/32 7.2.3 Stop command The *stop command interrupts any acquisition session that has been started either with the *start or *debug command. 7.2.4 Registers read The *rAA command allows to read the content of the registers embedded inside the LIS3LV02DL device mounted on the evaluation kit board. In details AA, expressed as hexadecimal value and written lower-case, represents the address of the register to be read. Once the read command is issued, the board will return RAAhDDh, where AA is the address sent by the user and DD is the data present in that register. As an example, to read the CTRL_REG1 the user shall issue the command *r20 which returns, for example, R20hC7h. 7.2.5 Registers write The *wAADD command allows to write the content of the registers embedded inside the LIS3LV02DL device mounted on the evaluation kit board. In details AA and DD, expressed as hexadecimal values and written lower-case, represent respectively the address of the register and the data to be written. As an example, to write 0xC7 inside the CTRL_REG1 the user shall issue the command *w20c7. 7.2.6 Single bit write With this command it is possible to set/reset a single bit inside a given register. In details the command *bwAA<0:7><0|1> requires to the user to specify the address AA of register in which he/she wants to change the bit, with AA expressed as hexadecimal value and written lower-case, followed by the position of the bit to be changed, integer between 0 and 7, and the value, either 0 or 1, to be associated to the specified bit. For example, to set to 1 the FS bit present inside the CTRL_REG2 the user shall issue the command *bw2171. 7.2.7 Zon and Zoff The Zon and Zoff commands are employed respectively to put into 3-state (i.e. high- impedance) and to exit (i.e. normal mode) the SPI lines of the ST7-USB microcontroller mounted on the evaluation kit. These commands allows to isolate the sensor mounted on the board from the microprocessor in case any external control (from a different micro mounted on a separate user board) is needed. By default, when the kit is first turned on, the SPI lines are in 3-state mode and the user is required to send the command *Zoff to allow the communication between the sensor and the micro itself. 7.2.8 Device name The *dev command retrieves the name of the device mounted on the evaluation kit connected to the PC. For the EK3LV02DL the returned value is 3LV02DL. |
|
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 |