M38039G6HHP#U0 Renesas Electronics America, M38039G6HHP#U0 Datasheet - Page 43

IC 740/3803 MCU QZROM 64LQFP

M38039G6HHP#U0

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

Specifications of M38039G6HHP#U0

Core Processor
740
Core Size
8-Bit
Speed
16.8MHz
Connectivity
SIO, UART/USART
Peripherals
LED, PWM, WDT
Number Of I /o
56
Program Memory Size
24KB (24K x 8)
Program Memory Type
QzROM
Ram Size
2K x 8
Voltage - Supply (vcc/vdd)
1.8 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:
M38039G6HHP#U0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
3803 Group (Spec.H QzROM version)
REJ03B0166-0113 Rev.1.13
Page 41 of 100
<Notes regarding all modes>
• Timer Z write control
Which write control can be selected by the timer Z write control
bit (bit 3) of the timer Z mode register (address 002A
data to both the latch and the timer at the same time or writing
data only to the latch.
When the operation “writing data only to the latch” is selected,
the value is set to the timer latch by writing data to the address of
timer Z and the timer is updated at next underflow. After reset
release, the operation “writing data to both the latch and the timer
at the same time” is selected, and the value is set to both the latch
and the timer at the same time by writing data to the address of
timer Z.
In the case of writing data only to the latch, if writing data to the
latch and an underflow are performed almost at the same time,
the timer value may become undefined.
• Timer Z read control
A read-out of timer value is impossible in pulse period
measurement mode and pulse width measurement mode. In the
other modes, a read-out of timer value is possible regardless of
count operating or stopped. However, a read-out of timer latch
value is impossible.
Fig 28. Block diagram of timer Z
P4
7
/CNTR
Timer Z operating
mode bits
Port P4
direction register
“001”
“100”
“101”
2
7
Programmable one-shot
P4
2
/INT
generating mode
1
CNTR
switch bit
X
Output level latch
X
Pulse period measurement mode
CIN
Pulse width measurement mode
IN
2
active edge
Port P4
latch
Aug 21, 2009
“1”
“0”
7
(1/2, 1/4, 1/8, 1/16, 1/32, 1/64, 1/128, 1/256, 1/512, 1/1024)
Divider
16
Timer Z low-order latch
Timer Z low-order
f(X
), writing
Programmable one-shot
CIN
D
T
generating circuit
)
Q
Count source
selection bit
Programmable waveform
generating mode
Pulse output mode
Edge detection circuit
T
S
• Switch of interrupt active edge of CNTR
Each interrupt active edge depends on setting of the CNTR
active edge switch bit and the INT
• Switch of count source
When switching the count source by the timer Z count source
s e l e c t i o n b i t s , t h e v a l u e o f t i m e r c o u n t i s a l t e r e d i n
inconsiderable amount owing to generating of thin pulses on the
count input signals.
Therefore, select the timer count source before setting the value
to the prescaler and the timer.
• Usage of CNTR
To use the CNTR
operating mode bits (b2, b1, b0) of timer Z mode register
(address 002A
Q
Q
Timer Z high-order latch
CNTR
Timer Z high-order
Timer/Event
counter mode
switch bit
“1”
“1”
“0”
“0”
2
active edge switch bit
CNTR
switch bit
Pulse output mode
2
active edge
16
Timer Z count stop bit
“1”
“0”
) to “000”.
2
2
pin as normal I/O port P4
Programmable one-shot
generating mode
pin as normal I/O port P4
1
active edge selection bit.
Data bus
2
and INT
7
To INT
request bit
To timer Z interrupt
request bit
To CNTR
request bit
7
1
, set timer Z
interrupt
2
1
interrupt
2

Related parts for M38039G6HHP#U0