Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

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

  UM0470 Datasheet HTML 1Page - STMicroelectronics UM0470 Datasheet HTML 2Page - STMicroelectronics UM0470 Datasheet HTML 3Page - STMicroelectronics UM0470 Datasheet HTML 4Page - STMicroelectronics UM0470 Datasheet HTML 5Page - STMicroelectronics UM0470 Datasheet HTML 6Page - STMicroelectronics UM0470 Datasheet HTML 7Page - STMicroelectronics UM0470 Datasheet HTML 8Page - STMicroelectronics UM0470 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 5 / 37 page
background image
UM0470
Communication layer
5/37
2
Communication layer
The SWIM module is a single wire interface based on asynchronous, high sink (8 mA),
open-drain, bidirectional communication.
While the CPU is running, the SWIM module allows non-intrusive read/write accesses to be
performed on-the-fly to the RAM and peripheral registers, for debug purposes.
In addition, while the CPU is stalled, the SWIM module allows read/write accesses to be
performed to any other part of the MCU’s memory space (Data EEPROM and program
memory).
CPU registers (A, X, Y, CC, SP) can also be accessed. These registers are mapped in
memory and can be accessed in the same way as other memory addresses.
●
Register, peripherals and memory can be accessed only when the SWIM_DM bit is set.
●
When the system is in HALT, WFI or readout protection mode, the NO_ACCESS flag in
the SWIM_CSR register is set. In this case, it is forbidden to perform any accesses
because parts of the device may not be clocked and a read access could return
garbage or a write access might not succeed.
The SWIM module can perform a MCU device software reset.
The SWIM pin can also be used by the MCU target application as a standard I/O port with
some restrictions if you also want to use it for debug. The safest way is to provide a strap
option on the application PCB.
Figure 2.
SWIM pin external connections
STM8
Application I/O
SWIM interface for tools
Jumper selection for
debug purposes
SWIM pin



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