Fujitsu MB90480 Series Hardware Manual page 432

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 19 UART
Pin related to UART
The pin related to the UART has the SIN0/SOT0/SCK0 pins. The SIN0 pin functions as the serial
input port, the SOT0 pin functions as the serial output port, and the SCK0 pin functions as the
external clock input port. The SIN0, SCK0 pins function as the general-purpose I/O port (P70/SIN0,
P72/SCK0) and the input pin of UART, and the SOT0 pin functions as the general-purpose I/O port
(P71/SOT0) and the output pin of UART.
● Setting when using as SIN0/SCK0 pins
When the SIN0/SCK0 are used as the input pin by the UART, the P70/SIN0, P72/SCK0 pins
should be set to the input port by the port direction register (DDR7 bit8, 10→"0").
● Setting when using as SOT0 pin
When the SOT0 is used as the data output pin by the UART, be sure to set the serial mode
register (SMR) to the serial data output (SOE bit0→"1").
Block diagram of pin related to UART
Port data register (PDR)
PDR Read
PDR Write
Port direction register (DDR)
DDR Write
DDR Read
Stand-by control: Stop mode (SPL=1), Timebase timer mode (SPL=1), Watch mode (SPL=1)
410
Figure 19.2-2 Block diagram of pin related to UART
Peripheral function input
(SIN1/SIN2/SCK1/SCK2)
Output latch
Direction latch
Peripheral function
output (SOT1/SOT2)
Peripheral function output enable
Open drain control signal
Stand-by control (SPL=1)
(only P40/P41/P42)
P-ch
Pin
N-ch

Advertisement

Table of Contents
loading

Table of Contents