<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
	<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=windows-1252">
	<TITLE>SCI</TITLE>
	<META NAME="GENERATOR" CONTENT="OpenOffice.org 1.0.1  (Win32)">
	<META NAME="CREATED" CONTENT="20040512;8444942">
	<META NAME="CHANGED" CONTENT="20050302;15194867">
</HEAD>
<BODY LANG="fr-FR">
<P STYLE="margin-bottom: 0cm"><FONT SIZE=2><FONT FACE="Helvetica, Arial, sans-serif"><A HREF="javascript:history.go(-1)"><IMG SRC="../images/back.gif" NAME="Image1" ALT="Back" ALIGN=MIDDLE HSPACE=5 WIDTH=37 HEIGHT=44 BORDER=0></A><A HREF="javascript:history.go(-1)">
</A>
<A HREF="../summary.html"><IMG SRC="../images/sommaire.gif" NAME="Image2" ALT="Summary" ALIGN=MIDDLE HSPACE=5 WIDTH=37 HEIGHT=44 BORDER=0></A><A HREF="../summary.html">
</A><BR><IMG SRC="../images/entete.gif" NAME="Image3" ALIGN=BOTTOM WIDTH=541 HEIGHT=13 BORDER=0>
</FONT></FONT>
</P>
<P ALIGN=CENTER STYLE="margin-bottom: 0cm"><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2><B>SCI</B></FONT></FONT></P>
<P ALIGN=LEFT STYLE="margin-bottom: 0cm"><BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 2cm; margin-bottom: 0cm; font-weight: medium">
<FONT COLOR="#000000"><FONT FACE="Arial, sans-serif"><FONT SIZE=2>The
Serial Communications Interface (SCI) offers a flexible means of
full-duplex data exchange with external equipment requiring an
industry standard NRZ asynchronous serial data format (UART). The SCI
offers a very wide range of baud rates using two baud rate generator
systems.</FONT></FONT></FONT></P>
<P ALIGN=LEFT STYLE="margin-bottom: 0cm"><BR>
</P>
<CENTER>
	<TABLE WIDTH=90% BORDER=0 CELLPADDING=0 CELLSPACING=0>
		<TR>
			<TD WIDTH=30 VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2><IMG SRC="../images/SCI_conf_and_use.gif" NAME="Image4" ALT="SCI, Configure and Use" ALIGN=BOTTOM WIDTH=225 HEIGHT=20 BORDER=0>
				</FONT></FONT>
				</P>
			</TD>
		</TR>
		<TR>
			<TD VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2>Check
				this option to enable the configuration of the SCI. Checking this
				option will make visble the other options. </FONT></FONT>
				</P>
			</TD>
		</TR>
	</TABLE>
</CENTER>
<P STYLE="margin-bottom: 0cm"><BR>
</P>
<CENTER>
	<TABLE WIDTH=90% BORDER=0 CELLPADDING=0 CELLSPACING=0>
		<TR>
			<TD WIDTH=30 VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2><IMG SRC="../images/SCI_use_9bit_trans.gif" NAME="Image5" ALT="SCI, Use 9bit Transmission" ALIGN=BOTTOM WIDTH=225 HEIGHT=20 BORDER=0>
				</FONT></FONT>
				</P>
			</TD>
		</TR>
		<TR>
			<TD VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2>Check
				this option to select the 9-bit data length. If not selected, 8
				bit words are transmitted. Note that the parity bit (when the
				parity is generated) is included into the total length.</FONT></FONT></P>
			</TD>
		</TR>
	</TABLE>
