Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

AN2038 Datasheet(PDF) 13 Page - STMicroelectronics

Part # AN2038
Description  I2C emulation with ST7MC in slave mode
PDF  23 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2038 Datasheet(HTML) 13 Page - STMicroelectronics

Back Button AN2038 Datasheet HTML 9Page - STMicroelectronics AN2038 Datasheet HTML 10Page - STMicroelectronics AN2038 Datasheet HTML 11Page - STMicroelectronics AN2038 Datasheet HTML 12Page - STMicroelectronics AN2038 Datasheet HTML 13Page - STMicroelectronics AN2038 Datasheet HTML 14Page - STMicroelectronics AN2038 Datasheet HTML 15Page - STMicroelectronics AN2038 Datasheet HTML 16Page - STMicroelectronics AN2038 Datasheet HTML 17Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 23 page
background image
AN2038
Command frames
13/23
Figure 10.
Communication frame (Response from Slave)
Motor Status Byte
MS: Motor Stalled
SF: Startup Fails
OT: Over Temperature
OV: Over Voltage
OC: Over Current
Table 4.
I2C Code table
COMMUNICATION CODE
STX
0x02
Start Transmission
ETX
0x03
End Transmission
ACK
0x1c
Acknowledge
NOT_ACK
0xee
Not Acknowledge
NOT_READY
0xcc
Not Ready
WAIT
0xfc
Wait
MASTER COMMANDS
CMD_SETSPEED
0x77
Command set speed. D2 and D3 will be respectively
MSB and LSB of a word contains speed in rpm.
CMD_BRAKE
0x88
Command brake
CMD_START
0x66
Command start motor
MASTER QUERY
ASK_STATUS
0x08
Master asks for motor status. D1 and D2 of subsequent
answer of the slave is a byte formatted as below. D2 is
a checksum byte equal to complemented bit respect
D1
ASK_SPEED
0x07
Master asks for motor speed. D1, D2, D3, D4 of
subsequent answer of the slave is respectively MSB
and LSB of a word contains speed in rpm. D3 and D4
is two checksum byte equal to complemented bit
respect D1 and D2
00
0
MS
SF
OV
OC
OT
Slave addr. + r
STX
Length = n
D1
D2
Dn
CRC1
CRC2
ETX
ANSWER FROM SLAVE
From Slave
From Master



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


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