emi13.htm

来自「ST20 Embedded Toolset R2.0.5用于开发基于ST20芯片」· HTM 代码 · 共 59 行

HTM
59
字号
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="GENERATOR" content="Quadralay WebWorks Publisher Professional Edition 6.0.5">
<meta name="TEMPLATEBASE" content="book_html">
<meta name="LASTUPDATED" content="12/04/03 16:03:24">
<title>2.4.3 Using the stemi -sdrammodereg option  </title>

<STYLE TYPE="text/css">
<!--
	span.Signal { text-transform: uppercase; font-family: Verdana }
-->
</STYLE>

</head>

<body link="#3366CC" vlink="#9999CC" text="#000000" alink="#0000CC" bgcolor="#FFFFFF"
background="images/backgrnd.gif">

<p><img src="images/stlogo.gif" width="106" height="83" align="left"
alt="logo here!"> </p>

<table width="331" border="0" align="right" cellpadding="0" cellspacing="0">
  <tr>
    <td><a href="a_refman.htm"><img src="images/navtoc.gif" width="84" height="23"
    border="0" alt="TOC"> </a></td>
    <td><a href="emi12.htm"><img src="images/navprev.gif" width="80" height="23"
    border="0" alt="PREV"> </a></td>
    <td><a href="emi14.htm"><img src="images/navnext.gif" width="83" height="23"
    border="0" alt="NEXT"> </a></td>
    <td><a href="a_refmaa.htm"><img src="images/navidx.gif" width="84" height="23"
    border="0" alt="INDEX"> </a></td>
  </tr>
</table>

<p><br clear="all">
</p>

<hr align="left">

<blockquote>
<h3>
  <a name="1206223"> </a><font color="#003366"  face="Verdana, Arial, Helvetica, sans-serif">2.4.3 	 Using the stemi -sdrammodereg option</font>
</h3>


<p>
  <a name="1206224"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">For chips with an EMI4 part, bits 0 to 15 of the SDRAM mode register are used for one SDRAM bank or for bank 0 when two SDRAM banks are used. Bits 16 to 31 are used for SDRAM in the higher bank when two SDRAM banks are used. The correct positioning of data is handled by <strong>stemi</strong>, so the user needs only to enter the valid data for the currently selected bank. It is not possible to set bits 0 to 31 with one use of this option. This option should only be used when the selected bank type is "<font size=2 face=Courier><strong>SDRAM</strong></font>", otherwise an error will be reported.</font>
</p>


<p>
  <a name="1206225"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">For chips with EMI3, the <font  face="Verdana, Arial, Helvetica, sans-serif"><b>sdrammodereg</b></font> option causes <strong>stemi</strong> to place the entered data in either the <span class=Signal>SDRAMModeReg0</span> or <span class=Signal>SDRAMModeReg1</span> locations depending on the selected bank and number of SDRAM banks selected. <span class=Signal>SDRAMModeReg0</span> is used in the case of one SDRAM bank in the device and when bank0 is selected when there are two SDRAMs. <span class=Signal>SDRAMModeReg1</span> is used when bank1 is selected when two SDRAM banks exist in the device.</font>
</p>


<p>
  <a name="1206226"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">For both devices, using this option may affect the values of the following options: <font  face="Verdana, Arial, Helvetica, sans-serif"><b>bursttype</b></font>, <font  face="Verdana, Arial, Helvetica, sans-serif"><b>burstlength</b></font>, <font  face="Verdana, Arial, Helvetica, sans-serif"><b>latencymode</b></font> and <font  face="Verdana, Arial, Helvetica, sans-serif"><b>caslatency</b></font>; see <a href="emi5.htm#1206061"><font  color="#0000ff" face="Verdana, Arial, Helvetica, sans-serif"><i>Table

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?