參數(shù)資料
型號: M38030F2L-XXXWG
廠商: Renesas Technology Corp.
英文描述: SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
中文描述: 單芯片8位CMOS微機(jī)
文件頁數(shù): 95/119頁
文件大?。?/td> 1575K
代理商: M38030F2L-XXXWG
Rev.1.00
REJ03B0212-0100
Apr 2, 2007
Page 95 of 117
3803 Group (Spec.L)
NOTES ON PERIPHERAL FUNCTIONS
Notes on Input and Output Ports
1. Notes in standby state
In standby state
*1
for low-power dissipation, do not make input
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
CC
) or pull-down (connect the port
to V
SS
) these ports through a resistor.
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
out to external
<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
Standby state :
stop mode by executing STP instruction
wait mode by executing WIT instruction
2. Modifying output data with bit managing instruction
When the port latch of an I/O port is modified with the bit
managing instruction
*1
, the value of the unspecified bit may be
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
Read: Read the pin level.
Write: Write to the port latch.
Port in output mode
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.)
Since bit managing instructions
*1
are read-modify-write
instructions,
*2
using such an instruction on a port register causes
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
Bit managing instructions: SEB and CLB instructions
*2
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
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
CC
or V
SS
through each resistor of 1 k
to 10 k
.
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”.
When opening them in the output mode, the input mode of the
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.
Since the direction register setup may be changed because of a
program runaway or noise, set direction registers by program
periodically to increase the reliability of program.
(3) The AV
SS
pin when not using the A/D converter :
When not using the A/D converter, handle a power source pin
for the A/D converter, AV
SS
pin as follows:
AV
SS
: Connect to the V
SS
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
firststage circuit.
An effect due to noise may be easily produced as compared
with proper termination (2) in 1 and shown on the above.
(2) I/O ports :
When setting for the input mode, do not connect to V
CC
or V
SS
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
CC
(or V
SS
).
(3) I/O ports :
When setting for the input mode, do not connect multiple ports in
a lump to V
CC
or V
SS
through a resistor.
<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
shortest possible distance (20 mm or less) from micro-
computer pins.
相關(guān)PDF資料
PDF描述
M38122E7-XXXFS SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38232GC-XXXFP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38856F9-HP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B50E1XXXFP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M3933/18-21N 0 MHz - 18000 MHz RF/MICROWAVE FIXED ATTENUATOR
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M38037M5H-175HP#U0 制造商:Renesas Electronics Corporation 功能描述:8BIT CISC - Trays
M38037M8108F 制造商:Panasonic Industrial Company 功能描述:IC
M38037M8H-194HP#U0 制造商:Renesas Electronics Corporation 功能描述:8BIT CISC - Trays
M38039FFHFP#U0 功能描述:IC 740 MCU FLASH 60K 64QFP RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:740/38000 產(chǎn)品培訓(xùn)模塊:CAN Basics Part-1 CAN Basics Part-2 Electromagnetic Noise Reduction Techniques Part 1 M16C Product Overview Part 1 M16C Product Overview Part 2 標(biāo)準(zhǔn)包裝:1 系列:M16C™ M32C/80/87 核心處理器:M32C/80 芯體尺寸:16/32-位 速度:32MHz 連通性:EBI/EMI,I²C,IEBus,IrDA,SIO,UART/USART 外圍設(shè)備:DMA,POR,PWM,WDT 輸入/輸出數(shù):121 程序存儲器容量:384KB(384K x 8) 程序存儲器類型:閃存 EEPROM 大小:- RAM 容量:24K x 8 電壓 - 電源 (Vcc/Vdd):3 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 34x10b,D/A 2x8b 振蕩器型:內(nèi)部 工作溫度:-20°C ~ 85°C 封裝/外殼:144-LQFP 包裝:托盤 產(chǎn)品目錄頁面:749 (CN2011-ZH PDF) 配用:R0K330879S001BE-ND - KIT DEV RSK M32C/87
M38039FFHHP 功能描述:MCU 3/5V 56K+4K 64-LQFP RoHS:否 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:740/38000 標(biāo)準(zhǔn)包裝:250 系列:56F8xxx 核心處理器:56800E 芯體尺寸:16-位 速度:60MHz 連通性:CAN,SCI,SPI 外圍設(shè)備:POR,PWM,溫度傳感器,WDT 輸入/輸出數(shù):21 程序存儲器容量:40KB(20K x 16) 程序存儲器類型:閃存 EEPROM 大小:- RAM 容量:6K x 16 電壓 - 電源 (Vcc/Vdd):2.25 V ~ 3.6 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 6x12b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 125°C 封裝/外殼:48-LQFP 包裝:托盤 配用:MC56F8323EVME-ND - BOARD EVALUATION MC56F8323