R5F21102DFP#U0 Renesas Electronics America, R5F21102DFP#U0 Datasheet - Page 76

IC R8C MCU FLASH 8K 32LQFP

R5F21102DFP#U0

Manufacturer Part Number
R5F21102DFP#U0
Description
IC R8C MCU FLASH 8K 32LQFP
Manufacturer
Renesas Electronics America
Series
M16C™ M16C/R8C/Tiny/10r
Datasheets

Specifications of R5F21102DFP#U0

Core Processor
R8C
Core Size
16-Bit
Speed
16MHz
Connectivity
SIO, UART/USART
Peripherals
LED, WDT
Number Of I /o
22
Program Memory Size
8KB (8K x 8)
Program Memory Type
FLASH
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
32-LQFP
For Use With
R0K521134S000BE - KIT EVAL STARTER FOR R8C/13R0E521134EPB00 - KIT EMULATOR PROBE FOR PC7501R0E521134CPE00 - EMULATOR COMPACT R8C/13
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
R5F21102DFP#U0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
R8C/10 Group
Rev.1.20 Jan 27, 2006
REJ09B0019-0120
Figure 12.10 Operation Example in Pulse Period Measurement Mode
U n d e r f l o w s i g n a l
o f p r e s c a l e r X
T X S b i t i n
T X M R r e g i s t e r
C N T R 0 p i n
i n p u t
T i m e r X
read-out buffer
TXEDG bit in
TXMR register
T X U N D b i t i n
T X M R r e g i s t e r
I R b i t i n T X I C
r e g i s t e r
IR bit in INT1IC
register
C o n d i t i o n s : A p e r i o d f r o m o n e r i s i n g e d g e t o t h e n e x t r i s i n g e d g e o f m e a s u r e m e n t p u l s e i s m e a s u r e d ( R 0 E D G = 0 )
c o n t e n t s
Contents of
N O T E S :
1 . T h e c o n t e n t s o f t h e r e a d - o u t b u f f e r c a n b e r e a d w h e n t h e T X r e g i s t e r i s r e a d i n p u l s e p e r i o d m e a s u r e m e n t m o d e .
2 . A f t e r a n a c t i v e e d g e o f m e a s u r e m e n t p u l s e i s i n p u t , t h e T X E D G b i t i n t h e T X M R r e g i s t e r i s s e t t o " 1 " ( a c t i v e e d g e f o u n d )
3 . T h e T X r e g i s t e r s h o u l d b e r e a d b e f o r e t h e n e x t a c t i v e e d g e i s i n p u t a f t e r t h e T X E D G b i t i s s e t t o " 1 " ( a c t i v e e d g e f o u n d ) .
4 . W h e n s e t t o " 0 " b y p r o g r a m , u s e a M O V i n s t r u c t i o n t o w r i t e " 0 " t o t h e T X E D G i n t h e T X M R r e g i s t e r . A t t h e s a m e t i m e ,
5 . W h e n s e t t o " 0 " b y p r o g r a m , u s e a M O V i n s t r u c t i o n t o w r i t e " 0 " t o t h e T X U N D i n t h e T X M R r e g i s t e r . A t t h e s a m e t i m e ,
6 . T h e T X U N D a n d T X E D G b i t s a r e b o t h s e t t o " 1 " i f t h e t i m e r u n d e r f l o w s a n d r e l o a d s o n a n a c t i v e e d g e s i m u l t a n e o u s l y . I n
7 . I f t h e C N T R
w h e n t h e p r e s c a l e r X u n d e r f l o w s f o r t h e s e c o n d t i m e .
T h e c o n t e n t s i n t h e r e a d - o u t b u f f e r i s r e t a i n e d u n t i l t h e T X r e g i s t e r i s r e a d . I f t h e T X r e g i s t e r i s n o t r e a d b e f o r e t h e n e x t
a c t i v e e d g e i s i n p u t , t h e m e a s u r e d r e s u l t o f t h e p r e v i o u s p e r i o d i s r e t a i n e d .
w r i t e " 1 " t o t h e T X U N D b i t .
w r i t e " 1 " t o t h e T X E D G b i t .
t h i s c a s e , t h e v a l i d i t y o f t h e T X U N D b i t s h o u l d b e d e t e r m i n e d b y t h e c o n t e n t s o f t h e r e a d - o u t b u f f e r .
r e a d b u f f e r . I f " L " l e v e l , t h e f o l l o w i n g c o u n t v a l u e i s t h e o n e o f t h e r e a d b u f f e r .
w i t h T X r e g i s t e r i n i t i a l v a l u e = 0 F
1
0
a c t i v e e d g e i s i n p u t , w h e n t h e p r e s c a l e r X u n d e r f l o w s i g n a l i s " H " l e v e l , i t s c o u n t v a l u e i s t h e o n e o f t h e
“ 1 ”
“0”
“ 1 ”
“0”
“ 1 ”
“ 0 ”
“ 1 ”
“ 0 ”
“ 1 ”
“ 0 ”
“ 1 ”
“ 0 ”
page 64 of 180
S t a r t s c o u n t i n g
0 F
S e t t o " 1 " b y p r o g r a m
0F
1 6
16
0 E
( 7 )
1 6
0 F
Retained
1 6
C l e a r e d t o “ 0 ” w h e n i n t e r r u p t r e q u e s t i s a c c e p t e d , o r c l e a r e d b y p r o g r a m
Timer X
reloads
(2)
0 E
1 6
1 6
0E
.
0 D
16
C l e a r e d t o “ 0 ” w h e n i n t e r r u p t r e q u e s t i s a c c e p t e d , o r c l e a r e d b y p r o g r a m
1 6
0 C
1 6
Cleared to "0" by program
0B
16
0A
0A
16
Timer X read
16
09
09
16
16
(3)
08
R e t a i n e d
16
( 2 )
0 F
08
(4)
1 6
T i m e r X
r e l o a d s
16
( 7 )
0 E
1 6
0 D
0D
Timer X read
1 6
16
Cleared to "0" by program
( 3 )
0 1
01
12.1 Timer (Timer X)
1 6
16
0 0
00
1 6
16
(6)
0F
0 F
T i m e r X
r e l o a d s
16
1 6
(5)
0 E
0E
1 6
16

Related parts for R5F21102DFP#U0