M38039FFHSP#U0 Renesas Electronics America, M38039FFHSP#U0 Datasheet
M38039FFHSP#U0
Specifications of M38039FFHSP#U0
Related parts for M38039FFHSP#U0
M38039FFHSP#U0 Summary of contents
Page 1
To our customers, Old Company Name in Catalogs and Other Documents st On April 1 , 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took over all the business of both companies. Therefore, although the ...
Page 2
All information included in this document is current as of the date this document is issued. Such information, however, is subject to change without any prior notice. Before purchasing or using any Renesas Electronics products listed herein, please confirm ...
Page 3
Group (Spec.H) SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER 3803 Group (Spec.H) Mask ROM version DESCRIPTION The 3803 group (Spec.H) is the 8-bit microcomputer based on the 740 family core technology. The 3803 group (Spec.H) is designed for household products, office automation ...
Page 4
Group (Spec.H) 3803 Group (Spec.H) Flash memory version DESCRIPTION The 3803 group (Spec.H) flash memory version is the 8-bit microcomputer based on the 740 family core technology. The 3803 group (Spec.H) is designed for household products, office automation equipment, ...
Page 5
Group (Spec. RDY3 CLK3 / /DA ...
Page 6
Group (Spec. RDY1 /INT 1 P4 /INT 0 Fig 2. Pin configuration (Top view) (PRDP0064BA-A (64P4B)) Table 4 List of package (Spec.H) Package Product name M38034M4H-XXXSP ...
Page 7
Group (Spec.H) PIN CONFIGURATION (TOP VIEW /AN 6 CLK3 / ...
Page 8
Group (Spec.H) Fig 4. Functional block diagram Rev.3.11 Apr 5, 2006 Page 6 of 113 REJ03B0017-0311 ...
Page 9
Group (Spec.H) PIN DESCRIPTION Table 6 Pin description Pin Name Power source CC SS CNV CNV input Reference REF voltage AV Analog power SS source RESET Reset input X Main clock input • ...
Page 10
Group (Spec.H) PART NUMBERING Product name M3803 7 M Fig 5. Part numbering Rev.3.11 Apr 5, 2006 Page 8 of 113 REJ03B0017-0311 H − XXX SP 8 Package type SP : PRDP0064BA-A (64P4B PRQP0064GA-A (64P6N- ...
Page 11
Group (Spec.H) GROUP EXPANSION Renesas plans to expand the 3803 group (Spec.H) as follows. Memory Size • Flash memory size ....................................................60 K bytes • Mask ROM size ........................................... bytes • RAM size ...................................................... 640 to ...
Page 12
Group (Spec.H) FUNCTIONAL DESCRIPTION CENTRAL PROCESSING UNIT (CPU) The 3803 group (Spec.H) uses the standard 740 Family instruction set. Refer to the table of 740 Family addressing modes and machine instructions or the 740 Family Software Manual for details ...
Page 13
Group (Spec.H) Interrupt request Push Return M(S)←( Address on Stack (S)←(S) − 1 M(S)←( ← − Subroutine Execute RTS (S)←( POP Return Address from Stack (PC ...
Page 14
Group (Spec.H) [Processor status register (PS)] The processor status register is an 8-bit register consisting of 5 flags which indicate the status of the processor after an arithmetic operation and 3 flags which decide MCU operation. Branch operations can ...
Page 15
Group (Spec.H) [CPU Mode Register (CPUM)] 003B The CPU mode register contains the stack page selection bit, the internal system clock control bits, etc. The CPU mode register is allocated at address 003B b7 Fig 9. Structure of CPU ...
Page 16
Group (Spec.H) MISRG (1) Bit 0 of address 0010 : Oscillation stabilizing time 16 set after STP instruction released bit When the MCU stops the clock oscillation by the STP instruction and the STP instruction has been released by ...
Page 17
Group (Spec.H) MEMORY • Special Function Register (SFR) Area The Special Function Register area in the zero page contains control registers such as I/O ports and timers. • RAM The RAM is used for data storage and for stack ...
Page 18
Group (Spec.H) Port P0 (P0) 0000 16 Port P0 direction register (P0D) 0001 16 Port P1 (P1) 0002 16 Port P1 direction register (P1D) 0003 16 Port P2 (P2) 0004 16 Port P2 direction register (P2D) 0005 16 Port ...
Page 19
Group (Spec.H) I/O PORTS The I/O ports have direction registers which determine the input/output direction of each individual pin. Each bit in a direction register corresponds to one pin, and each pin can be set to be input port ...
Page 20
Group (Spec.H) (1) Ports Pull-up control bit Direction register Port latch Data bus A/D converter input (3) Ports Pull-up control bit Direction register Data bus Port latch (5) Ports ...
Page 21
Group (Spec.H) (9) Port P3 7 Pull-up control bit Serial I/O3 mode selection bit Serial I/O3 enable bit S output enable bit RDY3 Direction register Data bus Port latch Serial I/O3 ready output (11) Port P4 1 Pull-up control ...
Page 22
Group (Spec.H) (15) Port P5 2 Pull-up control bit Serial I/O2 synchronous clock selection bit Serial I/O2 port selection bit Direction register Data bus Port latch Serial I/O2 clock output Serial I/O2 external clock input (17) Ports P5 , ...
Page 23
Group (Spec. Fig 16. Structure of port pull-up control register (1) Rev.3.11 Apr 5, 2006 Page 21 of 113 REJ03B0017-0311 Port P0 pull-up control register (PULL0: address 0FF0 ) 16 P0 pull-up control bit 0 ...
Page 24
Group (Spec. Fig 17. Structure of port pull-up control register (2) Rev.3.11 Apr 5, 2006 Page 22 of 113 REJ03B0017-0311 Port P2 pull-up control register (PULL2: address 0FF2 ) 16 P2 pull-up control bit 0 ...
Page 25
Group (Spec. Fig 18. Structure of port pull-up control register (3) Rev.3.11 Apr 5, 2006 Page 23 of 113 REJ03B0017-0311 Port P4 pull-up control register (PULL4: address 0FF4 ) 16 P4 pull-up control bit 0 ...
Page 26
Group (Spec. Fig 19. Structure of port pull-up control register (4) Rev.3.11 Apr 5, 2006 Page 24 of 113 REJ03B0017-0311 Port P6 pull-up control register (PULL6: address 0FF6 ) 16 P6 pull-up control bit ...
Page 27
Group (Spec.H) INTERRUPTS The 3803 group (Spec.H)’s interrupts are a type of vector and occur by 16 sources among 21 sources: eight external, twelve internal, and one software. • Interrupt Control Each interrupt is controlled by an interrupt request ...
Page 28
Group (Spec.H) Table 10 Interrupt vector addresses and priority Addresses Interrupt Source Priority High (2) 1 FFFD Reset INT 2 FFFB 0 Timer Z INT 3 FFF9 1 Serial I/O1 reception 4 FFF7 Serial I/O1 5 FFF5 transmission Timer ...
Page 29
Group (Spec.H) Interrupt request bit Interrupt enable bit Interrupt disable flag (I) Fig 20. Interrupt control Rev.3.11 Apr 5, 2006 Page 27 of 113 REJ03B0017-0311 BRK instruction Reset Interrupt request ...
Page 30
Group (Spec. Interrupt edge selection register (INTEDGE : address 003A INT interrupt edge selection bit 0 INT interrupt edge selection bit 1 Not used (returns “0” when read) INT interrupt edge selection bit 2 INT interrupt edge ...
Page 31
Group (Spec.H) TIMERS • 8-bit Timers The 3803 group (Spec.H) has four 8-bit timers: timer 1, timer 2, timer X, and timer Y. The timer 1 and timer 2 use one prescaler in common, and the timer X and ...
Page 32
Group (Spec.H) (4) Pulse Width Measurement Mode • Mode selection This mode can be selected by setting “11” to the timer X operating mode bits (bits 1 and 0) and the timer Y operating mode bits (bits 5 and ...
Page 33
Group (Spec. “00” (1/2, 1/4, 1/8, 1/16, 1/32, 1/64, 1/128, 1/256, 1/512, 1/1024) “11” Divider Count source selection bit “10” X CIN Main clock division ratio selection bits f(X ) CIN CNTR active 0 edge switch bit ...
Page 34
Group (Spec.H) b7 Fig 23. Structure of timer XY mode register Rev.3.11 Apr 5, 2006 Page 32 of 113 REJ03B0017-0311 b0 Timer XY mode register (TM : address 0023 ) 16 Timer X operating mode bits ...
Page 35
Group (Spec. Fig 24. Structure of timer 12, X and timer Y, Z count source selection registers Rev.3.11 Apr 5, 2006 Page 33 of 113 REJ03B0017-0311 b0 Timer 12, X count source selection register (T12XCSS : address ...
Page 36
Group (Spec.H) • 16-bit Timer The timer 16-bit timer. When the timer reaches “0000 ...
Page 37
Group (Spec.H) (4) Pulse period measurement mode • Mode selection This mode can be selected by setting “010” to the timer Z operating mode bits (bits and setting “0” to the timer/event counter mode switch bit ...
Page 38
Group (Spec.H) (6) Programmable waveform generating mode • Mode selection This mode can be selected by setting “100” to the timer Z operating mode bits (bits and setting “0” to the timer/event counter mode switch bit ...
Page 39
Group (Spec.H) P4 /INT 2 1 Programmable one-shot generating mode Output level latch “001” “100” “101” Timer Z operating mode bits Port P4 latch Port P4 7 direction register Pulse period measurement mode Pulse width measurement mode P4 /CNTR ...
Page 40
Group (Spec. Note 1: When selecting the modes except the timer/event counter mode, set “0” to this bit. Fig 26. Structure of timer Z mode register Rev.3.11 Apr 5, 2006 Page 38 of 113 REJ03B0017-0311 Timer Z ...
Page 41
Group (Spec.H) FFFF 16 TL 0000 16 Fig 27. Timing chart of timer/event counter mode FFFF TL 0000 Waveform output from CNTR pin 2 Fig 28. Timing chart of pulse output mode Rev.3.11 Apr 5, 2006 Page 39 of ...
Page 42
Group (Spec.H) 0000 FFFF 16 Signal input from CNTR pin 2 Fig 29. Timing chart of pulse period measurement mode (Measuring term between two rising edges) 0000 FFFF 16 Signal input ...
Page 43
Group (Spec.H) FFFF 0000 Signal output from CNTR pin 2 Fig 31. Timing chart of programmable waveform generating mode FFFF Signal input from INT pin 1 Signal output from CNTR pin 2 Fig 32. Timing chart of programmable one-shot ...
Page 44
Group (Spec.H) SERIAL INTERFACE • Serial I/O1 Serial I/O1 can be used as either clock synchronous or asynchronous (UART) serial I/O. A dedicated timer is also provided for baud rate generation ...
Page 45
Group (Spec.H) (2) Asynchronous Serial I/O (UART) Mode Clock asynchronous serial I/O mode (UART) can be selected by clearing the serial I/O1 mode selection bit (b6) of the serial I/O1 control register to “0”. Eight serial data transfer formats ...
Page 46
Group (Spec.H) [Transmit Buffer Register 1/Receive Buffer Register 1 (TB1/RB1)] 0018 16 The transmit buffer register 1 and the receive buffer register 1 are located at the same address. The transmit buffer is write-only and the receive buffer is ...
Page 47
Group (Spec.H) Serial I/O1 status register b7 b0 (SIO1STS : address 0019 Transmit buffer empty flag (TBE) 0: Buffer full 1: Buffer empty Receive buffer full flag (RBF) 0: Buffer empty 1: Buffer full Transmit shift completion flag (TSC) ...
Page 48
Group (Spec.H) <Notes concerning serial I/O1> 1. Notes when selecting clock synchronous serial I/O 1.1 Stop of transmission operation • Note Clear the serial I/O1 enable bit and the transmit enable bit to “0” (serial I/O and transmit disabled). ...
Page 49
Group (Spec. output of reception side RDY1 • Note When signals are output from the S RDY1 side by using an external clock in the clock synchronous serial I/O mode, set all of the receive enable bit, ...
Page 50
Group (Spec.H) • Serial I/O2 The serial I/O2 function can be used only for clock synchronous serial I/O. For clock synchronous serial I/O2, the transmitter and the receiver must use the same clock. If the internal clock is used, ...
Page 51
Group (Spec.H) (1) Transfer clock Serial I/O2 register write signal Serial I/O2 output S OUT2 Serial I/O2 input S IN2 Receive enable signal S RDY2 Notes1: When the internal clock is selected as the transfer clock, the divide ratio ...
Page 52
Group (Spec.H) • Serial I/O3 Serial I/O3 can be used as either clock synchronous or asynchronous (UART) serial I/O3. A dedicated timer is also provided for baud rate generation CLK3 ...
Page 53
Group (Spec.H) (2) Asynchronous Serial I/O (UART) Mode Clock asynchronous serial I/O mode (UART) can be selected by clearing the serial I/O3 mode selection bit (b6) of the serial I/O3 control register to “0”. Eight serial data transfer formats ...
Page 54
Group (Spec.H) [Transmit Buffer Register 3/Receive Buffer Register 3 (TB3/RB3)] 0030 16 The transmit buffer register 3 and the receive buffer register 3 are located at the same address. The transmit buffer is write-only and the receive buffer is ...
Page 55
Group (Spec.H) Serial I/O3 status register b7 b0 (SIO3STS : address 0031 Transmit buffer empty flag (TBE) 0: Buffer full 1: Buffer empty Receive buffer full flag (RBF) 0: Buffer empty 1: Buffer full Transmit shift completion flag (TSC) ...
Page 56
Group (Spec.H) <Notes concerning serial I/O3> 1. Notes when selecting clock synchronous serial I/O 1.1 Stop of transmission operation • Note Clear the serial I/O3 enable bit and the transmit enable bit to “0” (serial I/O and transmit disabled). ...
Page 57
Group (Spec. output of reception side RDY3 • Note When signals are output from the S RDY3 side by using an external clock in the clock synchronous serial I/O mode, set all of the receive enable bit, ...
Page 58
Group (Spec.H) PULSE WIDTH MODULATION (PWM) The 3803 group (Spec.H QzROM version) has PWM functions with an 8-bit resolution, based on a signal that is the clock input X or that clock input divided the clock ...
Page 59
Group (Spec.H) b7 Fig 48. Structure of PWM control register PWM output PWM register write signal PWM prescaler write signal When the contents of the PWM register or PWM prescaler have changed, the PWM output will change from the ...
Page 60
Group (Spec.H) A/D CONVERTER (successive approximation type) [AD Conversion Register 1, 2 (AD1, AD2)] 0035 0038 16 The AD conversion register is a read-only register that stores the result of an A/D conversion. When reading this register during an ...
Page 61
Group (Spec.H) b7 AD/DA control register (Address 0034 ) Comparator ...
Page 62
Group (Spec.H) D/A CONVERTER The 3803 group (Spec.H) has two internal D/A converters (DA and DA ) with 8-bit resolution. 2 The D/A conversion is performed by setting the value in each DA conversion register. The result of D/A ...
Page 63
Group (Spec.H) WATCHDOG TIMER The watchdog timer gives a mean of returning to the reset status when a program cannot run on a normal loop (for example, because of a software run-away). The watchdog timer consists of an 8-bit ...
Page 64
Group (Spec.H) RESET CIRCUIT To reset the microcomputer, RESET pin should be held at an “L” level for 16 cycles or more Then the RESET pin is IN returned to an “H” level (the power source ...
Page 65
Group (Spec.H) (1) Port P0 (P0) (2) Port P0 direction register (P0D) (3) Port P1 (P1) (4) Port P1 direction register (P1D) (5) Port P2 (P2) (6) Port P2 direction register (P2D) (7) Port P3 (P3) (8) Port P3 ...
Page 66
Group (Spec.H) CLOCK GENERATING CIRCUIT The 3803 group (Spec.H) has two built-in oscillation circuits: main clock X -X oscillation circuit and sub clock X IN OUT X oscillation circuit. An oscillation circuit can be formed by COUT connecting a ...
Page 67
Group (Spec. CIN COUT COUT CIN Note 1 : Insert a damping resistor if required. The resistance will vary depending on the oscillator and the oscillation drive capacity setting. Use the ...
Page 68
Group (Spec. COUT CIN “1” “0” Port X C switch bit OUT Main clock division ratio selection bits (4) Low-speed mode High-speed or middle-speed mode Main clock stop bit Q S STP R instruction ...
Page 69
Group (Spec.H) Reset Middle-speed mode CM (f(φ MHz) “1”←→”0” MHz oscillating (32 kHz stopped) 4 Middle-speed mode CM (f(φ MHz) “1”←→”0” ...
Page 70
Group (Spec.H) FLASH MEMORY MODE The 3803 group (Spec.H)’s flash memory version has the flash memory that can be rewritten with a single power source. For this flash memory, three flash memory modes are available in which to read, ...
Page 71
Group (Spec.H) Boot Mode The control program for CPU rewrite mode must be written into the User ROM or Boot ROM area in parallel I/O mode beforehand. (If the control program is written into the Boot ROM area, the ...
Page 72
Group (Spec.H) Outline Performance CPU rewrite mode is usable in the single-chip or Boot mode. The only User ROM area can be rewritten. In CPU rewrite mode, the CPU erases, programs and reads the internal flash memory as instructed ...
Page 73
Group (Spec. Flash memory control register 2 (FMCR2: address : 0FE2 Not used Not used (do not write “1” to this bit.) Not used All user block E/W enable bit 0 : E/W disabled 1 : E/W ...
Page 74
Group (Spec.H) <Notes on CPU Rewrite Mode> Take the notes described below when rewriting the flash memory in CPU rewrite mode. (1) Operation speed During CPU rewrite mode, set the system clock φ to 4.0 MHz or less using ...
Page 75
Group (Spec.H) Software Commands Table 13 lists the software commands. After setting the CPU rewrite mode select bit to “1”, execute a software command to specify an erase or program operation. Each software command is explained below. • Read ...
Page 76
Group (Spec.H) • Block Erase Command (20 / writing the command code “20 ” in the first bus cycle and 16 the confirmation command code “D0 16 the second bus cycle that follows, the block erase (erase ...
Page 77
Group (Spec.H) • Status Register The status register shows the operating status of the flash memory and whether erase operations and programs ended successfully or in error. It can be read in the following ways: (1) By reading an ...
Page 78
Group (Spec.H) Full Status Check By performing full status check possible to know the execution results of erase and program operations. Figure.71 shows a full status check flowchart and the action to be taken when each error ...
Page 79
Group (Spec.H) Functions To Inhibit Rewriting Flash Memory Version To prevent the contents of internal flash memory from being read out or rewritten easily, this MCU incorporates a ROM code protect function for use in parallel I/O mode and ...
Page 80
Group (Spec.H) • ID Code Check Function Use this function in standard serial I/O mode. When the contents of the flash memory are not blank, the ID code sent from the programmer is compared with the ID code written ...
Page 81
Group (Spec.H) Parallel I/O Mode The parallel I/O mode is used to input/output software commands, address and data in parallel for operation (read, program and erase) to internal flash memory. Use the external device (writer) only for 3803 Group ...
Page 82
Group (Spec.H) Standard serial I/O Mode The standard serial I/O mode inputs and outputs the software commands, addresses and data needed to operate (read, program, erase, etc.) the internal flash memory. This I/O is clock synchronized serial. This mode ...
Page 83
Group (Spec.H) Table 15 Description of pin function (Flash Memory Serial I/O Mode 1) Pin name Signal name V ,V Power supply CC SS CNV CNV SS SS Reset input RESET X Clock input IN X Clock output OUT ...
Page 84
Group (Spec. RDY3 CLK3 / /DA ...
Page 85
Group (Spec. RDY3 CLK3 / /DA ...
Page 86
Group (Spec. BUSY S CLK CNV SS RESET * Connect oscillation circuit. indicates flash memory pin. Fig 76. Connection for standard serial I/O mode 1 (M38039FFHSP) Rev.3.11 Apr ...
Page 87
Group (Spec. BUSY “L” input CNV SS RESET Connect oscillation circuit. indicates flash memory pin. Fig 77. Connection for standard serial I/O mode 2 (M38039FFHSP) Rev.3.11 Apr 5, ...
Page 88
Group (Spec.H) PIN CONFIGURATION (TOP VIEW /AN 6 CLK3 / ...
Page 89
Group (Spec.H) PIN CONFIGURATION (TOP VIEW /AN 6 CLK3 / ...
Page 90
Group (Spec.H) Power source RESET CNV CLK P4 (BUSY Limits Symbol Min. Typ. − td(CNV -RESET td(P4 -RESET Fig ...
Page 91
Group (Spec.H) ELECTRICAL CHARACTERISTICS Absolute maximum ratings Table 17 Absolute maximum ratings Symbol Parameter V Power source voltages CC V Input voltage Input voltage ...
Page 92
Group (Spec.H) Mask ROM Version Recommended operating conditions Table 18 Recommended operating conditions (1) (Mask ROM version 1 Symbol Parameter V Power source When start oscillating CC (1) voltage High-speed mode ...
Page 93
Group (Spec.H) Flash Memory Version Table 19 Recommended operating conditions (2) (Flash memory version 2 Symbol Parameter V Power source When start oscillating CC (1) voltage High-speed mode f(φ) = f(X ...
Page 94
Group (Spec.H) Table 20 Recommended operating conditions (3) (Mask ROM version (Flash memory version: V Symbol ΣI OH(peak) “H” total peak output current ΣI “H” total peak output current OH(peak) ΣI “L” total peak output current OL(peak) ...
Page 95
Group (Spec.H) Electrical characteristics Table 21 Electrical characteristics (1) (Mask ROM version (Flash memory version: V Symbol Parameter V (1) “H” output voltage ...
Page 96
Group (Spec.H) Mask ROM Version Table 22 Electrical characteristics (2) (Mask ROM version 1 – °C, f(X CC Output transistors “off”, AD converter not operated) Symbol Parameter I Power source ...
Page 97
Group (Spec.H) Flash Memory Version Table 23 Electrical characteristics (3) (Flash memory version 2 – °C, f(X CC Output transistors “off”, AD converter not operated) Symbol Parameter I Power source ...
Page 98
Group (Spec.H) Mask ROM Version A/D converter characteristics Table 24 A/D converter recommended operating conditions (Mask ROM version 2 Symbol Parameter V Power source voltage CC (When A/D converter is used) ...
Page 99
Group (Spec.H) A/D converter characteristics Table 27 A/D converter recommended operating conditions (Flash memory version 2 Symbol Parameter V Power source voltage CC (When A/D converter is used) V Analog convert ...
Page 100
Group (Spec.H) Timing requirements and switching characteristics Table 31 Timing requirements (1) (Mask ROM version (Flash memory version: V Symbol Reset input “L” pulse width t (RESET Main clock ...
Page 101
Group (Spec.H) Table 32 Timing requirements (2) (Mask ROM version (Flash memory version: V Symbol Serial I/O1, serial I/O3 C CLK1 clock input cycle time C CLK3 Serial ...
Page 102
Group (Spec.H) Table 33 Switching characteristics (1) (Mask ROM version (Flash memory version: V Symbol Parameter Serial I/O1, serial I/O3 WH CLK1 clock output “H” pulse WH CLK3 width t (S ...
Page 103
Group (Spec.H) Table 34 Switching characteristics (2) (Mask ROM version (Flash memory version: V Symbol Parameter Serial I/O2 f CLK2 fall time of clock output t (CMOS) CMOS r (1) rise time of output ...
Page 104
Group (Spec.H) Single-chip mode timing diagram CNTR , CNTR 0 1 CNTR 2 INT , INT , INT INT , INT 00 40 INT , INT 01 41 RESET CIN S CLK1 S ...
Page 105
Group (Spec.H) PACKAGE OUTLINE JEITA Package Code RENESAS Code P-QFP64-14x14-0.80 PRQP0064GA Index mark JEITA Package Code RENESAS Code P-SDIP64-17x56.4-1.78 PRDP0064BA SEATING PLANE e ...
Page 106
Group (Spec.H) JEITA Package Code RENESAS Code P-LQFP64-10x10-0.50 PLQP0064KB Index mark JEITA Package Code RENESAS Code P-LQFP64-14x14-0.80 PLQP0064GA ...
Page 107
Group (Spec.H) JEITA Package Code RENESAS Code P-TFLGA64-6x6-0.65 PTLG0064JA Rev.3.11 Apr 5, 2006 Page 105 of 113 REJ03B0017-0311 Previous Code MASS[Typ.] 64F0G 0.07g ...
Page 108
Group (Spec.H) NOTES NOTES ON PROGRAMMING 1. Processor Status Register (1) Initializing of processor status register Flags which affect program execution must be initialized after a reset. In particular essential to initialize the T and D flags ...
Page 109
Group (Spec.H) NOTES ON PERIPHERAL FUNCTIONS Notes on Input and Output Ports 1. Notes in standby state *1 In standby state for low-power dissipation, do not make input levels of an I/O port “undefined”. Even when an I/O port ...
Page 110
Group (Spec.H) Notes on Interrupts 1. Change of relevant register settings When the setting of the following registers or bits is changed, the interrupt request bit may be set to “1”. When not requiring the interrupt occurrence synchronized with ...
Page 111
Group (Spec.H) Notes on 8-bit Timer (timer • value n (between 0 and 255) is written to a timer latch, the frequency division ratio is 1/(n+1). • When switching the count source by ...
Page 112
Group (Spec.H) Notes on Serial Interface 1. Notes when selecting clock synchronous serial I/O (1) Stop of transmission operation As for serial I/ that can be used as either a clock synchronous or an asynchronous ...
Page 113
Group (Spec.H) Notes on PWM The PWM starts from “H” level after the PWM enable bit is set to enable and “L” level is temporarily output from the PWM pin. The length of this “L” level output is as ...
Page 114
Group (Spec.H) Notes on Restarting Oscillation • Restarting oscillation Usually, when the MCU stops the clock oscillation by STP instruction and the STP instruction has been released by an external interrupt source, the fixed values of Timer 1 and ...
Page 115
Group (Spec.H) Notes on Handling of Power Source Pins In order to avoid a latch-up occurrence, connect a capacitor suitable for high frequencies as bypass capacitor between power source pin (V pin) and GND pin ( source ...
Page 116
REVISION HISTORY REVISION HISTORY Rev. Date Page 1.00 – First edition issued Sep. 3, 2001 2.00 1,2,6,7 •Delete the following :“*:KP package is under development.” May. 28, 2003 5 •Table 4 pin description •Fig.5 Memory expansion plan ...
Page 117
REVISION HISTORY Rev. Date Page 61 Explanations of “RESET CIRCUIT” are partly revised. 3.01 Jun.25, 2004 61 Figure 56 Reset circuit example is partly revised. 63 Explanations of “(1) Stop mode” of “Oscillation control” are partly added. 65 Figure 56 ...
Page 118
REVISION HISTORY Rev. Date Page 3.03 Jun.17, 2005 106 to 108 PACKAGE OUTLINE revised. 3.10 Nov.14, 2005 - 106 to 108 PACKAGE OUTLINE revised. 109 to 116 Appendix added. 3.11 Apr.5, ...
Page 119
Keep safety first in your circuit designs! 1. Renesas Technology Corp. puts the maximum effort into making semiconductor products better and more reliable, but there is always the possibility that trouble may occur with them. Trouble with semiconductors may lead ...