M38039FFLHP#U0 Renesas Electronics America, M38039FFLHP#U0 Datasheet - Page 97

IC 3803 MCU FLASH 64LQFP

M38039FFLHP#U0

Manufacturer Part Number
M38039FFLHP#U0
Description
IC 3803 MCU FLASH 64LQFP
Manufacturer
Renesas Electronics America
Series
740/38000r
Datasheet

Specifications of M38039FFLHP#U0

Core Processor
740
Core Size
8-Bit
Speed
16.8MHz
Connectivity
SIO, UART/USART
Peripherals
PWM, WDT
Number Of I /o
56
Program Memory Size
60KB (60K x 8)
Program Memory Type
FLASH
Ram Size
2K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 16x10b; D/A 2x8b
Oscillator Type
Internal
Operating Temperature
-20°C ~ 85°C
Package / Case
64-LQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
M38039FFLHP#U0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
3803 Group (Spec.L)
Rev.1.01
REJ03B0212-0101
NOTES ON PERIPHERAL FUNCTIONS
Notes on Input and Output Ports
1. Notes in standby state
In standby state
levels of an I/O port “undefined”. Even when an I/O port of
Nchannel open-drain is set as output mode, if output data is “1”,
the aforementioned notes are necessary.
Pull-up (connect the port to V
to V
When determining a resistance value, note the following points:
• External circuit
• Variation of output levels during the ordinary operation
When using built-in pull-up resistor, note on varied current
values:
• When setting as an input port : Fix its input level
• When setting as an output port : Prevent current from flowing
<Reason>
Exclusive input ports are always in a high-impedance state. An
output transistor becomes an OFF state when an I/O port is set as
input mode by the direction register, so that the port enter a
highimpedance state. At this time, the potential which is input to
the input buffer in a microcomputer is unstable in the state that
input levels are “undefined”. This may cause power source
current.
Even when an I/O port of N-channel open-drain is set as output
mode by the direction register, if the contents of the port latch is
“1”, the same phenomenon as that of an input port will occur.
*1
2. Modifying output data with bit managing instruction
When the port latch of an I/O port is modified with the bit
managing instruction
changed.
<Reason>
I/O ports are set to input or output mode in bit units. Reading
from a port register or writing to it involves the following
operations.
• Port in input mode
• Port in output mode
Since bit managing instructions
instructions,
a read and write to be performed simultaneously on the bits other
than the one specified by the instruction.
When an unspecified bit is in input mode, its pin level is read and
that value is written to the port latch. If the previous value of the
port latch differs from the pin level, the port latch value is changed.
If an unspecified bit is in output mode, the port latch is generally
read. However, for some ports the peripheral function output is
read, and the value is written to the port latch. In this case, if the
previous value of the port latch differs from the peripheral
function output, the port latch value is changed.
*1
*2
out to external
Standby state :
Bit managing instructions: SEB and CLB instructions
Read-modify-write instructions: Instructions that read memory
in byte units, modify the value, and then write the result to the
same location in memory in byte units
Read: Read the pin level.
Write: Write to the port latch.
Read: Read the port latch or read the output from the peripheral
function (specifications differ depending on the port).
Write: Write to the port latch. (The port latch value is output
from the pin.)
SS
) these ports through a resistor.
*2
Jan 25, 2008
using such an instruction on a port register causes
*1
for low-power dissipation, do not make input
stop mode by executing STP instruction
wait mode by executing WIT instruction
*1
, the value of the unspecified bit may be
CC
) or pull-down (connect the port
Page 95 of 117
*1
are read-modify-write
Termination of Unused Pins
1. Terminate unused pins
(1) Output ports : Open
(2) I/O ports :
• Set the I/O ports for the input mode and connect them to V
• When opening them in the output mode, the input mode of the
• Since the direction register setup may be changed because of a
(3) The AV
• When not using the A/D converter, handle a power source pin
2. Termination remarks
(1) I/O ports :
Do not open in the input mode.
<Reason>
• The power source current may increase depending on the
• An effect due to noise may be easily produced as compared
(2) I/O ports :
When setting for the input mode, do not connect to V
directly.
<Reason>
If the direction register setup changes for the output mode
because of a program runaway or noise, a short circuit may occur
between a port and V
(3) I/O ports :
When setting for the input mode, do not connect multiple ports in
a lump to V
<Reason>
If the direction register setup changes for the output mode
because of a program runaway or noise, a short circuit may occur
between ports.
• At the termination of unused pins, perform wiring at the
or V
Ports that permit the selecting of a built-in pull-up resistor can
also use this resistor. Set the I/O ports for the output mode and
open them at “L” or “H”.
initial status remains until the mode of the ports is switched
over to the output mode by the program after reset. Thus, the
potential at these pins is undefined and the power source
current may increase in the input mode. With regard to an
effects on the system, thoroughly perform system evaluation
on the user side.
program runaway or noise, set direction registers by program
periodically to increase the reliability of program.
for the A/D converter, AV
AV
firststage circuit.
with proper termination (2) in 1 and shown on the above.
shortest possible distance (20 mm or less) from micro-
computer pins.
SS
SS
: Connect to the V
through each resistor of 1 kΩ to 10 kΩ.
CC
SS
or V
pin when not using the A/D converter :
SS
CC
through a resistor.
(or V
SS
SS
pin.
SS
pin as follows:
).
CC
or V
CC
SS

Related parts for M38039FFLHP#U0