7540 GroupSINGLE-CHIP 8-BIT CMOS MICROCOMPUTERREJ03B0011-0400Rev.4.00Jun 21, 2004Rev.4.00 Jun 21, 2004 page 1 of 82REJ03B0011-0400ZDESCRIPTIONTh
7540 GroupRev.4.00 Jun 21, 2004 page 10 of 82REJ03B0011-0400Zb7b0Xb7b0Sb7b0Yb7b0PCLProcessor Status Register (PS)Carry Flagb7b0b7b0Ab15PCHZero F
7540 GroupRev.4.00 Jun 21, 2004 page 11 of 82REJ03B0011-0400ZExecute JSROn-going RoutineM (S) (PCH)(S) (S – 1)M (S) (PCL)Execute RTS(PCL)
7540 GroupRev.4.00 Jun 21, 2004 page 12 of 82REJ03B0011-0400ZProcessor status register (PS)The processor status register is an 8-bit register co
7540 GroupRev.4.00 Jun 21, 2004 page 13 of 82REJ03B0011-0400Z[CPU mode register] CPUMThe CPU mode register contains the stack page selection bit
7540 GroupRev.4.00 Jun 21, 2004 page 14 of 82REJ03B0011-0400ZMemorySpecial function register (SFR) areaThe SFR area in the zero page contains co
7540 GroupRev.4.00 Jun 21, 2004 page 15 of 82REJ03B0011-0400ZFig. 14 Memory map of special function register (SFR)Note : Do not access to the SF
7540 GroupRev.4.00 Jun 21, 2004 page 16 of 82REJ03B0011-0400ZI/O Ports[Direction registers] PiDThe I/O ports have direction registers which dete
7540 GroupRev.4.00 Jun 21, 2004 page 17 of 82REJ03B0011-0400ZTable 5 I/O port function tablePinP00/CNTR1P01/TYOUTP02/TZOUTP03/TXOUTP04–P07P10/Rx
7540 GroupRev.4.00 Jun 21, 2004 page 18 of 82REJ03B0011-0400ZFig. 17 Block diagram of ports (1)(6)Port P11Data busPort latchS e r i a l I / O
7540 GroupRev.4.00 Jun 21, 2004 page 19 of 82REJ03B0011-0400ZFig. 18 Block diagram of ports (2)Pull-up controlINT interrupt inputP3 input level
7540 GroupRev.4.00 Jun 21, 2004 page 2 of 82REJ03B0011-0400ZFig. 2 Pin configuration (36P2R-A type)Package type: 36P2R-A101234678911121415165131
7540 GroupRev.4.00 Jun 21, 2004 page 20 of 82REJ03B0011-0400ZInterruptsInterrupts occur by 15 different sources : 5 external sources, 9 in-terna
7540 GroupRev.4.00 Jun 21, 2004 page 21 of 82REJ03B0011-0400ZFig. 19 Interrupt controlFig. 20 Structure of Interrupt-related registersInterrupt
7540 GroupRev.4.00 Jun 21, 2004 page 22 of 82REJ03B0011-0400ZKey Input Interrupt (Key-On Wake-Up)A key-on wake-up interrupt request is generated
7540 GroupRev.4.00 Jun 21, 2004 page 23 of 82REJ03B0011-0400ZTimersThe 7540 Group has 5 timers: timer 1, timer A, timer X, timer Yand timer Z.Th
7540 GroupRev.4.00 Jun 21, 2004 page 24 of 82REJ03B0011-0400Z(3) Event counter modeTimer A counts signals input from the P00/CNTR1 pin.Except fo
7540 GroupRev.4.00 Jun 21, 2004 page 25 of 82REJ03B0011-0400Z(4) Pulse width measurement modeIn the pulse width measurement mode, the pulse widt
7540 GroupRev.4.00 Jun 21, 2004 page 26 of 82REJ03B0011-0400Z●Timer YTimer Y is an 8-bit timer and counts the prescaler Y output.When Timer Y un
7540 GroupRev.4.00 Jun 21, 2004 page 27 of 82REJ03B0011-0400Z Notes on programmable generation waveform mode• Count set valueIn the programmabl
7540 GroupRev.4.00 Jun 21, 2004 page 28 of 82REJ03B0011-0400Z●Timer ZTimer Z is an 8-bit timer and counts the prescaler Z output.When Timer Z un
7540 GroupRev.4.00 Jun 21, 2004 page 29 of 82REJ03B0011-0400ZNotes on the programmable waveform generation mode are de-scribed below; Notes on
7540 GroupRev.4.00 Jun 21, 2004 page 3 of 82REJ03B0011-0400ZFig. 4 Pin configuration (42S1M type)Outline 42S1M1012346789111214151651317183635343
7540 GroupRev.4.00 Jun 21, 2004 page 30 of 82REJ03B0011-0400Z(4) Programmable wait one-shot generation modeIn the programmable wait one-shot gen
7540 GroupRev.4.00 Jun 21, 2004 page 31 of 82REJ03B0011-0400ZFig. 26 Structure of timer YZ waveform output control registerFig. 27 Structure of
7540 GroupRev.4.00 Jun 21, 2004 page 32 of 82REJ03B0011-0400ZFig. 28 Block diagram of timer 1 and timer ATimer A (low-order) latch (8)Timer A (l
7540 GroupRev.4.00 Jun 21, 2004 page 33 of 82REJ03B0011-0400ZFig. 29 Block diagram of timer X, timer Y and timer ZQQTToggle flip-flopTimer Y cou
7540 GroupRev.4.00 Jun 21, 2004 page 34 of 82REJ03B0011-0400ZFig. 30 Block diagram of clock synchronous serial I/O1Fig. 31 Operation of clock sy
7540 GroupRev.4.00 Jun 21, 2004 page 35 of 82REJ03B0011-0400ZFig. 32 Block diagram of UART serial I/O1(2) Asynchronous Serial I/O (UART) ModeClo
7540 GroupRev.4.00 Jun 21, 2004 page 36 of 82REJ03B0011-0400Z[Transmit buffer register/receive buffer register (TB/RB)]001816The transmit buffer
7540 GroupRev.4.00 Jun 21, 2004 page 37 of 82REJ03B0011-0400ZFig. 34 Structure of serial I/O1-related registersb7b7Transmit buffer empty flag (T
7540 GroupRev.4.00 Jun 21, 2004 page 38 of 82REJ03B0011-0400Z●Serial I/O2The serial I/O2 function can be used only for clock synchronousserial I
7540 GroupRev.4.00 Jun 21, 2004 page 39 of 82REJ03B0011-0400ZSerial I/O2 operationBy writing to the serial I/O2 register (address 003116) the se
7540 GroupRev.4.00 Jun 21, 2004 page 4 of 82REJ03B0011-0400ZFUNCTIONAL BLOCKFig. 5 Functional block diagram (32P6U package)FUNCTIONAL BLOCK DIAG
7540 GroupRev.4.00 Jun 21, 2004 page 40 of 82REJ03B0011-0400ZA/D ConverterThe functional blocks of the A/D converter are described below.[A/D co
7540 GroupRev.4.00 Jun 21, 2004 page 41 of 82REJ03B0011-0400ZWatchdog TimerThe watchdog timer gives a means for returning to a reset statuswhen
7540 GroupRev.4.00 Jun 21, 2004 page 42 of 82REJ03B0011-0400ZReset CircuitThe microcomputer is put into a reset status by holding the RE-SET pin
7540 GroupRev.4.00 Jun 21, 2004 page 43 of 82REJ03B0011-0400ZFig. 45 Internal status of microcomputer at resetPrescaler 1Timer 1One-shot start r
7540 GroupRev.4.00 Jun 21, 2004 page 44 of 82REJ03B0011-0400ZFig. 46 External circuit of ceramic resonatorFig. 47 External circuit of RC oscilla
7540 GroupRev.4.00 Jun 21, 2004 page 45 of 82REJ03B0011-0400Z● Oscillation stop detection circuit (Note)The oscillation stop detection circuit i
7540 GroupRev.4.00 Jun 21, 2004 page 46 of 82REJ03B0011-0400ZFig. 51 Block diagram of internal clock generating circuit (for ceramic resonator)F
7540 GroupRev.4.00 Jun 21, 2004 page 47 of 82REJ03B0011-0400ZFig. 53 State transitionS t o p m o d eW a i t m o d eW I T i n s t r u c t i
7540 GroupRev.4.00 Jun 21, 2004 page 48 of 82REJ03B0011-0400ZNOTES ON PROGRAMMINGProcessor Status RegisterThe contents of the processor status r
7540 GroupRev.4.00 Jun 21, 2004 page 49 of 82REJ03B0011-0400ZNOTES ON PERIPHERAL FUNCTIONS InterruptWhen setting the followings, the interrupt
7540 GroupRev.4.00 Jun 21, 2004 page 5 of 82REJ03B0011-0400ZFig. 6 Functional block diagram (36P2R package)FUNCTIONAL BLOCK DIAGRAM (Package: 36
7540 GroupRev.4.00 Jun 21, 2004 page 50 of 82REJ03B0011-0400Z Timer Z: Programmable Wait One-shotGeneration Mode• Count set valueIn the program
7540 GroupRev.4.00 Jun 21, 2004 page 51 of 82REJ03B0011-0400Z Note on Power Source VoltageWhen the power source voltage value of a microcompute
7540 GroupRev.4.00 Jun 21, 2004 page 52 of 82REJ03B0011-0400ZELECTRICAL CHARACTERISTICS1.7540Group (General purpose)Applied to: M37540M2-XXXFP/S
7540 GroupRev.4.00 Jun 21, 2004 page 53 of 82REJ03B0011-0400ZRecommended Operating Conditions (General purpose)Table 9 Recommended operating con
7540 GroupRev.4.00 Jun 21, 2004 page 54 of 82REJ03B0011-0400ZRecommended Operating Conditions (General purpose)(continued)Table 10 Recommended o
7540 GroupRev.4.00 Jun 21, 2004 page 55 of 82REJ03B0011-0400ZElectrical Characteristics (General purpose)Table 11 Electrical characteristics (1)
7540 GroupRev.4.00 Jun 21, 2004 page 56 of 82REJ03B0011-0400ZElectrical Characteristics (General purpose)(continued)Table 12 Electrical characte
7540 GroupRev.4.00 Jun 21, 2004 page 57 of 82REJ03B0011-0400ZA/D Converter Characteristics (General purpose)Table 13 A/D Converter characteristi
7540 GroupRev.4.00 Jun 21, 2004 page 58 of 82REJ03B0011-0400ZTiming Requirements (General purpose)Table 14 Timing requirements (1) (VCC = 4.0 to
7540 GroupRev.4.00 Jun 21, 2004 page 59 of 82REJ03B0011-0400ZTable 16 Timing requirements (3) (VCC = 2.2 to 5.5 V, VSS = 0 V, Ta = –20 to 85 °C,
7540 GroupRev.4.00 Jun 21, 2004 page 6 of 82REJ03B0011-0400ZFig. 7 Functional block diagram (32P4B package)FUNCTIONAL BLOCK DIAGRAM (Package: 32
7540 GroupRev.4.00 Jun 21, 2004 page 60 of 82REJ03B0011-0400ZSwitching Characteristics (General purpose)Table 17 Switching characteristics (1) (
7540 GroupRev.4.00 Jun 21, 2004 page 61 of 82REJ03B0011-0400ZTable 19 Switching characteristics (3) (VCC = 2.2 to 5.5 V, VSS = 0 V, Ta = –20 to
7540 GroupRev.4.00 Jun 21, 2004 page 62 of 82REJ03B0011-0400ZFig. 55 Timing chart (General purpose)0.2VCCtd(SCLK1-TxD1)tf0.2VCC0.8VCC0.8VCCtrtsu
7540 GroupRev.4.00 Jun 21, 2004 page 63 of 82REJ03B0011-0400ZELECTRICAL CHARACTERISTICS2.7540Group (Extended operating temperature version)Appli
7540 GroupRev.4.00 Jun 21, 2004 page 64 of 82REJ03B0011-0400ZRecommended Operating Conditions (Extended operating temperature version)Table 21 R
7540 GroupRev.4.00 Jun 21, 2004 page 65 of 82REJ03B0011-0400ZRecommended Operating Conditions (Extended operating temperature version)(continued
7540 GroupRev.4.00 Jun 21, 2004 page 66 of 82REJ03B0011-0400ZElectrical Characteristics (Extended operating temperature version)Table 23 Electri
7540 GroupRev.4.00 Jun 21, 2004 page 67 of 82REJ03B0011-0400ZElectrical Characteristics (Extended operating temperature version)(continued)Table
7540 GroupRev.4.00 Jun 21, 2004 page 68 of 82REJ03B0011-0400ZA/D Converter Characteristics (Extended operating temperature version)Table 25 A/D
7540 GroupRev.4.00 Jun 21, 2004 page 69 of 82REJ03B0011-0400ZTiming Requirements (Extended operating temperature version)Table 26 Timing require
7540 GroupRev.4.00 Jun 21, 2004 page 7 of 82REJ03B0011-0400ZPIN DESCRIPTIONTable 1 Pin descriptionFunction•Apply voltage of 2.2 to 5.5 V to Vcc,
7540 GroupRev.4.00 Jun 21, 2004 page 70 of 82REJ03B0011-0400ZSwitching characteristics measurement circuit diagram (Gen-eral purpose)/ / /Measur
7540 GroupRev.4.00 Jun 21, 2004 page 71 of 82REJ03B0011-0400ZFig. 56 Timing chart (Extended operating temperature version)0.2VCCtd(SCLK1-TxD1)tf
7540 GroupRev.4.00 Jun 21, 2004 page 72 of 82REJ03B0011-0400ZELECTRICAL CHARACTERISTICS3.7540Group (Extended operating temperature 125 °C versio
7540 GroupRev.4.00 Jun 21, 2004 page 73 of 82REJ03B0011-0400ZRecommended Operating Conditions (Extended operating temperature 125 °C version)Tab
7540 GroupRev.4.00 Jun 21, 2004 page 74 of 82REJ03B0011-0400ZRecommended Operating Conditions (Extended operating temperature 125 °C version)(co
7540 GroupRev.4.00 Jun 21, 2004 page 75 of 82REJ03B0011-0400ZElectrical Characteristics (Extended operating temperature 125 °C version)Table 33
7540 GroupRev.4.00 Jun 21, 2004 page 76 of 82REJ03B0011-0400ZElectrical Characteristics (Extended operating temperature 125°C version)(continued
7540 GroupRev.4.00 Jun 21, 2004 page 77 of 82REJ03B0011-0400ZA/D Converter Characteristics (Extended operating temperature 125 °C version)Table
7540 GroupRev.4.00 Jun 21, 2004 page 78 of 82REJ03B0011-0400ZTiming Requirements (Extended operating temperature 125 °C version)Table 36 Timing
7540 GroupRev.4.00 Jun 21, 2004 page 79 of 82REJ03B0011-0400ZSwitching characteristics measurement circuit diagram (Gen-eral purpose)/ / /Measur
7540 GroupRev.4.00 Jun 21, 2004 page 8 of 82REJ03B0011-0400ZGROUP EXPANSIONRenesas plans to expand the 7540 group as follow:Memory typeSupport f
7540 GroupRev.4.00 Jun 21, 2004 page 80 of 82REJ03B0011-0400ZFig. 57 Timing chart (Extended operating temperature 125 °C version)0.2VCCtd(SCLK1-
7540 GroupRev.4.00 Jun 21, 2004 page 81 of 82REJ03B0011-0400ZPACKAGE OUTLINELQFP32-P-0707-0.80Weight(g)–JEDEC CodeEIAJ Package CodeLead Materia
7540 GroupRev.4.00 Jun 21, 2004 page 82 of 82REJ03B0011-0400ZSDIP32-P-400-1.78Weight(g)– 2.2JEDEC CodeEIAJ Package CodeLead MaterialAlloy 42/Cu
Keep safety first in your circuit designs!1. Renesas Technology Corp. puts the maximum effort into making semiconductor products better and more relia
Rev. Rev.No. date1.0 First Edition 9911222.0 Page 1: 010108FEATURES• The minimum instruction execution time revised; 0.34 µs (at 6 MHz oscillation fre
Rev. Rev.No. date2.0 (continued) 010108Pages 22 to 30: Description of timers revised allPage 31: Fig. 25 to Fig. 27 Initial values addedPage 33: Fig.
REVISION DESCRIPTION LIST 7540 Group DATA SHEETRevision DescriptionRev. Rev.No. date3.0 (continued) 020610Page 19: Fig. 18 (9) Port P14 revisedPage 20
(4/5)REVISION DESCRIPTION LIST 7540 Group DATA SHEETRevision DescriptionRev. Rev.No. date3.0 (continued) 020610Page 52: Product name added, Table 8 No
REVISION HISTORYRev. Date DescriptionPage Summary(5/5)7540 Group Data Sheet3.20May. 28, 20034.00Jun. 21, 2004[Pull-up control register] PULL; Note add
7540 GroupRev.4.00 Jun 21, 2004 page 9 of 82REJ03B0011-0400ZCurrently supported products are listed below.Table 2 List of supported productsPart
Commentaires sur ces manuels