Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

UM0289 Datasheet(PDF) 17 Page - STMicroelectronics

Part # UM0289
Description  This user manual describes the features of the eMotion Kit
PDF  29 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0289 Datasheet(HTML) 17 Page - STMicroelectronics

Back Button UM0289 Datasheet HTML 13Page - STMicroelectronics UM0289 Datasheet HTML 14Page - STMicroelectronics UM0289 Datasheet HTML 15Page - STMicroelectronics UM0289 Datasheet HTML 16Page - STMicroelectronics UM0289 Datasheet HTML 17Page - STMicroelectronics UM0289 Datasheet HTML 18Page - STMicroelectronics UM0289 Datasheet HTML 19Page - STMicroelectronics UM0289 Datasheet HTML 20Page - STMicroelectronics UM0289 Datasheet HTML 21Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 17 / 29 page
background image
UM0289
ST10 firmware
17/29
4
ST10 firmware
The firmware to manage the eMotion system is organized in two separate modules:
●
Communication module: able to exchange data with the PC-GUI using a structured
protocol.
●
Control module: able to perform the open and closed loop operation on three motors
and communicates with the first module.
Note:
All the firmware is developed, in standard C language, using tasking toolchain v 8.5 from
Altium.
4.1
Communication protocol
The serial protocol used for communicate with PC-GUI is a frame based protocol, with a
baud rate of 115200, 8-bit data length, no parity check, 1 bit stop.
The frame has a variable length, with a CRC field. A mechanism of acknowledgement for
each command is implemented.
Figure 11.
Frame protocol
Figure 11 shows the general frame format on which the communication is based, the CRC is
a field of 1 byte length computed with this formula:
16_Total_Length = (16_bit) (FRAME_TYPE + LENGTH + DATA)
CRC = (8_bit) (High_Byte(16_Total_Length) + Low_Byte(16_Total_Length))
Table 4 shows the general description of the frames.
Table 4.
Frame description
Frame name
Description
Frame Type
Length
Direction
Type
Connect
Open
connection
0x00
0
PC-MDK ST10 Command
Enable_Motor
Enable motor
drive
0x01
1
PC-MDK ST10 Command
Disable_Motor
Disable motor
drive
0x02
1
PC-MDK ST10 Command
Brake_Motor
Enable brake
motor drive
0x03
1
PC-MDK ST10 Command
Unbrake_Motor
Disable brake
motor drive
0x04
1
PC-MDK ST10 Command
Forward_Motor
Set forward
motor direction
(6205 motor
drive)
0x05
1
PC-MDK ST10 Command
Frame Type
Length
Payload
CRC
1 byte
1 byte
variable length
1 byte



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


Datasheet Download

Go To PDF Page


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


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