]> begriffs open source - cmsis/blob - main/RTOS2/html/pHardwareRequirements.html
Update documentation for branch main
[cmsis] / main / RTOS2 / html / pHardwareRequirements.html
1 <!-- HTML header for doxygen 1.9.6-->
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
4 <head>
5 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
6 <meta http-equiv="X-UA-Compatible" content="IE=11"/>
7 <meta name="viewport" content="width=device-width, initial-scale=1"/>
8 <title>CMSIS-RTOS2: Hardware Requirements</title>
9 <link href="doxygen.css" rel="stylesheet" type="text/css"/>
10 <link href="tabs.css" rel="stylesheet" type="text/css"/>
11 <link href="extra_navtree.css" rel="stylesheet" type="text/css"/>
12 <link href="extra_stylesheet.css" rel="stylesheet" type="text/css"/>
13 <link href="extra_search.css" rel="stylesheet" type="text/css"/>
14 <script type="text/javascript" src="jquery.js"></script>
15 <script type="text/javascript" src="dynsections.js"></script>
16 <script type="text/javascript" src="printComponentTabs.js"></script>
17 <script type="text/javascript" src="footer.js"></script>
18 <script type="text/javascript" src="navtree.js"></script>
19 <link href="navtree.css" rel="stylesheet" type="text/css"/>
20 <script type="text/javascript" src="resize.js"></script>
21 <script type="text/javascript" src="navtreedata.js"></script>
22 <script type="text/javascript" src="navtree.js"></script>
23 <link href="search/search.css" rel="stylesheet" type="text/css"/>
24 <script type="text/javascript" src="search/searchdata.js"></script>
25 <script type="text/javascript" src="search/search.js"></script>
26 <script type="text/javascript">
27 /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
28   $(document).ready(function() { init_search(); });
29 /* @license-end */
30 </script>
31 <script type="text/javascript" src="darkmode_toggle.js"></script>
32 <link href="extra_stylesheet.css" rel="stylesheet" type="text/css"/>
33 <link href="extra_navtree.css" rel="stylesheet" type="text/css"/>
34 <link href="extra_search.css" rel="stylesheet" type="text/css"/>
35 <link href="version.css" rel="stylesheet" type="text/css" />
36 <script type="text/javascript" src="../../version.js"></script>
37 </head>
38 <body>
39 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
40 <div id="titlearea">
41 <table cellspacing="0" cellpadding="0">
42  <tbody>
43  <tr style="height: 55px;">
44   <td id="projectlogo" style="padding: 1.5em;"><img alt="Logo" src="cmsis_logo_white_small.png"/></td>
45   <td style="padding-left: 1em; padding-bottom: 1em;padding-top: 1em;">
46    <div id="projectname">CMSIS-RTOS2
47    &#160;<span id="projectnumber"><script type="text/javascript">
48      <!--
49      writeHeader.call(this);
50      writeVersionDropdown.call(this, "CMSIS-RTOS2");
51      //-->
52     </script>
53    </span>
54    </div>
55    <div id="projectbrief">Real-Time Operating System: API and RTX Reference Implementation</div>
56   </td>
57    <td>        <div id="MSearchBox" class="MSearchBoxInactive">
58         <span class="left">
59           <span id="MSearchSelect"                onmouseover="return searchBox.OnSearchSelectShow()"                onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
60           <input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
61                onfocus="searchBox.OnSearchFieldFocus(true)" 
62                onblur="searchBox.OnSearchFieldFocus(false)" 
63                onkeyup="searchBox.OnSearchFieldChange(event)"/>
64           </span><span class="right">
65             <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
66           </span>
67         </div>
68 </td>
69   <!--END !PROJECT_NAME-->
70  </tr>
71  </tbody>
72 </table>
73 </div>
74 <!-- end header part -->
75 <div id="CMSISnav" class="tabs1">
76   <ul class="tablist">
77     <script type="text/javascript">
78       writeComponentTabs.call(this);
79     </script>
80   </ul>
81 </div>
82 <!-- Generated by Doxygen 1.9.6 -->
83 <script type="text/javascript">
84 /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
85 var searchBox = new SearchBox("searchBox", "search/",'.html');
86 /* @license-end */
87 </script>
88 </div><!-- top -->
89 <div id="side-nav" class="ui-resizable side-nav-resizable">
90   <div id="nav-tree">
91     <div id="nav-tree-contents">
92       <div id="nav-sync" class="sync"></div>
93     </div>
94   </div>
95   <div id="splitbar" style="-moz-user-select:none;" 
96        class="ui-resizable-handle">
97   </div>
98 </div>
99 <script type="text/javascript">
100 /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
101 $(document).ready(function(){initNavTree('pHardwareRequirements.html',''); initResizable(); });
102 /* @license-end */
103 </script>
104 <div id="doc-content">
105 <!-- window showing the filter options -->
106 <div id="MSearchSelectWindow"
107      onmouseover="return searchBox.OnSearchSelectShow()"
108      onmouseout="return searchBox.OnSearchSelectHide()"
109      onkeydown="return searchBox.OnSearchSelectKey(event)">
110 </div>
111
112 <!-- iframe showing the search results (closed by default) -->
113 <div id="MSearchResultsWindow">
114 <div id="MSearchResults">
115 <div class="SRPage">
116 <div id="SRIndex">
117 <div id="SRResults"></div>
118 <div class="SRStatus" id="Loading">Loading...</div>
119 <div class="SRStatus" id="Searching">Searching...</div>
120 <div class="SRStatus" id="NoMatches">No Matches</div>
121 </div>
122 </div>
123 </div>
124 </div>
125
126 <div><div class="header">
127   <div class="headertitle"><div class="title">Hardware Requirements </div></div>
128 </div><!--header-->
129 <div class="contents">
130 <div class="textblock"><p>The following section lists the hardware requirements for RTX v5 on the various supported target processors:</p>
131 <h1><a class="anchor" id="tpProcessor"></a>
132 Processor Requirements</h1>
133 <p>RTX assumes a fully functionable processor and uses the following hardware features. It does not implement any confidence test for processor validation which should be provided by an user-supplied software test library.</p>
134 <h2><a class="anchor" id="tpCortexM0_M0P_M23"></a>
135 Cortex-M0/M0+/M23 target processor</h2>
136 <table class="markdownTable">
137 <tr class="markdownTableHead">
138 <th class="markdownTableHeadLeft">Hardware Requirement   </th><th class="markdownTableHeadLeft">Description    </th></tr>
139 <tr class="markdownTableRowOdd">
140 <td class="markdownTableBodyLeft">SysTick timer   </td><td class="markdownTableBodyLeft">The SysTick timer generates the kernel tick interrupts and the interface is implemented in os_systick.c using the <a class="el" href="group__CMSIS__RTOS__TickAPI.html">OS Tick API</a>    </td></tr>
141 <tr class="markdownTableRowEven">
142 <td class="markdownTableBodyLeft">Exception Handler   </td><td class="markdownTableBodyLeft">RTX implements exception handlers for SVC, PendSV, and SysTick interrupt    </td></tr>
143 <tr class="markdownTableRowOdd">
144 <td class="markdownTableBodyLeft">Core Registers   </td><td class="markdownTableBodyLeft">The processor status is read using the following core registers: CONTROL, IPSR, PRIMASK    </td></tr>
145 <tr class="markdownTableRowEven">
146 <td class="markdownTableBodyLeft">System Control Block (SBC)   </td><td class="markdownTableBodyLeft">To control and setup the processor exceptions including PendSV and SVC    </td></tr>
147 <tr class="markdownTableRowOdd">
148 <td class="markdownTableBodyLeft">Interrupt Control   </td><td class="markdownTableBodyLeft">The CMSIS-Core functions __disable_irq and __enable_irq to control the interrupt system via the CPSR core register.   </td></tr>
149 </table>
150 <p>The RTX implements interfaces to the processor hardware in following files:</p><ul>
151 <li><b>irq_armv6m.S</b> defines exception handlers for Cortex-M0/M0+ </li>
152 <li><b>irq_armv8mbl.S</b> defines exception handlers for Cortex-M23 </li>
153 <li><b>rtx_core_cm.h</b> defines processor specific helper functions and the interfaces to Core Registers and Core Peripherals.</li>
154 <li><b>os_tick.h</b> is the <a class="el" href="group__CMSIS__RTOS__TickAPI.html">OS Tick API</a> that defines the interface functions to the SysTick timer.</li>
155 </ul>
156 <dl class="section note"><dt>Note</dt><dd><ul>
157 <li>The CMSIS-Core variable <code>SystemCoreClock</code> is used by RTX to configure the SysTick timer.</li>
158 </ul>
159 </dd></dl>
160 <h2><a class="anchor" id="tpCortexM3_M4_M7_M33_M35P"></a>
161 Cortex-M3/M4/M7/M33/M35P target processor</h2>
162 <p>RTX assumes a fully function-able processor and uses the following hardware features:</p>
163 <table class="markdownTable">
164 <tr class="markdownTableHead">
165 <th class="markdownTableHeadLeft">Hardware Item   </th><th class="markdownTableHeadLeft">Requirement Description    </th></tr>
166 <tr class="markdownTableRowOdd">
167 <td class="markdownTableBodyLeft">SysTick timer   </td><td class="markdownTableBodyLeft">The <b>SysTick</b> timer shall be available in the processor.    </td></tr>
168 <tr class="markdownTableRowEven">
169 <td class="markdownTableBodyLeft">System Exceptions   </td><td class="markdownTableBodyLeft">The RTX requires <b>SVC</b>, <b>PendSV</b>, and <b>SysTick</b> exceptions and implements corresponding exception handlers.    </td></tr>
170 <tr class="markdownTableRowOdd">
171 <td class="markdownTableBodyLeft">Core Registers   </td><td class="markdownTableBodyLeft">The RTX uses <b>CONTROL</b>, <b>IPSR</b> , <b>PRIMASK</b> and <b>BASEPRI</b> core registers for reading processor status.    </td></tr>
172 <tr class="markdownTableRowEven">
173 <td class="markdownTableBodyLeft">System Control Block (SCB)   </td><td class="markdownTableBodyLeft">The RTX uses <b>SCB</b> registers to control and setup the processor system exceptions including PendSV and SVC.    </td></tr>
174 <tr class="markdownTableRowOdd">
175 <td class="markdownTableBodyLeft">NVIC Interface   </td><td class="markdownTableBodyLeft">CMSIS-Core function <b>NVIC_GetPriorityGrouping</b> is used by the RTX to setup interrupt priorities.    </td></tr>
176 <tr class="markdownTableRowEven">
177 <td class="markdownTableBodyLeft">LDREX, STREX instructions   </td><td class="markdownTableBodyLeft">Exclusive access instructions <b>LDREX</b> and <b>STREX</b> are used to implement atomic execution without disabling interrupts.   </td></tr>
178 </table>
179 <p>The interface files to the processor hardware are:</p><ul>
180 <li><b>irq_armv7m.S</b> defines exception handlers for Cortex-M3 and Cortex-M4/M7. </li>
181 <li><b>irq_armv8mml.S</b> defines exception handlers for Cortex-M33/M35P </li>
182 <li><b>rtx_core_cm.h</b> defines processor specific helper functions and the interfaces to Core Registers and Core Peripherals.</li>
183 <li><b>os_tick.h</b> is the <a class="el" href="group__CMSIS__RTOS__TickAPI.html">OS Tick API</a> that defines the interface functions to the SysTick timer.</li>
184 </ul>
185 <dl class="section note"><dt>Note</dt><dd><ul>
186 <li>The CMSIS-Core variable <code>SystemCoreClock</code> is used by RTX to configure the SysTick timer.</li>
187 </ul>
188 </dd></dl>
189 <h2><a class="anchor" id="tpCortexA5_A7_A9"></a>
190 Cortex-A5/A7/A9 target processor</h2>
191 <table class="markdownTable">
192 <tr class="markdownTableHead">
193 <th class="markdownTableHeadLeft">Hardware Requirement   </th><th class="markdownTableHeadLeft">Description    </th></tr>
194 <tr class="markdownTableRowOdd">
195 <td class="markdownTableBodyLeft">Timer Peripheral   </td><td class="markdownTableBodyLeft">An arbitrary timer peripheral generates the kernel tick interrupts. The interfaces for Cortex-A Generic Timer and Private Timer are implemented in os_tick_gtim.c and os_tick_ptim.c using the <a class="el" href="group__CMSIS__RTOS__TickAPI.html">OS Tick API</a>    </td></tr>
196 <tr class="markdownTableRowEven">
197 <td class="markdownTableBodyLeft">Exception Handler   </td><td class="markdownTableBodyLeft">RTX implements exception handlers for SVC, IRQ, Data Abort, Prefetch Abort and Undefined Instruction interrupt.    </td></tr>
198 <tr class="markdownTableRowOdd">
199 <td class="markdownTableBodyLeft">Core Registers   </td><td class="markdownTableBodyLeft">The processor status is read using the following core registers: CPSR, CPACR and FPSCR.    </td></tr>
200 <tr class="markdownTableRowEven">
201 <td class="markdownTableBodyLeft">LDREX, STREX instruction   </td><td class="markdownTableBodyLeft">Atomic execution avoids the requirement to disable interrupts and is implemented via exclusive access instructions.    </td></tr>
202 <tr class="markdownTableRowOdd">
203 <td class="markdownTableBodyLeft">Interrupt Controller   </td><td class="markdownTableBodyLeft">An interrupt controller interface is required to setup and control Timer Peripheral interrupt. The interface for Arm GIC (Generic Interrupt Controller) is implemented in irq_ctrl_gic.c using the <a href="../../Core_A/html/group__irq__ctrl__gr.html" class="el">IRQ Controller API</a>.   </td></tr>
204 </table>
205 <p>The interface files to the processor hardware are:</p><ul>
206 <li><b>irq_armv7a.S</b> defines SVC, IRQ, Data Abort, Prefetch Abort and Undefined Instruction exception handlers.</li>
207 <li><b>rtx_core_ca.h</b> defines processor specific helper functions and the interfaces to Core Registers and Core Peripherals.</li>
208 <li><b>os_tick.h</b> is the <a class="el" href="group__CMSIS__RTOS__TickAPI.html">OS Tick API</a> that defines the interface functions to the timer peripheral.</li>
209 <li><b>irq_ctrl.h</b> is the <a href="../../Core_A/html/group__irq__ctrl__gr.html" class="el">IRQ Controller API</a> that defines the interface functions to the interrupt controller.</li>
210 </ul>
211 <dl class="section note"><dt>Note</dt><dd><ul>
212 <li>The CMSIS-Core variable <code>SystemCoreClock</code> is used by RTX to configure the timer peripheral. </li>
213 </ul>
214 </dd></dl>
215 <h1><a class="anchor" id="rMemory"></a>
216 Memory Requirements</h1>
217 <p>RTX requires RAM memory that is accessible with contiguous linear addressing. When memory is split across multiple memory banks, some systems do not accept multiple load or store operations on this memory blocks.</p>
218 <p>RTX does not implement any confidence test for memory validation. This should be implemented by an user-supplied software test library. </p>
219 </div></div><!-- contents -->
220 </div><!-- PageDoc -->
221 </div><!-- doc-content -->
222 <!-- start footer part -->
223 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
224   <ul>
225     <li class="footer">
226       <script type="text/javascript">
227         <!--
228         writeFooter.call(this);
229         //-->
230       </script> 
231     </li>
232   </ul>
233 </div>
234 </body>
235 </html>