CHAPTER 1 INTRODUCTION
27
User’s Manual U15195EJ5V0UD
(9) Timer/counter function
This unit incorporates a 2-channel 16-bit timer (TM0) for 3-phase sine wave PWM inverter control, a 1-
channel 16-bit up/down counter (TM1) that can be used for 2-phase encoder input or as a general-purpose
timer, a 2-channel 16-bit general-purpose timer unit (TM2), a 1-channel 16-bit timer/event counter (TM3), and
a 1-channel 16-bit interval timer (TM4) on-chip, and can measure the pulse interval or frequency and can
output a programmable pulse.
(10) Serial interface
A total of four channels of serial interfaces, including asynchronous serial interface (UART) and clocked serial
interface (CSI), are provided. Of these channels, two are used for both UART and CSI, and their function
must be selected. Of the other two channels, one is fixed to UART, and one is fixed to CSI.
The UART performs data transfer using pins TXDn and RXDn (n = 0, 1).
The CSI performs data transfer using pins SOn, SIn, and SCKn (n = 0, 1).
(11) A/D converter (ADC)
Two circuits of high-speed, high-resolution 10-bit A/D converters with a total of 14 pins (A/D converter 0: 6
pins, A/D converter 1: 8 pins) are available. The ADC converts using a successive approximation method.
(12) Ports
As shown in the table below, ports function as general-purpose ports and as control pins.
Port I/O
Control
Functions
Port 0
6-bit input
NMI input
Timer/counter output stop signal input
External interrupt input
A/D converter external trigger input
Timer 3 output stop signal input
Port 1
3-bit I/O
Timer/counter I/O
External interrupt input
Port 2
8-bit I/O
Timer/counter I/O
External interrupt input
Port 3
5-bit I/O
Serial interface I/O (UART0, UART1/CSI1)
Port 4
3-bit I/O
Serial interface I/O (CSI0)
Port DH
6-bit I/O
External address bus (A16 to A21)
Port DL
16-bit I/O
External address/data bus (AD0 to AD15)
Port CT
4-bit I/O
External bus interface control signal output
Port CM
2-bit I/O
Wait insertion signal input
Internal system clock output
Содержание PD703114
Страница 2: ...2 User s Manual U15195EJ5V0UD MEMO ...