</CENTER>
<P STYLE="margin-bottom: 0cm"><BR>
</P>
<CENTER>
	<TABLE WIDTH=90% BORDER=0 CELLPADDING=0 CELLSPACING=0>
		<TR>
			<TD WIDTH=30 VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2><IMG SRC="../images/SCI_parity_check.gif" NAME="Image6" ALT="SCI, Parity Check" ALIGN=BOTTOM WIDTH=225 HEIGHT=20 BORDER=0>
				</FONT></FONT>
				</P>
			</TD>
		</TR>
		<TR>
			<TD VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2>Check
				this option to add a parity bit in the SCI frame. Note that the
				parity bit is included in the data length specified above.</FONT></FONT></P>
			</TD>
		</TR>
	</TABLE>
</CENTER>
<P STYLE="margin-bottom: 0cm"><BR>
</P>
<CENTER>
	<TABLE WIDTH=90% BORDER=0 CELLPADDING=0 CELLSPACING=0>
		<COL WIDTH=26*>
		<COL WIDTH=41*>
		<COL WIDTH=41*>
		<COL WIDTH=123*>
		<COL WIDTH=26*>
		<TR>
			<TD COLSPAN=5 WIDTH=100% VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2>Therefore,
				the word frame consists of: </FONT></FONT>
				</P>
			</TD>
		</TR>
		<TR VALIGN=TOP>
			<TD ROWSPAN=5 WIDTH=10%></TD>
			<TD WIDTH=16%>
				<P ALIGN=CENTER><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2><U>Use
				9-bit</U></FONT></FONT></P>
			</TD>
			<TD WIDTH=16%>
				<P ALIGN=CENTER><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2><U>Parity</U></FONT></FONT></P>
			</TD>
			<TD WIDTH=48%>
				<P ALIGN=CENTER><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2><U>Frame
				format</U></FONT></FONT></P>
			</TD>
			<TD ROWSPAN=5 WIDTH=10%></TD>
		</TR>
		<TR VALIGN=TOP>
			<TD WIDTH=16%>
				<P ALIGN=CENTER><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2>No</FONT></FONT></P>
			</TD>
			<TD WIDTH=16%>
				<P ALIGN=CENTER><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2>No</FONT></FONT></P>
			</TD>
			<TD WIDTH=48%>
				<P ALIGN=CENTER><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2>|
				SB | 8-bit data | STB |</FONT></FONT></P>
			</TD>
		</TR>
		<TR VALIGN=TOP>
			<TD WIDTH=16%>
				<P ALIGN=CENTER><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2>No</FONT></FONT></P>
			</TD>
			<TD WIDTH=16%>
				<P ALIGN=CENTER><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2>Yes</FONT></FONT></P>
			</TD>
			<TD WIDTH=48%>
				<P ALIGN=CENTER><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2>|
				SB | 7-bit dada | PB | STB |</FONT></FONT></P>
			</TD>
		</TR>
		<TR VALIGN=TOP>
			<TD WIDTH=16%>
				<P ALIGN=CENTER><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2>Yes</FONT></FONT></P>
			</TD>
			<TD WIDTH=16%>
				<P ALIGN=CENTER><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2>No</FONT></FONT></P>
			</TD>
			<TD WIDTH=48%>
				<P ALIGN=CENTER><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2>|
				SB | 9-bit data | STB |</FONT></FONT></P>
			</TD>
		</TR>
		<TR VALIGN=TOP>
			<TD WIDTH=16%>
				<P ALIGN=CENTER><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2>Yes</FONT></FONT></P>
			</TD>
			<TD WIDTH=16%>
				<P ALIGN=CENTER><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2>Yes</FONT></FONT></P>
			</TD>
			<TD WIDTH=48%>
				<P ALIGN=CENTER><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2>|
				SB | 8-bit data | PB | STB |</FONT></FONT></P>
			</TD>
		</TR>
		<TR>
			<TD COLSPAN=5 WIDTH=100% VALIGN=TOP>
				<P ALIGN=CENTER><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2>Legend:
				SB=Start Bit, STB=Stop Bit, PB=Parity Bit</FONT></FONT></P>
			</TD>
		</TR>
	</TABLE>
