M30245_06 RENESAS [Renesas Technology Corp], M30245_06 Datasheet - Page 295

no-image

M30245_06

Manufacturer Part Number
M30245_06
Description
RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/20 SERIES
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
M30245 Group
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
Table 2.17.3. Examples of working on unused pins in memory expansion mode or microprocessor mode
Note 3:
Note 4:
Note 5:
Note 6:
Note 1:
Note 2:
B H E ( N o t e 5 ) , A L E ( N o t e 5 ) ,
H L D A ( N o t e 5 ) , X
B C L K
P o r t s P 6 t o P 1 0 ( e x c l u d i n g P 8
H O L D , R D Y , N M I
U V
AV
U S B D + , U S B D -
L P F
VbusDTCT (Note 6)
P 4
5
S S
C C
/ C S 1 t o P 4
, V
, A V
(b) Memory expansion mode, microprocessor mode
R E F
W h e n a n e x t e r n a l c l o c k i s i n p u t t o t h e X
I f s e t t i n g t h e s e p i n s i n o u t p u t m o d e a n d o p e n i n g t h e m , p o r t s a r e i n i n p u t m o d e u n t i l s w i t c h e d i n t o
o u t p u t m o d e b y u s e o f s o f t w a r e a f t e r r e s e t . T h u s t h e v o l t a g e l e v e l s o f t h e p i n s b e c o m e u n s t a b l e ,
a n d t h e r e c a n b e i n s t a n c e s i n w h i c h t h e p o w e r s o u r c e c u r r e n t i n c r e a s e s w h i l e t h e p o r t s a r e i n
i n p u t m o d e .
I n v i e w o f a n i n s t a n c e i n w h i c h t h e c o n t e n t s o f t h e d i r e c t i o n r e g i s t e r s c h a n g e d u e t o a r u n a w a y
g e n e r a t e d b y n o i s e o r o t h e r c a u s e s , s e t t i n g t h e c o n t e n t s o f t h e d i r e c t i o n r e g i s t e r s p e r i o d i c a l l y b y
u s e o f s o f t w a r e i n c r e a s e s p r o g r a m r e l i a b i l i t y .
M a k e w i r i n g a s s h o r t a s p o s s i b l e ( n o t m o r e t h a n 2 c m f r o m t h e m i c r o c o m p u t e r ' s p i n s ) i n w o r k i n g
o n n o n - u s e d p i n s .
O u t p u t “ L ” i f p o r t P 7
P o r t P 7
W h e n a V
m o d e i s s w i t c h e d b y u s e o f s o f t w a r e a f t e r r e s e t . T h u s t h e v o l t a g e l e v e l s o f t h e p i n s d e s t a b i l i z e ,
a n d t h e r e c a n b e a n i n c r e a s e i n t h e p o w e r s o u r c e c u r r e n t w h i l e t h e s e p i n s a r e i n p u t p o r t s .
V b u s D T C T p i n i s p u l l e d d o w n i n t e r n a l y .
C C
P i n n a m e
7
0
/ C S 3
O U T
a n d P 7
S S
( N o t e 1 ) ,
l e v e l i s c o n n e c t e d t o t h e C N V
page 286 of 354
1
a r e N c h a n n e l o p e n d r a i n o u t p u t .
0
a n d P 7
5
) A f t e r s e t t i n g f o r i n p u t m o d e , c o n n e c t e v e r y p i n t o V
r e s i s t o r ; o r a f t e r s e t t i n g f o r o u t p u t m o d e , l e a v e t h e s e p i n s o p e n .
( N o t e 2 , N o t e 3 , N o t e 4 )
After setting for port input mode and setting CS1 to CS3 output enable
bit to “0”, connect to V
O p e n
C o n n e c t v i a r e s i s t o r t o V
C o n n e c t t o V
O p e n
Open
O p e n
O p e n
1
a r e s e t t o o u t p u t m o d e .
S S
I N
p i n .
S S
p i n , t h e s e p i n s a r e i n p u t p o r t s u n t i l t h e p r o c e s s o r
CC
C C
via a resistor (pull-up)
( p u l l - u p )
C o n n e c t i o n
S S
o r V
C C
2. Programmable I/O Ports
v i a a

Related parts for M30245_06