M30245FCGP#U1 Renesas Electronics America, M30245FCGP#U1 Datasheet - Page 182

IC M16C/24 MCU FLSH 128K 100LQFP

M30245FCGP#U1

Manufacturer Part Number
M30245FCGP#U1
Description
IC M16C/24 MCU FLSH 128K 100LQFP
Manufacturer
Renesas Electronics America
Series
M16C™ M16C/20r
Datasheet

Specifications of M30245FCGP#U1

Core Processor
M16C/60
Core Size
16-Bit
Speed
16MHz
Connectivity
I²C, SPI, SSI, UART/USART, USB
Peripherals
DMA, PWM, WDT
Number Of I /o
82
Program Memory Size
128KB (128K x 8)
Program Memory Type
FLASH
Ram Size
10K x 8
Voltage - Supply (vcc/vdd)
3 V ~ 3.6 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-20°C ~ 85°C
Package / Case
100-LQFP
Package
100LQFP
Family Name
R8C
Maximum Speed
16 MHz
Operating Supply Voltage
3.3 V
Data Bus Width
16 Bit
Number Of Programmable I/os
82
Interface Type
USB/UART/I2C/SPI
On-chip Adc
8-chx10-bit
Number Of Timers
5
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
M30245FCGP#U1M30245FCGP
Manufacturer:
RENESAS
Quantity:
102
Company:
Part Number:
M30245FCGP#U1
Manufacturer:
TDK-EPCOS
Quantity:
54 000
Company:
Part Number:
M30245FCGP#U1
Manufacturer:
Renesas Electronics America
Quantity:
10 000
M30245 Group
Rev.2.00
REJ03B0005-0200
Programmable I/O ports
Direction registers
Port registers
Pull-up control registers
High drive capacity register
Port control register
Unused pin connections
There are 83 programmable I/O ports: P0 to P10 (excluding P8
output using the direction register. A pull-up resistance for each block of 4 ports can be set. P8
and has no built-in pull-up resistance.
Figure 1.132 to Figure 1.135 show the programmable I/O ports. Figure 1.136 shows the I/O pins.
Each pin functions as a programmable I/O port and as the I/O for the built-in peripheral devices.
To use the pins as the inputs for the built-in peripheral devices, set the direction register of each pin to input mode.
When the pins are used as the outputs for the built-in peripheral devices, they function as outputs regardless of the
contents of the direction registers. See the descriptions of the respective functions for how to set up the built-in
peripheral devices.
Figure 1.137 shows the direction registers.
These registers are used to choose the direction of the programmable I/O ports. Each bit in these registers corre-
sponds one for one to each I/O pin.
Note: There is no direction register bit for P8
Figure 1.138 shows the port registers.
These registers are used to write and read data for input and output to and from an external device. A port register
consists of a port latch to hold output data and a circuit to read the status of a pin. Each bit in port registers corre-
sponds one for one to each I/O pin.
Figure 1.139 shows the pull-up control registers.
The pull-up control register can be set to apply a pull-up resistance to each block of 4 ports. When ports are set to
have a pull-up resistance, the pull-up resistance is connected only when the direction register is set for input.
However, in memory expansion mode and microprocessor mode, the pull-up control register of P0 to P3, P4
and P5 is invalid.
Figure 1.140 shows the Port P7 drive capacity register. Port P7 can be configured to drive an LED by increasing the drive
strength of the corresponding N-channel transistor bits.
Figure 1.141 shows the port control register.
The bit 0 of port control resister is used to read Port P1:
0: When Port P1 is an input port, the port input level is read.
1: The contents of Port P1 register are always read.
This register is valid for the external bus width which is 8 bits in microprocessor mode or memory expansion mode.
Table 1.64 lists an example of unused pins in single chip mode. Table 1.65 lists an example of unused pins in memory
expansion mode. Figure 1.142 shows an example connection for unused pins.
When Port P1 is an output port, the contents of Port P1 register are read.
Oct 16, 2006
page 180 of 264
5
.
5
). Each port can be set independently for input or
Programmable I/O Ports
5
is an input-only port
0
to P4
3
,

Related parts for M30245FCGP#U1