</CENTER>
<P STYLE="margin-bottom: 0cm"><BR>
</P>
<CENTER>
	<TABLE WIDTH=90% BORDER=0 CELLPADDING=0 CELLSPACING=0>
		<TR>
			<TD WIDTH=30 VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2><IMG SRC="../images/SCI_odd_parity.gif" NAME="Image7" ALT="SCI, Od Parity" ALIGN=BOTTOM WIDTH=225 HEIGHT=20 BORDER=0>
				</FONT></FONT>
				</P>
			</TD>
		</TR>
		<TR>
			<TD VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2>Check
				this option to calculate the parity bit in order to obtain an odd
				number of &quot;1s&quot;. If not checked, the parity bit is
				calculated to obtain an even number of &quot;1s&quot;.</FONT></FONT></P>
			</TD>
		</TR>
	</TABLE>
</CENTER>
<P STYLE="margin-bottom: 0cm"><BR>
</P>
<CENTER>
	<TABLE WIDTH=90% BORDER=0 CELLPADDING=0 CELLSPACING=0>
		<TR>
			<TD WIDTH=30 VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2><IMG SRC="../images/SCI_add_wu_method.gif" NAME="Image8" ALT="SCI, Use Address Wake-Up Method" ALIGN=BOTTOM WIDTH=225 HEIGHT=20 BORDER=0>
				</FONT></FONT>
				</P>
			</TD>
		</TR>
		<TR>
			<TD VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2>Check
				this option to wake up the receiver from mute mode by Address
				Mark detection (i.e., MSBit of the data transmitted should be 1).
				Otherwise, the MCU will awaken by Idle Line detection. </FONT></FONT>
				</P>
			</TD>
		</TR>
	</TABLE>
</CENTER>
<P STYLE="margin-bottom: 0cm"><BR>
</P>
<CENTER>
	<TABLE WIDTH=90% BORDER=0 CELLPADDING=0 CELLSPACING=0>
		<TR>
			<TD WIDTH=30 VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2><IMG SRC="../images/SCI_mute_mode.gif" NAME="Image9" ALT="SCI, Mute Mode" ALIGN=BOTTOM WIDTH=225 HEIGHT=20 BORDER=0>
				</FONT></FONT>
				</P>
			</TD>
		</TR>
		<TR>
			<TD VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2>The
				non-addressed device may be placed in sleep mode by means of the
				mute function.</FONT></FONT></P>
			</TD>
		</TR>
	</TABLE>
</CENTER>
<P STYLE="margin-bottom: 0cm"><BR>
</P>
<CENTER>
	<TABLE WIDTH=90% BORDER=0 CELLPADDING=0 CELLSPACING=0>
		<TR>
			<TD WIDTH=30 VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2><IMG SRC="../images/SCI_break_char.gif" NAME="Image10" ALT="SCI, Send Break Character" ALIGN=BOTTOM WIDTH=225 HEIGHT=20 BORDER=0>
				</FONT></FONT>
				</P>
			</TD>
		</TR>
		<TR>
			<TD VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2>When
				checked, the interface will send break characters until SBK bit
				is cleared.</FONT></FONT></P>
			</TD>
		</TR>
	</TABLE>
</CENTER>
<P STYLE="margin-bottom: 0cm"><BR>
</P>
<CENTER>
	<TABLE WIDTH=90% BORDER=0 CELLPADDING=0 CELLSPACING=0>
		<TR>
			<TD WIDTH=30 VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2><IMG SRC="../images/SCI_trans_baud_rate.gif" NAME="Image11" ALT="SCI, Transmitter Baud Rate" ALIGN=BOTTOM WIDTH=225 HEIGHT=20 BORDER=0>
				</FONT></FONT>
				</P>
			</TD>
		</TR>
		<TR>
			<TD VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2>The
				internal baud rate generator allows virtually all the common baud
				rates for fCPU=8MHz. </FONT></FONT>
				</P>
			</TD>
		</TR>
	</TABLE>
