Electronic Components Datasheet Search
  English  ▼

X  

SW4STM32C Datasheet(PDF) 71 Page - STMicroelectronics

Part # SW4STM32C
Description  STM32 microcontroller debug toolbox
PDF  99 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

SW4STM32C Datasheet(HTML) 71 Page - STMicroelectronics

Back Button SW4STM32C Datasheet HTML 67Page - STMicroelectronics SW4STM32C Datasheet HTML 68Page - STMicroelectronics SW4STM32C Datasheet HTML 69Page - STMicroelectronics SW4STM32C Datasheet HTML 70Page - STMicroelectronics SW4STM32C Datasheet HTML 71Page - STMicroelectronics SW4STM32C Datasheet HTML 72Page - STMicroelectronics SW4STM32C Datasheet HTML 73Page - STMicroelectronics SW4STM32C Datasheet HTML 74Page - STMicroelectronics SW4STM32C Datasheet HTML 75Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 71 / 99 page
background image
DocID030181 Rev 2
71/99
AN4989
Debug through hardware exploration
98
8
Debug through hardware exploration
As a complement to software instrumentation, a user facing a non-working system may take
great advantage to monitor STM32 pin states (GPIO or clock among others) with external
tools such as oscilloscopes or logic analyzers.
This chapter presents the possibilities offered by STMicroelectronics hardware kits and
integrates a complete tutorial to setup the microcontroller clock output (MCO)
8.1
Easy pinout probing with STMicroelectronics hardware kits
All STMicroelectronics hardware kits presented in Section 2.1.1 on page 9 offers easy
pinout access thanks to their Morpho or Arduino™ connectors.
The coverage of the pinout by the connectors depends on the board itself as well as on the
MCU type. In most cases, a large number of GPIOs are covered.
In order to use this coverage at best, the user is advised to study the board schematics that
show the connections between the MCU pins and the connectors. In association with the
schematics, the board user manual presents the jumper and solder bridge configurations
that modify the routing of pins to connectors.
8.2
Microcontroller clock output (MCO)
This feature allows to output one or more internal clock to one or more pins in order to
enable measurement through an external tool, typically an oscilloscope.
It can be useful in debug context in order to check that clock settings is as per expectation
and help to investigate potential error in clock tree initialization code.
8.2.1
Configuration with STM32CubeMX
In STM32CubeMX, MCO stands for master clock output. It is enabled by ticking the Master
Clock Output option in the RCC section as shown in Figure 52.
Figure 52. MCO pin selection in STM32CubeMX
This allocates a pin labeled RCC_MCO.



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 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99


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