M30281F6HP#U5B Renesas Electronics America, M30281F6HP#U5B Datasheet - Page 380

IC M16C/28 MCU FLASH 48K 64LQFP

M30281F6HP#U5B

Manufacturer Part Number
M30281F6HP#U5B
Description
IC M16C/28 MCU FLASH 48K 64LQFP
Manufacturer
Renesas Electronics America
Series
M16C™ M16C/Tiny/28r
Datasheet

Specifications of M30281F6HP#U5B

Core Processor
M16C/60
Core Size
16-Bit
Speed
20MHz
Connectivity
I²C, IEBus, SIO, UART/USART
Peripherals
DMA, POR, PWM, Voltage Detect, WDT
Number Of I /o
55
Program Memory Size
48KB (48K x 8)
Program Memory Type
FLASH
Ram Size
4K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 13x10b
Oscillator Type
Internal
Operating Temperature
-20°C ~ 85°C
Package / Case
64-LQFP
For Use With
R0K330290S000BE - KIT EVAL STARTER FOR M16C/29M30290T2-CPE - EMULATOR COMPACT M16C/26A/28/29M30290T2-CPE-HP - EMULATOR COMPACT FOR M16C/TINY
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
M30281F6HP#U5BM30281F6HP U9
Manufacturer:
RENESAS
Quantity:
1 422
Company:
Part Number:
M30281F6HP#U5BM30281F6HP#D5
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Company:
Part Number:
M30281F6HP#U5BM30281F6HP#U3
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Company:
Part Number:
M30281F6HP#U5BM30281F6HP#U3B
Manufacturer:
RENESAS
Quantity:
3 418
Company:
Part Number:
M30281F6HP#U5BM30281F6HP#U3B
Manufacturer:
Renesas Electronics America
Quantity:
10 000
M
R
R
e
E
1
. v
J
6
0
20.4.6 Rewrite the Interrupt Control Register
20.4.7 Watchdog Timer Interrupt
C
2
9
2 /
(1) The interrupt control register for any interrupt should be modified in places where no requests for that
(2) To rewrite the interrupt control register for any interrupt after disabling that interrupt, be careful with the
(3) When using the I flag to disable an interrupt, refer to the sample program fragments shown below as
Examples 1 through 3 show how to prevent the I flag from being set to “1” (interrupts enabled) before the
interrupt control register is rewrited, due to the internal bus and the instruction queue buffer.
Example 1: Using the NOP instruction to keep the program waiting until the
Example 2:Using the dummy read to keep the FSET instruction waiting
Example 3:Using the POPC instruction to changing the I flag
Initialize the watchdog timer after the watchdog timer interrupt occurs.
0 .
B
Changing any bit other than the IR bit
Changing the IR bit
0
0
8
INT_SWITCH1:
The number of NOP instruction is as follows.
PM20 = 1 (1 wait) : 2, PM20 = 0 (2 waits): 3
INT_SWITCH2:
INT_SWITCH3:
0
If while executing an instruction, a request for an interrupt controlled by the register being modified
occurs, the IR bit in the register may not be set to “1” (interrupt requested), with the result that the
interrupt request is ignored. If such a situation presents a problem, use the instructions shown below
to modify the register.
Usable instructions: AND, OR, BCLR, BSET
Depending on the instruction used, the IR bit may not always be cleared to “0” (interrupt not re-
quested). Therefore, be sure to use the MOV instruction to clear the IR bit.
interrupt may occur. Otherwise, disable the interrupt before rewriting the interrupt control register.
instruction to be used.
you set the I flag. (Refer to (2) for details about rewrite the interrupt control registers in the sample
program fragments.)
G
4
J
7
a
o r
0 -
. n
FCLR
AND.B
NOP
NOP
FSET
FCLR
AND.B
MOV.W
FSET
PUSHC
FCLR
AND.B
POPC
u
2
3
p
0
, 1
0
(
M
2
0
1
interrupt control register is modified
0
6
7
C
I
#00h, 0055h
I
I
#00h, 0055h
MEM, R0
I
FLG
I
#00h, 0055h
FLG
2 /
page 358
, 8
M
1
6
C
2 /
f o
8
3
) B
8
; Disable interrupts
;Set the TA0IC register to 00
;
; Enable interrupts
; Disable interrupts
; Set the TA0IC register to 00
; Dummy read
; Enable interrupts
; Disable interrupts
; Set the TA0IC register to 00
; Enable interrupts
5
16
16
16
20. Precautions

Related parts for M30281F6HP#U5B