M306N5FCTFP Renesas Electronics America, M306N5FCTFP Datasheet - Page 368
![IC M16C MCU FLASH 100QFP](/photos/12/21/122166/qfp100-g1_pkg_sml.jpg)
M306N5FCTFP
Manufacturer Part Number
M306N5FCTFP
Description
IC M16C MCU FLASH 100QFP
Manufacturer
Renesas Electronics America
Series
M16C™ M16C/6Nr
Datasheets
1.M30622SAFPU5.pdf
(308 pages)
2.M306N5FCTFPUK.pdf
(90 pages)
3.M306N5FCTFPU0.pdf
(408 pages)
Specifications of M306N5FCTFP
Core Processor
M16C/60
Core Size
16-Bit
Speed
20MHz
Connectivity
CAN, I²C, IEBus, SIO, UART/USART
Peripherals
DMA, WDT
Number Of I /o
87
Program Memory Size
128KB (128K x 8)
Program Memory Type
FLASH
Ram Size
5K x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 26x10b; D/A 2x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
100-QFP
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
M306N5FCTFP
Manufacturer:
ON
Quantity:
36 000
Company:
Part Number:
M306N5FCTFP#U0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Company:
Part Number:
M306N5FCTFP#UK
Manufacturer:
XILINX
Quantity:
1 400
Company:
Part Number:
M306N5FCTFP#UK
Manufacturer:
Renesas Electronics America
Quantity:
135
Company:
Part Number:
M306N5FCTFP#UK
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Company:
Part Number:
M306N5FCTFP#UKJ
Manufacturer:
Renesas Electronics America
Quantity:
10 000
- Current page: 368 of 408
- Download datasheet (3Mb)
M16C/6N Group (M16C/6N5)
Rev.2.40
REJ09B0011-0240
23.6.6 Rewrite Interrupt Control Register
23.6.7 Watchdog Timer Interrupt
Initialize the watchdog timer after the watchdog timer interrupt request is generated.
Example 1: Using the NOP instruction to keep the program waiting until the interrupt control register is modified
(a) The interrupt control register for any interrupt should be modified in places where no requests for that
(b) To rewrite the interrupt control register for any interrupt after disabling that interrupt, care must be
(c) When using the I flag to disable an interrupt, refer to the sample program fragments shown below
Examples 1 through 3 show how to prevent the I flag from being set to 1 (interrupt enabled) before the
interrupt control register is rewritten, owing to the effects of the internal bus and the instruction queue
buffer.
Apr 14, 2006
Example 2: Using the dummy read to the FSET instruction delay
Example 3: Using the POPC instruction to changing the I flag
interrupt may be generated. Otherwise, disable the interrupt before rewriting the interrupt control register.
taken when selecting the instructions.
Changing any bit other than IR bit
If while executing an instruction, an interrupt request controlled by the register being modified is
generated, the IR bit of 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
Changing IR bit
Depending on the instruction used, the IR bit may not always be set to 0 (interrupt not requested).
Therefore, be sure to use the MOV instruction to set the IR bit to 0.
as you set the I flag. (Refer to (b) for details about rewrite the interrupt control registers in the
sample program fragments.)
INT_SWITCH1:
The number of the NOP instruction is as follows.
INT_SWITCH2:
INT_SWITCH3:
FCLR
AND.B
NOP
NOP
FSET
• The PM20 bit in the PM2 register = 1 (1 wait) : 2
• The PM20 bit = 0 (2 waits) : 3
• When using HOLD function : 4
FCLR
AND.B
MOV.W MEM, R0
FSET
PUSHC FLG
FCLR
AND.B
POPC
page 346 of 372
I
#00h, 0055h
I
I
#00h, 0055h
I
I
#00h, 0055h
FLG
; Disable interrupts.
;
; Enable interrupts.
; Disable interrupts.
; Set the TA0IC register to 00h.
; Dummy read.
; Enable interrupts.
; Disable interrupts.
; Set the TA0IC register to 00h.
; Enable interrupts.
; Set the TA0IC register to 00h.
23. Usage Notes
Related parts for M306N5FCTFP
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![R0K330290S001BE](/photos/28/41/284146/r0k330290s001be_tmb.jpg)
Part Number:
Description:
KIT STARTER FOR M16C/29
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K5212D8S001BE](/photos/24/13/241324/4607177_tmb.jpg)
Part Number:
Description:
KIT STARTER FOR R8C/2D
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K33062PS001BE](/photos/24/13/241320/4607173_tmb.jpg)
Part Number:
Description:
R0K33062P STARTER KIT
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K521237S001BE](/photos/28/41/284170/r0k521237s001be_tmb.jpg)
Part Number:
Description:
KIT STARTER FOR R8C/23 E8A
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K521256S001BE](/photos/24/13/241323/4607176_tmb.jpg)
Part Number:
Description:
KIT STARTER FOR R8C/25
Manufacturer:
Renesas Electronics America
Datasheet:
![YLCDRSK2456S](/images/manufacturer_photos/0/5/560/renesas_electronics_america_tmb.jpg)
Part Number:
Description:
KIT STARTER H8S2456 SHARPE DSPLY
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K521380S000BE](/photos/28/41/284144/r0k521380s000be_tmb.jpg)
Part Number:
Description:
KIT STARTER FOR R8C38C
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K521350S000BE](/photos/28/41/284145/r0k521350s000be_tmb.jpg)
Part Number:
Description:
KIT STARTER FOR R8C35C
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K52L3A0S000BE](/photos/28/41/284149/r0k52l3a0s000be_tmb.jpg)
Part Number:
Description:
KIT STARTER FOR R8CL3AC+LCD APPS
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K556100S000BE](/images/manufacturer_photos/0/5/560/renesas_electronics_america_tmb.jpg)
Part Number:
Description:
KIT STARTER FOR RX610
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K564189S000BE](/photos/28/41/284173/r0k564189s000be_tmb.jpg)
Part Number:
Description:
KIT STARTER FOR R32C/118
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K521276S000BE](/photos/9/26/92647/r0k521276s000be_tmb.jpg)
Part Number:
Description:
KIT DEV RSK-R8C/26-29
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K571242S001BE](/photos/9/23/92397/r0k571242s001be_tmb.jpg)
Part Number:
Description:
KIT STARTER FOR SH7124
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K561622S000BE](/photos/9/23/92398/r0k561622s000be_tmb.jpg)
Part Number:
Description:
KIT STARTER FOR H8SX/1622
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K572030S000BE](/photos/9/24/92406/r0k572030s000be_tmb.jpg)
Part Number:
Description:
KIT DEV FOR SH7203
Manufacturer:
Renesas Electronics America
Datasheet: