Zakładka z wyszukiwarką danych komponentów
  Polish  ▼
ALLDATASHEET.PL

X  

UM0313 Arkusz danych(PDF) 27 Page - STMicroelectronics

Numer części UM0313
Szczegółowy opis  The EK302DL is an evaluation kit designed to provide the user with a complete
PDF  33 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Producent  STMICROELECTRONICS [STMicroelectronics]
Strona internetowa  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0313 Arkusz danych(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


Arkusz danych Pobierz

Go To PDF Page


Link URL



Czy Alldatasheet okazała się pomocna?  [ DONATE ] 

O Alldatasheet   |   Reklama   |   Kontakt   |   Polityka prywatności   |   Link do karty katalogowej    |   Linki   |   Lista producentów
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