Electronic Components Datasheet Search
  English  ▼

X  

UM0470 Datasheet(PDF) 11 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) 11 Page - STMicroelectronics

Back Button 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 UM0470 Datasheet HTML 15Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 11 / 37 page
background image
UM0470
Single wire interface module (SWIM)
11/37
3.5
SWIM commands
The Host can send a command when the line is idle or after each data byte from device.
After sending the command, the host releases the line. When the SWIM is ready to answer
to the command, it initiates the transfer. If a new command from the host occurs while a
command is pending in SWIM, the pending command is cancelled and the new command is
decoded, except in case of WOTF.
Three commands are available. They are listed in Table 1.
3.5.1
SRST: system reset
Format: 1 command from Host to Target
Parameters:
None.
SRST command generates a system reset only if SWIM_CSR/SWIM_DM bit is set.
3.5.2
ROTF: read on the fly
Format: 1 command followed by the number of bytes to be read followed by the address on
three bytes.
Parameters:
N
The 8 bits are the number of bytes to read (from 1 to 255)
@E/H/L:
This is the 24-bit address to be accessed.
D[...]:
These are the data bytes read from the memory space
If the host sends a NACK to a data byte, the device will send the same byte again.
If SWIM_DM bit is cleared, ROTF can only be done on SWIM internal registers.
3.5.3
WOTF: write on the fly
1 command followed by the number of bytes to be written followed by the address on three
bytes.
Table 1.
SWIM command summary
Command
Binary Code
SRST
000
ROTF
001
WOTF
010
Reserved for future use
011
1xx
SRST
ROTF
N
@E
@H
@L
D[@]
D[@+N]
WOTF
N
@E
@H
@L
D[@]
D[@+N]



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