Fujitsu MB90460 Series Hardware Manual page 522

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

Initialization
The following shows the set values of each control register using the synchronous mode:
[Mode control register (SMR0/SMR1)]
MD1,MD0:"10
CS2,CS1,CS0:Specify clock input using the clock selector.
SCKE:1 for dedicated baud rate generator or internal timer
0 for clock output and external clock (clock input)
SOE:1 for transmission; 0 for reception only
[Control register (SCR0/SCR1)]
PEN:"0"
P,SBL,A/D:These bits make no sense.
CL:1 (8-bit data)
REC:0 (the error flag is cleared for initialization.)
RXE,TXE:At least one of the two bits is set to "1".
[Status register (SSR0/SSR1)]
RIE:1 when using interrupts; 0 when using no interrupts.
TIE:1 when using interrupts; 0 when using no interrupts.
Starting communication
Write data to the output data register (SODR0/SODR1) to start communication. Temporary data must be
written to SODR0/SODR1 to start communication for reception.
Ending communication
The RDRF flag of the status register (SSR0/SSR1) is set to "1" when transmission or reception of a data
frame is complete.
communication is performing normally.
"
B
During reception, check the overrun error flag bit (SSR0/SSR1) to see if
CHAPTER 17 UART
503

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90465 series

Table of Contents