Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

UM0470 Datasheet(PDF) 10 Page - STMicroelectronics

Part # UM0470
Description  STM8 SWIM communication protocol and debug module
PDF  37 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0470 Datasheet(HTML) 10 Page - STMicroelectronics

Back Button UM0470 Datasheet HTML 6Page - STMicroelectronics UM0470 Datasheet HTML 7Page - STMicroelectronics UM0470 Datasheet HTML 8Page - STMicroelectronics UM0470 Datasheet HTML 9Page - STMicroelectronics UM0470 Datasheet HTML 10Page - STMicroelectronics UM0470 Datasheet HTML 11Page - STMicroelectronics UM0470 Datasheet HTML 12Page - STMicroelectronics UM0470 Datasheet HTML 13Page - STMicroelectronics UM0470 Datasheet HTML 14Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 10 / 37 page
background image
Single wire interface module (SWIM)
UM0470
10/37
3.4
SWIM communication protocol
When in ACTIVE mode, communication can be initiated by host or device. Each byte or
command is preceded by a 1-bit header in order to arbitrate if both host and device initiate
the communication at the same time.
The host header is ‘0’ in order to have the priority over the device in case of arbitration, due
to open-drain capability. The host can start the transfer only if there is no transfer on-going.
Figure 8.
.Command Format (Host -> Target)
Each command sent by the host is made of:
●
1 command (ROTF, WOTF or SWRST) made of
Header: 1 bit at ‘0’
b2-b0: 3-bit command
pb: parity bit: XOR between all b(i)
ack:acknowledge (1 bit at ‘1’). The receiver must send the not-acknowledge
value if it has detected a parity error (NACK: not acknowledge = 1 bit at ‘0’), or
it is not yet ready.
●
and optionally several data packets (in case of WOTF) made of:
Header: 1 bit at ‘0’
b7-b0:
8-bit data
pb:
parity bit sent after data. XOR between all b(i)
ack:
acknowledge
Figure 9.
Data Format (Target -> Host)
Each data frame is made of:
Header: 1 bit at ‘1’
b7-b0:
8-bit data
pb:
parity bit sent after data
ack:
acknowledge
b2
b1
b0
ack
Command
0
pb
Data1
b7
b6
b5
b4
b3
b2
b1
b0
pb ack
...
...
0
Italic: Bit sent by the Host
Bold: Bit sent by the device
b7
b6
b5
b4
b3
b2
b1
b0
pb ack
data n
data n+1
1
...
...
data n-1
Italic: Bit sent by the Host
Bold: Bit sent by the device



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 34 35 36 37


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