数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

UM0313 数据表(PDF) 28 Page - STMicroelectronics

部件名 UM0313
功能描述  The EK302DL is an evaluation kit designed to provide the user with a complete
PDF  33 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

UM0313 数据表(HTML) 28 Page - STMicroelectronics

Back Button UM0313 Datasheet HTML 24Page - STMicroelectronics UM0313 Datasheet HTML 25Page - STMicroelectronics UM0313 Datasheet HTML 26Page - STMicroelectronics UM0313 Datasheet HTML 27Page - STMicroelectronics UM0313 Datasheet HTML 28Page - STMicroelectronics UM0313 Datasheet HTML 29Page - STMicroelectronics UM0313 Datasheet HTML 30Page - STMicroelectronics UM0313 Datasheet HTML 31Page - STMicroelectronics UM0313 Datasheet HTML 32Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 28 / 33 page
background image
Supported commands
UM0313
28/33
7.2.3
Stop command
The *stop command interrupts any acquisition session that has been started with either the
*start or *debug commands.
7.2.4
Register read
The *rAA command allows the contents of the LIS302DL device registers in the evaluation
kit board to be read. AA, expressed as hexadecimal value and written in upper-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 the register.
For example, to read the CTRL_REG1 the user would issue the command *r20, which
returns R20hC7h.
7.2.5
Register write
The *wAADD command permits writing to the contents of the LIS302DL device registers in
the evaluation kit board. AA and DD, expressed as hexadecimal values and written in upper-
case, represent respectively the address of the register and the data to be written. To write
0xC7 to the CTRL_REG1, for example, the user would issue the command *w20C7.
7.2.6
Single bit write
Using this command it is possible to set/reset a single bit in a given register. The command
*bwAA<0:7><0|1> requires the user to specify the address AA of the register in which to
change the bit, with AA expressed as a hexadecimal value and written in lower-case,
followed by the position of the bit to be changed, an 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 within the CTRL_REG2, the user would 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 allow the isolation of the sensor from the
microprocessor in the event that an external control (from a different microcontroller
mounted on a separate 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 microcontroller.
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 EK302DL, the returned value is “LIS302DL”.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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