</CENTER>
<P STYLE="margin-bottom: 0cm"><BR>
</P>
<CENTER>
	<TABLE WIDTH=90% BORDER=0 CELLPADDING=0 CELLSPACING=0>
		<TR>
			<TD WIDTH=30 VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2><IMG SRC="../images/SCI_receiv_baud_rate.gif" NAME="Image12" ALT="SCI, Receiver Baud Rate" ALIGN=BOTTOM WIDTH=225 HEIGHT=20 BORDER=0>
				</FONT></FONT>
				</P>
			</TD>
		</TR>
		<TR>
			<TD VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2>The
				receiver and the transmitter baud rates generators are
				independent. Therefore, you could some different values.</FONT></FONT></P>
			</TD>
		</TR>
	</TABLE>
</CENTER>
<P STYLE="margin-bottom: 0cm"><BR>
</P>
<CENTER>
	<TABLE WIDTH=90% BORDER=0 CELLPADDING=0 CELLSPACING=0>
		<TR>
			<TD WIDTH=30 VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2><IMG SRC="../images/SCI_polling_mode.gif" NAME="Image13" ALT="SCI, Polling Mode" ALIGN=BOTTOM WIDTH=225 HEIGHT=20 BORDER=0>
				</FONT></FONT>
				</P>
			</TD>
		</TR>
		<TR>
			<TD VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2>SCI
				reception can be handled either by interrupt or polling. Check
				this option to select the polling mode, uncheck it if you prefer
				the interrupt mode..</FONT></FONT></P>
			</TD>
		</TR>
	</TABLE>
</CENTER>
<P STYLE="margin-bottom: 0cm"><BR>
</P>
<CENTER>
	<TABLE WIDTH=90% BORDER=0 CELLPADDING=0 CELLSPACING=0>
		<TR>
			<TD WIDTH=30 VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2><IMG SRC="../images/SCI_enable_rx.gif" NAME="Image14" ALT="SCI, Enable Reception" ALIGN=BOTTOM WIDTH=225 HEIGHT=20 BORDER=0>
				</FONT></FONT>
				</P>
			</TD>
		</TR>
		<TR>
			<TD VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2>Select
				this option to enable the SCI receiver and to begin searching for
				a start bit (it could be possible to transmit without receiving).</FONT></FONT></P>
			</TD>
		</TR>
	</TABLE>
</CENTER>
<P STYLE="margin-bottom: 0cm"><BR>
</P>
<CENTER>
	<TABLE WIDTH=90% BORDER=0 CELLPADDING=0 CELLSPACING=0>
		<TR>
			<TD WIDTH=30 VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2><IMG SRC="../images/SCI_enable_tx.gif" NAME="Image15" ALT="SCI, Enable Transmission" ALIGN=BOTTOM WIDTH=225 HEIGHT=20 BORDER=0>
				</FONT></FONT>
				</P>
			</TD>
		</TR>
		<TR>
			<TD VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2>Select
				this option to enable the SCI transmission (it could be possible
				to receive without transmitting)..</FONT></FONT></P>
			</TD>
		</TR>
	</TABLE>
</CENTER>
<P STYLE="margin-bottom: 0cm"><BR>
</P>
<CENTER>
	<TABLE WIDTH=90% BORDER=0 CELLPADDING=0 CELLSPACING=0>
		<TR>
			<TD WIDTH=30 VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2><IMG SRC="../Images/SCI_en_IL_int.gif" NAME="Image16" ALT="SCI, Enable Idle Line interrupt" ALIGN=BOTTOM WIDTH=225 HEIGHT=20 BORDER=0>
				</FONT></FONT>
				</P>
			</TD>
		</TR>
		<TR>
			<TD VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2>This
				option enabled the &laquo;&nbsp;Idle Line received&nbsp;&raquo;
				interrupt.</FONT></FONT></P>
			</TD>
		</TR>
	</TABLE>
