전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

UM0313 데이터시트(PDF) 27 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
Logo STMICROELECTRONICS - STMicroelectronics

UM0313 데이터시트(HTML) 27 Page - STMicroelectronics

Back Button UM0313 Datasheet HTML 23Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 27 / 33 page
background image
UM0313
Supported commands
27/33
7.2
Supported commands
The table below lists the commands supported by the EK302DL firmware:
Note:
AA: register address
DD: data
S: service field
XX, YY, ZZ: Acceleration data returned for the X, Y and Z axes
I1, I2 : interrupt value on each axes.
7.2.1
Start command
The *start command initiates the continuous data acquisition. When this command is sent to
the board, it returns the acceleration data measured by the LIS302DL device. The
acceleration data are packed in a string composed of eight bytes: “s t X Y Z I1 I2 SD”. The
first two bytes are always “s” and “t” which correspond to the hexadecimal values {73 74},
while “X” “Y” “Z” represent, respectively, the acceleration data for the X, Y, Z axes.
“I1” and “I2” contain the values of FF_WU_SRC1 and FF_WU_SRC2, where each bit is a
specific interrupt.
The last byte “s” returns information about the switches mounted on the board. Specifically,
bit#1 and bit#0 of the "service data" correspond to the status of SW3 and SW2 on the
evaluation kit board, and they are set to 1 when the corresponding switch is pressed.
7.2.2
Debug command
The *debug command starts the continuous data acquisition in debug mode. When this
command is sent to the board it returns the acceleration data measured by the LIS302DL
device in readable text format. The values shown on the screen correspond to the content of
the output data registers and are shown as a hexadecimal number. A TAB is employed as a
separator between the different fields.
Table 1.
Supported commands
Command
Description
Returned value
*start
Starts continuous data acquisition
S T x y z I1 I2 s
*debug
Returns the acceleration data in readable
text format
x=XX y=YY z=ZZ
*stop
Stops data acquisition
*rAA
Register read
RAAhDDh
*wAADD
Register write
*bwAA<0:7><0|1>
Single bit write
*Zon
Force 3-state
*Zoff
Exit from 3-state
*dev
Device name
LIS302DL
*ver
Firmware version
302DL 1.1



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


링크 URL



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