</CENTER>
<P STYLE="margin-bottom: 0cm"><BR>
</P>
<CENTER>
	<TABLE WIDTH=90% BORDER=0 CELLPADDING=0 CELLSPACING=0>
		<TR>
			<TD WIDTH=30 VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2><IMG SRC="../Images/SCI_en_Parity_int.gif" NAME="Image17" ALT="SCI, Enable Parity interrupt" ALIGN=BOTTOM WIDTH=225 HEIGHT=20 BORDER=0>
				</FONT></FONT>
				</P>
			</TD>
		</TR>
		<TR>
			<TD VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2>This
				option enables the interrupt capability of the hardware parity
				control (an interrupt is generated whenever a parity error is
				detected)..</FONT></FONT></P>
			</TD>
		</TR>
	</TABLE>
</CENTER>
<P STYLE="margin-bottom: 0cm"><BR>
</P>
<CENTER>
	<TABLE WIDTH=90% BORDER=0 CELLPADDING=0 CELLSPACING=0>
		<TR>
			<TD WIDTH=30 VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2><IMG SRC="../Images/SCI_en_Receiver_int.gif" NAME="Image18" ALT="SCI, Enable Receiver interrupt" ALIGN=BOTTOM WIDTH=225 HEIGHT=20 BORDER=0>
				</FONT></FONT>
				</P>
			</TD>
		</TR>
		<TR>
			<TD VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2>Select
				this option to enable the Receiver interrupt capability.</FONT></FONT></P>
			</TD>
		</TR>
	</TABLE>
</CENTER>
<P STYLE="margin-bottom: 0cm"><BR>
</P>
<CENTER>
	<TABLE WIDTH=90% BORDER=0 CELLPADDING=0 CELLSPACING=0>
		<TR>
			<TD WIDTH=30 VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2><IMG SRC="../Images/SCI_en_Transmission_int.gif" NAME="Image19" ALT="SCI, Enable Transmission Complete interrupt" ALIGN=BOTTOM WIDTH=225 HEIGHT=20 BORDER=0>
				</FONT></FONT>
				</P>
			</TD>
		</TR>
		<TR>
			<TD VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2>When
				selected, an interrupt is generated whenever a transmission of a
				frame containing Data, a preamble or a break is detected. .</FONT></FONT></P>
			</TD>
		</TR>
	</TABLE>
</CENTER>
<P STYLE="margin-bottom: 0cm"><BR>
</P>
<CENTER>
	<TABLE WIDTH=90% BORDER=0 CELLPADDING=0 CELLSPACING=0>
		<TR>
			<TD WIDTH=30 VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2><IMG SRC="../Images/SCI_en_Transmitter_int.gif" NAME="Image20" ALT="SCI, Enable Transmitter interrupt" ALIGN=BOTTOM WIDTH=225 HEIGHT=20 BORDER=0>
				</FONT></FONT>
				</P>
			</TD>
		</TR>
		<TR>
			<TD VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2>Select
				this option to enable the Transmitter interrupt.</FONT></FONT></P>
			</TD>
		</TR>
	</TABLE>
</CENTER>
<P STYLE="margin-bottom: 0cm"><BR>
</P>
<CENTER>
	<TABLE WIDTH=90% BORDER=0 CELLPADDING=0 CELLSPACING=0>
		<TR>
			<TD WIDTH=30 VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2><IMG SRC="../Images/SCI_gen_polling_putchar.gif" NAME="Image21" ALT="SCI, Generate SCI Polling putchar" ALIGN=BOTTOM WIDTH=225 HEIGHT=20 BORDER=0>
				</FONT></FONT>
				</P>
			</TD>
		</TR>
		<TR>
			<TD VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2>Select
				this option to let <I>RBuilder</I> generate a <FONT FACE="Courier New, Courier, monospace">putchar</FONT>
				using the polling mode. The <FONT FACE="Courier New, Courier, monospace">putchar</FONT>
				function will be generated just after the main function and will
				use the polling mode. Selecting this option selects the <U><I>Use
				Polling Mode with SCI</I></U> option.</FONT></FONT></P>
			</TD>
		</TR>
	</TABLE>
</CENTER>
<P STYLE="margin-bottom: 0cm"><BR>
</P>
<CENTER>
	<TABLE WIDTH=90% BORDER=0 CELLPADDING=0 CELLSPACING=0>
		<TR>
			<TD WIDTH=30 VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2><IMG SRC="../Images/SCI_gen_sample_code.gif" NAME="Image22" ALT="SCI, Generate sample code" ALIGN=BOTTOM WIDTH=225 HEIGHT=20 BORDER=0>
				</FONT></FONT>
				</P>
			</TD>
		</TR>
		<TR>
			<TD VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2>Select
				this option to let <I>RBuilder</I> generate a sample code using
				the SCI. A call to <FONT FACE="Courier New, Courier, monospace">printf</FONT>
				will be generated in the main function and will display the
				string &quot;<FONT FACE="Courier New, Courier, monospace">Hello
				World</FONT>&quot;.</FONT></FONT></P>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2>If you
				wish to make this example working on the Reva board, you need:<BR>
				  1. to enable the Rx Tx signal by setting the corresponding
				jumpers (see the red jumpers on the picture below),<BR>   2. to
				configure properly the CPU frequency. We recommend to use Rlink
				as external oscillator source. For this selection, you will need
				to specify in RBuilder that the CPU clock requency is 6 Mhz, and
				also to configure properly the REva daugther board, as well as
				the internal option byte (configurable when you launch the debug
				session). Please refer to the ST72xxx datasheet for more details.
				      <BR>   3. to link the SER1 port of the REva board to a
				RS232 terminal.<BR> </FONT></FONT>
				</P>
				<P><IMG SRC="SCISample.jpg" NAME="Image25" ALIGN=LEFT WIDTH=209 HEIGHT=160 BORDER=0><BR CLEAR=LEFT><BR>
				</P>
			</TD>
		</TR>
	</TABLE>
</CENTER>
<P STYLE="margin-bottom: 0cm"><BR>
</P>
<CENTER>
	<TABLE WIDTH=90% BORDER=0 CELLPADDING=0 CELLSPACING=0>
		<TR>
			<TD WIDTH=30 VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2><IMG SRC="../Images/SCI2_conf_and_use.gif" NAME="Image23" ALT="SCI, Generate sample code" ALIGN=BOTTOM WIDTH=225 HEIGHT=20 BORDER=0>
				</FONT></FONT>
				</P>
			</TD>
		</TR>
		<TR>
			<TD VALIGN=TOP>
				<P><FONT FACE="Helvetica, Arial, sans-serif"><FONT SIZE=2>Check
				this option to configure and use the second SCI (SCI2). All
				previous options (except <U><I>Generate a SCI Polling putchar</I></U>
				and <U><I>Generate SCI Sample Code</I></U>) will be available
				with suffixed &quot;(SCI2)&quot; to configure this second SCI.
				There is no sample code generated for this second SCI.<BR><FONT COLOR="#33cc00">Note:
				This option is available only with device ST72561.</FONT></FONT></FONT></P>
			</TD>
		</TR>
	</TABLE>
</CENTER>
<P><FONT SIZE=2><FONT FACE="Helvetica, Arial, sans-serif"><BR></FONT></FONT><BR><FONT SIZE=2><FONT FACE="Helvetica, Arial, sans-serif"><BR><BR><IMG SRC="../images/pieddepage.gif" NAME="Image24" ALIGN=BOTTOM WIDTH=541 HEIGHT=39 BORDER=0>
<BR><BR><BR><BR><BR><BR><BR><BR></FONT></FONT><BR><BR><BR><BR><BR><BR><BR><BR>
</P>
</BODY>
</HTML>