FUJITSU SEMICONDUCTOR DATA SHEET DS07-13603-5E 16-bit Proprietary Microcontroller CMOS F2MC-16L MB90610A Series MB90611A/MB90613A DESCRIPTION MB90610A series includes 16-bit microcontrollers optimally usable for high-speed real-time data processing in consumer appliances and for system control of printer, CD-ROM, cellular phone, copier, etc. The series uses the F2MC*-16L CPU which is based on the F2MC-16 but with enhanced high-level language and task switching instructions and additional addressing modes. The internal peripheral resources consist of a 3-channel serial port incorporating a UART function (and supporting I/O expansion serial mode), 8-channel 10-bit A/D converter, 2-channel PPG, 2-channel 16-bit reload timer, 8channel chip select output, and 8-channel external interrupts. Also, multiplexed or non-multiplexed operation can be selected for the address/data bus. *: F2MC is an abbreviation for "Fujitsu Flexible Microcontroller". FEATURES * F2MC-16L CPU * Minimum instruction execution time:62.5 ns/4 MHz oscillation (Uses PLL clock multiplication), maximum multiplier = 4 (Continued) PACKAGES 100-pin plastic LQFP 100-pin plastic QFP (FPT-100P-M05) (FPT-100P-M06) MB90610A Series (Continued) * Enhanced high level language (C) / multitasking support instructions Use of a system stack pointer Enhanced pointer indirect instructions Barrel shift instructions Stack check function * Improved execution speed: Four byte instruction queue * Powerful interrupt function * Automatic data transfer function (does not use instructions) Internal peripherals * RAM: 1 Kbyte (MB90611A)3 Kbytes (MB90613A) * General purpose ports8, 16-bit data bus, multiplexed mode: 57 ports max. 16-bit non-multiplexed mode: 41 ports max. 8-bit non-multiplexed mode: 49 ports max. * UART (SCI): 3 channels For either asynchronous or clocked serial transfer (I/O expansion serial) * A/D converter: 8 channels (10-bit) 8-bit conversion mode also available * PPG (programmable pulse generator): 2 channels * 16-bit reload timer: 2 channels * Chip select output: 8 channels * External interrupts: 8 channels * 18-bit timebase timer Watchdog timer function * PLL clock multiplier function * CPU intermittent operation function * Various standby modes * LQFP-100/QFP-100 package * CMOS technology 2 MB90610A Series PRODUCT LINEUP Part No. Parameter MB90611A MB90613A Classification Mask ROM ROM size -- RAM size 1 Kbyte 3 Kbytes CPU functions Number of basic instructions: 340 Instruction bit length: 8/16 bits Instruction length: 1 to 7 bytes Data bit length: 1/4/8/16/32 bits Minimum instruction execution time:62.5 ns/4 MHz (PLL multiplier = 4) Interrupt processing time: 1000 ns/16 MHz (minimum) Ports I/O ports (CMOS/TTL): 33 (31 CMOS/2 TTL) (N-channel open drain): 8 (16-bit non-multiplex mode) Total: 41 FPT-100P-M05 FPT-100P-M06 Packages UART (SCI) Three internal UARTs Full-duplex, double-buffered Selectable clock synchronous or asynchronous operation Built-in dedicated baud rate generator A/D Converter 10-bit x 8 channels A/D conversion time:6.13 s (98 machine cycles/16 MHz machine clock, includes sample and hold time) Triggers: Software, external, or multi-function timer output (RT0) activation can be selected. Activation modes: Single, scan (continuous conversion of multiple channels), continuous (continuous conversion of one channel), and stop (scan mode with synchronized conversion start) PPG 2 x 8-bit PPG outputs (1 channel PPG output in 16-bit mode) 16-bit reload timer operation (selectable toggle output, one-shot output) 16-Bit Reload Tim(Selectable count clock: 0.125 s, 0.5 s, or 2.0 s for a 16 MHz machine cycle) er Selectable event count function, 2 internal channels Chip select 8 outputs 8 inputs External interrupts External interrupt mode (Interrupts can be generated from four different types of request signal) PLL Function Other Selectable multiplier:1/2/3/4 (Set a multiplier that does not exceed the assured operation frequency range.) -- 3 MB90610A Series PIN ASSIGNMENT 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 P21/A01 P20/A00 P17/D15/AD15 P16/D14/AD14 P15/D13/AD13 P14/D12/AD12 P13/D11/AD11 P12/D10/AD10 P11/D09/AD09 P10/D08/AD08 D07/AD07 D06/AD06 D05/AD05 D04/AD04 D03/AD03 D02/AD02 D01/AD01 D00/AD00 VCC X1 X0 VSS ALE RD P55/WRL (Top view) 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 RST P54/WRH P53/HRQ P52/HAK P51/RDY P50/CLK PA7/CS7 PA6/CS6 PA5/CS5 PA4/CS4 PA3/CS3 PA2/CS2 PA1/CS1 CS0 P95/SCK2 P94/SOT2 P93/SIN2 P92/SCK1 P91/SOT1 P90/SIN1 P86/SCK0 P85/SOT0 P84/SIN0 P83/TOT1 P82/TOT0 P71/INT1 P72/INT2 P73/INT3 P74/INT4/PPG0 P75/INT5/PPG1 P76/INT6/ATG AVCC AVRH AVRL AVSS P60/AN0 P61/AN1 P62/AN2 P63/AN3 VSS P64/AN4 P65/AN5 P66/AN6 P67/AN7 P80/INT7/TIN0 P81/TIN1 MD0 MD1 MD2 HST 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 P22/A02 P23/A03 P24/A04 P25/A05 P26/A06 P27/A07 P30/A08 P31/A09 VSS P32/A10 P33/A11 P34/A12 P35/A13 P36/A14 P37/A15 P40/A16 P41/A17 P42/A18 P43/A19 P44/A20 VCC P45/A21 P46/A22 P47/A23 P70/INT0 (FPT-100P-M05) (Continued) 4 MB90610A Series (Continued) 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 P17/D15/AD15 P16/D14/AD14 P15/D13/AD13 P14/D12/AD12 P13/D11/AD11 P12/D10/AD10 P11/D09/AD09 P10/D08/AD08 D07/AD07 D06/AD06 D05/AD05 D04/AD04 D03/AD03 D02/AD02 D01/AD01 D00/AD00 VCC X1 X0 VSS (Top view) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 ALE RD P55/WRL RST P54/WRH P53/HRQ P52/HAK P51/RDY P50/CLK PA7/CS7 PA6/CS6 PA5/CS5 PA4/CS4 PA3/CS3 PA2/CS2 PA1/CS1 CS0 P95/SCK2 P94/SOT2 P93/SIN2 P92/SCK1 P91/SOT1 P90/SIN1 P86/SCK0 P85/SOT0 P84/SIN0 P83/TOT1 P82/TOT0 HST MD2 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 P74/INT4/PPG0 P75/INT5/PPG1 P76/INT6/ATG AVCC AVRH AVRL AVSS P60/AN0 P61/AN1 P62/AN2 P63/AN3 VSS P64/AN4 P65/AN5 P66/AN6 P67/AN7 P80/INT7/TIN0 P81/TIN1 MD0 MD1 P20/A00 P21/A01 P22/A02 P23/A03 P24/A04 P25/A05 P26/A06 P27/A07 P30/A08 P31/A09 VSS P32/A10 P33/A11 P34/A12 P35/A13 P36/A14 P37/A15 P40/A16 P41/A17 P42/A18 P43/A19 P44/A20 VCC P45/A21 P46/A22 P47/A23 P70/INT0 P71/INT1 P72/INT2 P73/INT3 (FPT-100P-M06) 5 MB90610A Series PIN DESCRIPTION Pin no. LQFP*1 QFP*2 80 81 82 83 Pin name X0 X1 D00 to D07 83 to 90 85 to 92 AD00 to AD07 Circuit type A Crystal oscillator pins (Oscillator) K (TTL) 99 100 1 to 6 7 8 10 to 15 P08 to D15 K (TTL) 25 to 28 P20 to P27 General purpose I/O ports This applies in multiplexed mode. A00 to A07 P30 to P37 9 10 12 to 17 A08 to A15 18 to 22 24 to 26 B (CMOS) B (CMOS) B (CMOS) General purpose I/O ports This applies in multiplexed mode. In non-multiplexed mode, the output pins for the upper 8 bits of the external address bus. General purpose I/O ports This applies when the upper address control register specifies port operation. The output pins for A16 to 23 of the external address bus This applies when the upper address control register specifies address operation. P70 to P73 General purpose I/O ports This applies in all cases. INT0 to INT3 6 In non-multiplexed mode, the output pins for the lower 8 bits of the external address bus. A16 to A23 27 to 30 *2: FPT-100P-M06 In non-multiplexed mode, the I/O pins for the upper 8 bits of the external data bus This applies when using a 16-bit external data bus. In multiplexed mode, the I/O pins for the upper 8 bits of the external address/data bus. 1 to 8 *1: FPT-100P-M05 In multiplexed mode, the I/O pins for the lower 8 bits of the external address/data bus. AD08 to AD15 P40 to P47 16 to 20 22 to 24 In non-multiplex mode, the I/O pins for the lower 8 bits of the external data bus. General purpose I/O ports This applies in non-multiplexed mode with an 8-bit external data bus. P10 to P17 91 to 98 93 to 100 Function H External interrupt request input pins (CMOS/H) As the inputs operate continuously when external interrupts are enabled, output to the pins from other functions must be stopped unless done intentionally. (Continued) MB90610A Series Pin no. LQFP*1 QFP*2 Pin name Circuit type General purpose I/O ports This applies when the waveform outputs for PPG timers 0 to 1 are disabled. P74, P75 29 30 31 32 INT4, INT5 External interrupt request input pins H As the inputs operate continuously when external interrupts (CMOS/H) are enabled, output to the pins from other functions must be stopped unless done intentionally. Output pins for PPG timers 0 to 1 This applies when the waveform outputs for PPG timers 0 to 1 are enabled. PPG0, PPG1 P76 H General purpose I/O port (CMOS/H) This applies in all cases. External interrupt request input pin As the input operates continuously when the external interrupt is enabled, output to the pin from other functions must be stopped unless done intentionally. INT6 31 33 ATG Function H (CMOS/H) Trigger input pin for the A/D converter As the input operates continuously when the A/D converter inputs are operating, output to the pin from other functions must be stopped unless done intentionally. 32 34 AVCC Power supply Power supply for the analog circuits Do not switch this power supply on/off unless a voltage greater than AVCC is applied to VCC. 33 35 AVRH Power supply Analog circuit reference voltage input Do not switch the voltage to this pin on/off unless a voltage greater than AVRH is applied to AVCC. 34 36 AVRL Power supply Analog circuit reference voltage input 35 37 AVSS Power supply Ground level for the analog circuits P60 to P67 36 to 39 41 to 44 38 to 41 43 to 46 C (AD) AN0 to AN7 P80 INT7 45 47 TIN0 *1: FPT-100P-M05 Open-drain output ports This applies when port operation is specified in the analog input enable register. Analog input pins for the A/D converter This applies when analog input mode operation is specified in the analog input enable register. General purpose I/O port This applies in all cases. External interrupt request input pin As the input operates continuously when the external interrupt H is enabled, output to the pin from other functions must be (CMOS/H) stopped unless done intentionally. Event input pin for reload timer 0 As the input operates continuously when the reload timer is set to input operation, output to the pin from other functions must be stopped unless done intentionally. (Continued) *2: FPT-100P-M06 7 MB90610A Series Pin no. LQFP*1 QFP*2 Pin name P81 46 Function General purpose I/O port This applies in all cases. TIN1 D Event input pin for reload timer 1 (CMOS/H) As the input operates continuously when the reload timer is set to input operation, output to the pin from other functions must be stopped unless done intentionally. 48 47, 48 49, 50 MD0, MD1 E Input pins for specifying an operating mode (CMOS/H) Connect directly to VCC or VSS. 49 51 MD2 M Input pins for specifying an operating mode (CMOS/H) Connect directly to VCC or VSS. 50 52 HST F Hardware standby input pin (CMOS/H) P82, P83 51, 52 53, 54 TOT0, TOT1 P84 53 55 SIN0 P85 54 56 SOT0 P86 55 57 SCK0 P90 56 58 SIN1 *1: FPT-100P-M05 *2: FPT-100P-M06 8 Circuit type General purpose I/O ports This applies when output is disabled for reload timers 0 to 1. D (CMOS/H) Output pins for reload timers 0 to 1 This applies when output is enabled for reload timers 0 to 1. General purpose I/O port This applies in all cases. D Serial data input pin for UART0 (CMOS/H) As the input operates continuously when UART0 is set to input operation, output to the pin from other functions must be stopped unless done intentionally. General purpose I/O port This applies when serial data output is disabled for UART0. D (CMOS/H) Serial data output pin for UART0 This applies when serial data output is enabled for UART0. General purpose I/O port This applies when the UART0 clock output is disabled. Clock I/O pin for UART0 D (CMOS/H) This applies when the UART0 clock output is enabled. As the input operates continuously when UART0 is set to input operation, output to the pin from other functions must be stopped unless done intentionally. General purpose I/O port This applies in all cases. D Serial data input pin for UART1 (CMOS/H) As the input operates continuously when UART1 is set to input operation, output to the pin from other functions must be stopped unless done intentionally. (Continued) MB90610A Series Pin no. LQFP*1 QFP*2 Pin name P91 57 59 SOT1 Circuit type General purpose I/O port This applies when serial data output is disabled for UART1. D (CMOS/H) Serial data output pin for UART1 This applies when serial data output is enabled for UART1. General purpose I/O port This applies when the UART1 clock output is disabled. P92 58 60 SCK1 Clock I/O pin for UART1 D (CMOS/H) This applies when the UART1 clock output is enabled. As the input operates continuously when UART1 is set to input operation, output to the pin from other functions must be stopped unless done intentionally. General purpose I/O port This applies in all cases. P93 59 61 SIN2 P94 60 62 SOT2 D Serial data input pin for UART2 (CMOS/H) As the input operates continuously when UART2 is set to input operation, output to the pin from other functions must be stopped unless done intentionally. General purpose I/O port This applies when serial data output is disabled for UART2. D (CMOS/H) Serial data output pin for UART2 This applies when serial data output is enabled for UART2. General purpose I/O port This applies when the UART2 clock output is disabled. P95 61 63 SCK2 62 64 CS0 Clock I/O pin for UART2 D (CMOS/H) This applies when the UART2 clock output is enabled. As the input operates continuously when UART2 is set to input operation, output to the pin from other functions must be stopped unless done intentionally. J (CMOS) PA1 to PA7 63 to 69 I (CMOS) 65 to 71 CS1 to CS7 70 72 P50 CLK *1: FPT-100P-M05 Function I (CMOS) Chip select pin for program ROM General purpose I/O ports This applies for pins with chip select output disabled by the chip select control register. Output pins for the chip select function This applies for pins with chip select output enabled by the chip select control register. General purpose I/O port This applies when CLK output is enabled. CLK output pin (Continued) *2: FPT-100P-M06 9 MB90610A Series (Continued) Pin no. LQFP*1 QFP*2 Pin name P51 71 73 RDY P52 72 74 HAK P53 73 75 HRQ Circuit type L (TTL) I (CMOS) L (TTL) P54 74 I (CMOS) 76 WRH 75 77 RST P55 76 78 WRL General purpose I/O port This applies when the external ready function is disabled. Ready input pin This applies when the external ready function is enabled. General purpose I/O port This applies when the hold function is disabled. Hold acknowledge output pin This applies when the hold function is enabled. General purpose I/O port This applies when the hold function is disabled. Hold request input pin This applies when the hold function is enabled. General purpose I/O port This applies in 8-bit external bus mode or when output is disabled for the WR pin. Write strobe output pin for the upper 8 bits of the data bus This applies in 16-bit external bus mode and when output is enabled for the WR pin. G External reset request input pin (CMOS/H) I (CMOS) General purpose I/O port This applies when output is disabled for the WR pin. Write strobe output pin for the lower 8 bits of the data bus This applies when output is enabled for the WR pin. 77 79 RD J (CMOS) Read strobe output pin for the data bus 78 80 ALE J (CMOS) ALE (address latch enabling) output pin 21, 82 23, 84 VCC Power supply Power supply for the digital circuits 9, 40, 79 11, 42, 81 VSS Power supply Ground level for the digital circuits *1: FPT-100P-M05 *2: FPT-100P-M06 10 Function MB90610A Series I/O CIRCUIT TYPE Type Circuit Remarks X1 Clock input X0 * Max. 3 to 32 MHz * Oscillator feedback resistance:approximately 1 M A Standby control Digital output R * CMOS level I/O With standby control Digital output B Digital input Standby control R C Digital output * N-channel open drain output * CMOS level hysteresis input With AD control A/D input Digital input A/D Disable Digital output R * CMOS level output * CMOS level hysteresis input With standby control Digital output D Digital input Standby control Note: For pins with pull-up resistors, the resistance is disconnected when the pin outputs the "L" level or when in the standby state. (Continued) 11 MB90610A Series Type E Circuit Remarks * CMOS level input No standby control R Digital input * CMOS level hysteresis input No standby control F R Digital input * CMOS level hysteresis input No standby control * With pull-up G R Digital input Digital output H R * CMOS level output * CMOS level hysteresis input No standby control Digital output Digital input Standby control Digital output I R * CMOS level I/O * Pull-up resistor approximately 50 k * Pin goes to high impedance during stop mode. Digital output Digital input Standby control Note: For pins with pull-up resistors, the resistance is disconnected when the pin outputs the "L" level or when in the standby state. (Continued) 12 MB90610A Series (Continued) Type Circuit Remarks Standby control Digital output J * CMOS level output * Pull-up resistor approximately 50 k * Pin goes to high impedance during stop mode. Digital output Digital output * CMOS level output * TTL level input With standby control Digital output R K Digital input Standby control Standby control Digital output L * * * * CMOS level output TTL level input Pull-up resistor approximately 50 k Pin goes to high impedance during stop mode. Digital output R Digital input Standby control * CMOS level input No standby control M R Digital input Note: For pins with pull-up resistors, the resistance is disconnected when the pin outputs the "L" level or when in the standby state. 13 MB90610A Series HANDLING DEVICES 1. Preventing Latchup Latchup occurs in a CMOS IC if a voltage greater than VCC or less than VSS is applied to an input or output pin or if the voltage applied between VCC and VSS exceeds the rating. If latchup occurs, the power supply current increases rapidly resulting in thermal damage to circuit elements. Therefore, ensure that maximum ratings are not exceeded in circuit operation. For the same reason, also ensure that the analog supply voltage does not exceed the digital supply voltage. 2. Treatment of Unused Pins Leaving unused input pins unconnected can cause misoperation. Always pull-up or pull-down unused pins. 3. External Reset Input To reliably reset the controller by inputting an "L" level to the RST pin, ensure that the "L" level is applied for at least five machine cycles. Take particular note when using an external clock input. 4. VCC and VSS Pins Ensure that all VCC pins are at the same voltage. The same applies for the VSS pins. 5. Cautions When Using an External Clock Drive the X0 pin only when using an external clock. * Using an External Clock MB90610A Series X0 OPEN X1 6. A/D Converter Power Supply and the Turn-on Sequence for Analog Inputs Always cut the A/D converter power supply (AVCC, AVRH, AVRL) and analog inputs (AN0 to AN7) before disconnecting the digital power supply (VCC). When turning the power on or off, ensure that AVRH does not exceed AVCC. Also, when using the analog input pins as input ports, ensure that the input voltage does not exceed AVCC. 14 MB90610A Series BLOCK DIAGRAM X0, 1 RST HST MD0 to MD2 7 CPU F2MC-16L family core Clock control circuit Interrupt controller RAM 8/16-bit PPG (output switching) x 1channel Communication prescaler PPG0 PPG1 3 AVcc AVRH, AVRL AVss ATG AN0 to AN7 A00 to A23 D00 to D15 ALE RD WRL, WRH HRQ HAK RDY CLK 3 3 UART F2MC-16 bus SIN0 to SIN2 SOT0 to SOT2 SCK0 to SCK2 2 A/D converter (8/10-bit) 8 8 24 IRT0 to IRT7 External interrupts 16 2 2 Reload timer External bus Interface 2 TIT0, TIT1 TOT0, TOT1 8 Chip select outputs CS0 to CS7 I/O ports 8 8 8 8 6 8 7 7 6 7 P10 to P17 P20 to P27 P30 to P37 P40 to P47 P50 to P55 P60 to P67 P70 to P76 P80 to P86 P90 to P95 PA1 to PA7 15 MB90610A Series F2MC-16L CPU PROGRAMMING MODEL * Dedicated Registers AH AL Accumulator USP User stack pointer SSP System stack pointer PS Processor status PC Program counter DPR Direct page register PCB Program bank register DTB Data bank register USB User stack bank register SSB System stack bank register ADB Additional data bank register 8 bits 16 bits 32 bits * General-purpose Registers 32 banks (max.) R7 R6 RW7 R5 R4 RW6 R3 R2 RW5 R1 R0 RW4 RL3 RL2 RW3 RL1 RW2 RW1 RL0 RW0 000180H + RP x 10H 16 bits * Processor States (PS) ILM RP I S T N CCR 16 Z V C MB90610A Series MEMORY MAP External ROM/External bus FFFFFFH 002000H Address 3# 000380H RAM Registers 000180H 000100H 0000C0H Peripherals 000000H : Internal Type : External : No access Address #3 MB90611A 000500H MB90613A 000D00H 17 MB90610A Series I/O MAP Address Register 000000H Free 000001H Port 1 data register 000002H Port 2 data register Name Access Resource name Initial value -- *3 -- -- PDR1 PDR2 R/W* Port 1*8 XXXXXXXX R/W* *7 XXXXXXXX *7 Port 2 000003H Port 3 data register PDR3 R/W* Port 3 XXXXXXXX 000004H Port 4 data register PDR4 R/W Port 4 XXXXXXXX 000005H Port 5 data register PDR5 R/W Port 5 --XXXXXX 000006H Port 6 data register PDR6 R/W Port 6 11111111 000007H Port 7 data register PDR7 R/W Port 7 -XXXXXXX 000008H Port 8 data register PDR8 R/W Port 8 -XXXXXXX 000009H Port 9 data register PDR9 R/W Port 9 --XXXXXX 00000AH Port A data register PDRA R/W Port A XXXXXXX- 00000BH to 10H Vacancy 000011H Port 1 direction register DDR1 R/W* Port 1*8 00000000 000012H Port 2 direction register DDR2 R/W* Port 2*7 00000000 *7 -- *3 -- -- 000013H Port 3 direction register DDR3 R/W* Port 3 00000000 000014H Port 4 direction register DDR4 R/W Port 4 00000000 000015H Port 5 direction register DDR5 R/W Port 5 --000000 000016H Analog input enable register ADER R/W Port 6 11111111 000017H Port 7 direction register DDR7 R/W Port 7 -0000000 000018H Port 8 direction register DDR8 R/W Port 8 -0000000 000019H Port 9 direction register DDR9 R/W Port 9 --000000 00001AH Port A direction register DDRA R/W Port A 0000000- 00001BH to 1FH Vacancy 000020H Serial mode register 0 SMR0 R/W! 00000000 000021H Serial control register 0 SCR0 R/W! 00000100 000022H Serial input data register 0/ Serial output data register 0 SIDR0/ SODR0 R/W 000023H Serial status register 0 SSR0 R/W! 00001-00 000024H Serial mode register 1 SMR1 R/W! 00000000 000025H Serial control register 1 SCR1 R/W! 00000100 000026H Serial input data register 1/ Serial output data register 1 SIDR1/ SODR1 R/W 000027H Serial status register 1 SSR1 R/W! -- *3 -- UART0 (SCI) UART1 (SCI) -- XXXXXXXX XXXXXXXX 00001-00 (Continued) 18 MB90610A Series Address Register Name Access 000028H Interrupt/DTP enable register ENIR R/W 000029H Interrupt/DTP request register EIRR R/W Interrupt level setting register ELVR R/W AD control status register ADCS R/W! 00002AH 00002BH 00002CH 00002DH 00002EH Resource name Initial value 00000000 DTP/external interrupt 00000000 00000000 00000000 00000000 A/D converter 00000000 XXXXXXXX AD data register ADCR R/W! *4 000030H PPG0 operation mode control register PPGC0 R/W PPG0 000000-1 000031H PPG1 operation mode control register PPGC1 R/W PPG1 000000-1 000032H, 33H Vacancy 00002FH 000034H 000035H 000036H 000037H 000038H 000039H 00003AH 00003BH 00003CH 00003DH 00003EH 00003FH -- 000000XX *3 -- PPG0 reload register PRL0 R/W PPG0 PPG1 reload register PRL1 R/W PPG1 Control status register TMCSR0 R/W! TMR0/ TMRLR0 R/W Control status register TMCSR1 R/W! 16-bit timer register/ 16-bit reload register XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX 00000000 16-bit reload timer 0 16-bit timer register/ 16-bit reload register R/W -- *3 ----0000 XXXXXXXX XXXXXXXX 00000000 16-bit reload timer 1 TMR1/ TMRLR1 -- ----0000 XXXXXXXX XXXXXXXX 000040H to 43H Vacancy 000044H Serial mode register 2 SMR2 R/W! 00000000 000045H Serial control register 2 SCR2 R/W! 00000100 000046H Serial input data register 2/ Serial output data register 2 SIDR2/ SODR2 R/W 000047H Serial status register 2 SSR2 R/W! 00001-00 000048H CS control register 0 CSCR0 R/W ----0000 000049H CS control register 1 CSCR1 R/W 00004AH CS control register 2 CSCR2 R/W 00004BH CS control register 3 CSCR3 R/W -- UART2 (SCI) Chip select function -- XXXXXXXX ----0000 ----0000 ----0000 (Continued) 19 MB90610A Series Address Register Name Access*2 Resource name Initial value 00004CH CS control register 4 CSCR4 R/W 00004DH CS control register 5 CSCR5 R/W 00004EH CS control register 6 CSCR6 R/W 00004FH CS control register 7 CSCR7 R/W 000050H Vacancy 000051H UART0 (SCI) machine clock division CDCR0 control register W 000052H Vacancy *3 000053H UART1 (SCI) machine clock division CDCR1 control register W 000054H Vacancy *3 000055H UART2 (SCI) machine clock division CDCR2 control register W 000056H to 8FH Vacancy -- *3 -- -- 000090H to 9EH Reserved system area -- *1 -- -- 00009FH Delayed interrupt generate/ release register DIRR R/W Delayed interrupt generation module -------0 0000A0H Low power consumption mode control register LPMCR R/W! Low power consumption 00011000 0000A1H Clock selection register CKSCR R/W! Low power consumption 11111100 0000A2H to A4H Vacancy -- *3 0000A5H Auto-ready function selection register ARSR W External pins 0011--00 0000A6H External address output control regisHACR ter W External pins 00000000 0000A7H Bus control signal selection register ECSR W 0000A8H Watchdog timer control register WDTC R/W! Watchdog timer XXXXX111 0000A9H Timebase timer control register TBTC R/W! Timebase timer 1--00100 0000AAH to AFH Vacancy 0000B0H Interrupt control register 00 ICR00 R/W! 00000111 0000B1H Interrupt control register 01 ICR01 R/W! 00000111 0000B2H Interrupt control register 02 ICR02 R/W! 0000B3H Interrupt control register 03 ICR03 R/W! 0000B4H Interrupt control register 04 ICR04 R/W! 00000111 0000B5H Interrupt control register 05 ICR05 R/W! 00000111 -- -- -- -- *3 *3 ----0000 Chip select function ----0000 ----0000 ----0000 -- UART0 (SCI) -- UART1 (SCI) -- UART2 (SCI) -- External pins -- Interrupt controller -- ----1111 -- ----1111 -- ----1111 -- -000*000 -- 00000111 00000111 (Continued) 20 MB90610A Series (Continued) Address Register Name Access Resource name Initial value 0000B6H Interrupt control register 06 ICR06 R/W! 00000111 0000B7H Interrupt control register 07 ICR07 R/W! 00000111 0000B8H Interrupt control register 08 ICR08 R/W! 00000111 0000B9H Interrupt control register 09 ICR09 R/W! 00000111 0000BAH Interrupt control register 10 ICR10 R/W! 0000BBH Interrupt control register 11 ICR11 R/W! 0000BCH Interrupt control register 12 ICR12 R/W! 00000111 0000BDH Interrupt control register 13 ICR13 R/W! 00000111 0000BEH Interrupt control register 14 ICR14 R/W! 00000111 0000BFH Interrupt control register 15 ICR15 R/W! 00000111 0000C0H to FFH External area *2 -- -- Interrupt controller -- 00000111 00000111 -- Initial values 0 :The initial value for this bit is "0". 1 :The initial value for this bit is "1". * :The initial value for this bit is "1" or "0". (Determined by the level of the MD0 to MD2 pins.) X :The initial value for this bit is undefined. - :This bit is not used. The initial value is undefined. *1: Access prohibited. *2: This is the only external access area in the area below address 0000FFH. Access this address as an external I/O area. *3: Areas marked as "free" in the I/O map are reserved areas. These areas are accessed by internal access. No access signals are output on the external bus. *4: Only bit 15 can be written. The other bits are written to by the test function. Reading bits 10 to 15 returns zeros. *5: The R/W! symbol in the Read/Write column indicates that some bits are read-only or write-only. See the resource's register list for details. *6: Using a read-modify-write instruction (such as the bit set instruction) to access one of the registers indicated by R/W!, R/W*, or W in the Read/Write column sets the specified bit to the desired value. However, this can cause misoperation if the other register bits include write-only bits. Therefore, do not use read-modify-write instructions to access these registers. *7: This register is only available when the address/data bus is in multiplex mode. Access to the register is prohibited in non-multiplex mode. *8: This register is only available when the external data bus is in 8-bit mode. Access to the register is prohibited in 16-bit mode. Note: The initial values listed for write-only bits are the initial values set by a reset. They are not the values returned by a read. Also, LPMCR/CKSCR/WDTC are sometimes initialized and sometimes not initialized, depending on the reset type. The listed initial values are for when these registers are initialized. 21 MB90610A Series INTERRUPT SOURCE, INTERRUPT VECTORS, AND INTERRUPT CONTROL REGISTER Interrupt vector I2OS Interrupt source support Number Interrupt control register Address ICR Address Reset x #08 08H FFFFDCH -- -- INT 9 instruction x #09 09H FFFFD8H -- -- Exception x #10 0AH FFFFD4H -- -- External interrupt #0 #11 0BH FFFFD0H ICR00 0000B0H External interrupt #1 #13 0DH FFFFC8H ICR01 0000B1H External interrupt #2 #15 0FH FFFFC0H ICR02 0000B2H External interrupt #3 #17 11H FFFFB8H ICR03 0000B3H External interrupt #4 #19 13H FFFFB0H ICR04 0000B4H External interrupt #5 #21 15H FFFFA8H ICR05 0000B5H External interrupt #6 #23 17H FFFFA0H UART0 * transmit complete #24 18H FFFF9CH ICR06 0000B6H External interrupt #7 #25 19H FFFF98H UART1 * transmit complete #26 1AH FFFF94H ICR07 0000B7H ICR08 0000B8H ICR09 0000B9H ICR10 0000BAH ICR11 0000BBH PPG #0 x #27 1BH FFFF90H PPG #1 x #28 1CH FFFF8CH 16-bit reload timer #0 #29 1DH FFFF88H 16-bit reload timer #1 #30 1EH FFFF84H A/DC measurement complete #31 1FH FFFF80H UART2 * transmit complete #33 21H FFFF78H #34 22H FFFF74H UART2 * receive complete #35 23H FFFF70H ICR12 0000BCH UART1 * receive complete #37 25H FFFF68H ICR13 0000BDH UART0 * receive complete #39 27H FFFF60H ICR14 0000BEH #42 2AH FFFF54H ICR15 0000BFH Timebase timer interval interrupt Delayed interrupt generation module x x :indicates that the interrupt request flag is cleared by the I2OS interrupt clear signal (no stop request). :indicates that the interrupt request flag is cleared by the I2OS interrupt clear signal (with stop request). x :indicates that the interrupt request flag is not cleared by the I2OS interrupt clear signal. Note: Do not specify I2OS activation in interrupt control registers that do not support I2OS. 22 MB90610A Series PERIPHERAL RESOURCES 1. Parallel Port The MB90610A series has 58 I/O pins, 18 output pins, and 8 open drain output pins. Ports 1 to 5 and ports 7 to A are I/O ports. The ports are inputs when the corresponding direction register bit is "0" and outputs when the corresponding bit is "1". Port 1 is only available when the external data bus is in 8-bit mode. Access is prohibited in 16-bit mode. Ports 2 and 3 are only available when the address/data bus is in multiplex mode. Access is prohibited in nonmultiplex mode. Port 6 is an open drain port. Port 6 pins can only be used as ports when the analog input enable register is "0". (1) Register Configuration Port data register bit 15 14 13 12 11 10 9 8 Address : PDR1 000001H : PDR3 000003H : PDR5 000005H PDx7 PDx6 PDx5 PDx4 PDx3 PDx2 PDx1 PDx0 : PDR7 000007H : PDR9 000009H (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) Read/write (X) (X) (X) (X) (X) (X) (X) (X) Initial value PDRx Port data register 7 6 5 4 3 2 1 0 bit Address : PDR2 000002H : PDR4 000004H : PDR6 000006H PDx7 PDx6 PDx5 PDx4 PDx3 PDx2 PDx1 PDx0 : PDR8 000008H : PDRA 00000AH (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) Read/write (X) (X) (X) (X) (X) (X) (X) (X) Initial value PDRx Notes: No register bits are provided for bit 6 to 7 of port 5. No register bit is provided for bit 7 of port 7. No register bit is provided for bit 7 of port 8. No register bits are provided for bits 6 to 7 of port 9. No register bit is provided for bit 0 of port A. 23 MB90610A Series Port direction register bit Address : DDR1 000011H : DDR3 000013H : DDR5 000015H : DDR7 000017H : DDR9 000019H Read/write Initial value Port direction register bit Address : DDR2 000012H : DDR4 000014H : DDR8 000018H : DDRA 00001AH Read/write Initial value 15 14 13 12 11 10 9 8 DDx7 DDx6 DDx5 DDx4 DDx3 DDx2 DDx1 DDx0 DDRx (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (0) (0) (0) (0) (0) (0) (0) (0) 7 6 5 4 3 2 1 0 DDx7 DDx6 DDx5 DDx4 DDx3 DDx2 DDx1 DDx0 DDRx (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (0) (0) (0) (0) (0) (0) (0) (0) Note: No register bits are provided for bit 6 to 7 of port 5. No register bit is provided for bit 7 of port 7. No register bit is provided for bit 7 of port 8. No register bits are provided for bits 6 to 7 of port 9. No register bit is provided for bit 0 of port A. Port 6 does not have a DDR. Analog input enable register ADER 000016H Read/write Initial value 24 bit 15 14 13 12 11 10 9 8 ADE7 ADE6 ADE5 ADE4 ADE3 ADE2 ADE1 ADE0 (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (1) (1) (1) (1) (1) (1) (1) (1) ADER MB90610A Series (2) Register Details * Port Data Registers Port data register bit 15 14 13 12 11 10 9 8 Address : PDR1 000001H : PDR3 000003H : PDR5 000005H PDx7 PDx6 PDx5 PDx4 PDx3 PDx2 PDx1 PDx0 : PDR7 000007H : PDR9 000009H (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) Read/write (X) (X) (X) (X) (X) (X) (X) (X) Initial value Port data register Address : PDR2 000002H : PDR4 000004H : PDR6 000006H : PDR8 000008H : PDRA 00000AH Read/write Initial value bit 7 6 5 4 3 2 1 PDRx 0 PDx7 PDx6 PDx5 PDx4 PDx3 PDx2 PDx1 PDx0 PDRx (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (X) (X) (X) (X) (X) (X) (X) (X) Note: No register bits are provided for bit 6 to 7 of port 5. No register bit is provided for bit 7 of port 7. No register bit is provided for bit 7 of port 8. No register bits are provided for bits 6 to 7 of port 9. No register bit is provided for bit 0 of port A. Port 1 is only available when the external data bus is in 8-bit mode. Access is prohibited in 16-bit mode. Ports 2, 3 are only available in multiplex mode. Access is prohibited in non-multiplex mode. 25 MB90610A Series * Port Direction Registers Port direction register bit Address : DDR1 000011H : DDR3 000013H : DDR5 000015H : DDR7 000017H : DDR9 000019H Read/write Initial value Port direction register bit Address : DDR2 000012H : DDR4 000014H : DDR8 000018H : DDRA 00001AH Read/write Initial value 15 14 13 12 11 10 9 8 DDx7 DDx6 DDx5 DDx4 DDx3 DDx2 DDx1 DDx0 DDRx (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (0) (0) (0) (0) (0) (0) (0) (0) 7 6 5 4 3 2 1 0 DDx7 DDx6 DDx5 DDx4 DDx3 DDx2 DDx1 DDx0 DDRx (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (0) (0) (0) (0) (0) (0) (0) (0) When pins are used as ports, the register bits control the corresponding pins as follows. 0: Input mode 1: Output mode Bits are set to "0" by a reset. Note: No register bits are provided for bit 6 to 7 of port 5. No register bit is provided for bit 7 of port 7. No register bit is provided for bit 7 of port 8. No register bit is provided for bit 0 of port A. No register bits are provided for bits 6 to 7 of port 9. Port 6 does not have a DDR. Port 1 is only available when the external data bus is in 8-bit mode. Access is prohibited in 16-bit mode. Ports 2 and 3 are only available in multiplex mode. Access is prohibited in non-multiplex mode. * Analog Input Enable Register bit Analog input enable register ADER 000016H Read/write Initial value 15 14 13 12 11 10 9 8 ADE7 ADE6 ADE5 ADE4 ADE3 ADE2 ADE1 ADE0 ADER (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (1) (1) (1) (1) (1) (1) (1) (1) Controls each pin of port 6 as follows. 0: Port input mode 1: Analog input mode Bits are set to "1" by a reset. Note: Inputting an intermediate level signal in port input mode causes an input leak current to flow. Therefore, set to analog input mode when applying an analog input. 26 MB90610A Series (3) Block Diagrams * I/O Port Internal data bus Data register read Data register Pin Data register write Direction register Direction register write Direction register read * Open Drain Port (Also used as Analog Inputs) Internal data bus RMW (Read-modify-write instruction) Pin Data register read Data register Data register write ADER ADER register write ADER register read 27 MB90610A Series (4) Port Pin Allocation Ports 1, 2, 3, 4, and 5 on the MB90610A series share pins with the external bus. The pin functions are determined by the bus mode and register settings. Function Pin Non-multiplex mode Multiplex mode External address control External address control Enable (address) Disable (port) Enable (address) Disable (port) External bus width External bus width External bus width External bus width 8-bit 16-bit D07 to D00 AD07 to AD00 P17 to P10/ D15 to D08/ AD15 to AD08 8-bit 16-bit 8-bit D07 to D00 Port D15 to D08 16-bit 8-bit AD07 to AD00 Port D15 to D08 A15 to A08 P27 to P20/ A07 to A00 A07 to A00 A07 to A00 P37 to P30/ A15 to A08 A15 to A08 A15 to A08 P47 to P40/ A23 to A16 A23 to A16 Port AD15 to AD08 A15 to A08 AD15 to AD08 Port A23 to A16 Port P57/ALE ALE ALE RD RD RD P55/WRL WRL WRL P54/WRH 16-bit Port WRH Port WRH Port WRH Port P53/HRQ HRQ HRQ P52/HAK HAK HAK P51/RDY RDY RDY P50/CLK CLK CLK WRH Note: The upper address, WRL, WRH, HAK, HRQ, RDY, and CLK can be set for use as ports by function selection. 28 MB90610A Series 2. UART 0/1/2 (SCI) UART 0/1/2 are serial I/O ports that can be used for CLK asynchronous (start-stop synchronization) or CLK synchronous (I/O expansion serial) data transfer. The ports have the following features. * Full duplex, double buffered * Supports CLK asynchronous (start-stop synchronization) and CLK synchronous (I/O expansion serial) data transfer * Multi-processor mode support * Built-in dedicated baud rate generator CLK asynchronous: 62500/31250/19230/9615/4808/2404/1202 bps CLK synchronous: 2 M/1 M/500 K/250 K bps * Supports flexible baud rate setting using an external clock * Error detect function (parity, framing, and overrun) * NRZ type transmission signal * Intelligent I/O service support (1) Register Configuration Serial mode register Address : channel 0 000020H : channel 1 000024H : channel 2 000044H bit MD1 Read/write Initial value Serial control register Address : channel 0 000021H : channel 1 000025H : channel 2 000045H Read/write Initial value 4 3 2 1 0 CS1 CS0 - SCKE SOE (R/W) (R/W) (0) (0) (W) (0) (W) (0) (W) (0) (-) (-) (R/W) (R/W) (0) (0) 15 14 P 13 SBL 12 CL 11 A/D 10 REC 9 RXE SMR 8 TXE SCR (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (0) (0) (0) (0) (0) (1) (0) (0) bit 7 D7 6 D6 5 D5 4 D4 3 D3 2 D2 1 D1 0 D0 SIDR (read) SODR (write) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (X) (X) (X) (X) (X) (X) (X) (X) bit Read/write Initial value Machine clock division control register Address : channel 0 000051H : channel 1 000053H : channel 2 000055H 5 CS2 PEN Read/write Initial value Serial status register Address : channel 0 000023H : channel 1 000027H : channel 2 000047H 6 MD0 bit Read/write Initial value Input data register/ Output data register Address : channel 0 000022H : channel 1 000026H : channel 2 000046H 7 15 14 PE ORE (R) (0) (R) (0) bit 15 13 12 11 FRE RDRF TDRE (R) (0) 14 (R) (0) 13 (R) (1) 12 - - - - (-) (-) (-) (-) (-) (-) (-) (-) 10 - RIE (-) (-) 11 9 8 TIE SSR (R/W) (R/W) (0) (0) 10 9 8 DIV3 DIV1 DIV1 DIV0 (W) (1) (W) (1) (W) (1) CDCR (W) (1) 29 MB90610A Series (2) Block Diagram Control signals Receive interrupt (to CPU) Dedicated baud rate generator SCK 16-bit timer 0 (Internal connection) Transmit interrupt (to CPU) Transmit clock Clock select circuit Receive clock External clock SIN Receive control circuit Transmit control circuit Start bit detect circuit Transmit start circuit Receive bit counter Transmit bit counter Receive parity counter Transmit parity counter SOT Receive status evaluation circuit Receive error indication signal for EI2OS (to CPU) Receive shifter Transmit shifter Receive complete Transmit start SODR SIDR F2MC-16 bus SMR register MD1 MD0 CS2 CS1 CS0 SCKE SOE SCR register PEN P SBL CL A/D REC RXE TXE SSR register PE ORE FRE RDRF TDRE RIE TIE Control signals 30 MB90610A Series 3. 10-bit 8-input A/D Converter (With 8-bit Resolution Mode) The 10-bit 8-input A/D converter converts analog input voltages to digital values. The A/D converter has the following features. * Conversion time: Minimum of 6.13 s per channel (98 machine cycles/16 MHz machine clock. This includes the sample and hold time) * Sample and hold time: Minimum of 3.75 s per channel (60 machine cycles/16 MHz machine clock) * Uses RC-type successive approximation conversion with a sample and hold circuit. * 10-bit or 8-bit resolution * Eight program-selectable analog input channels Single conversion mode : Selectively convert a one channel. Scan conversion mode : Continuously convert multiple channels. Maximum of 8 program-selectable channels. Continuous conversion mode : Repeatedly convert specified channels. Stop conversion mode : Convert one channel then halt until the next activation. (Enables synchronization of the conversion start timing.) * An A/D conversion completion interrupt request to the CPU can be generated on the completion of A/D conversion. This interrupt can activate I2OS to transfer the result of A/D conversion to memory and is suitable for continuous operation. * Activation by software, external trigger (falling edge), or timer (rising edge) can be selected. (1) Register Configuration bit 15 14 A/D control status register (upper) BUSY INT Address : 00002DH bit A/D control status register (lower) Address : 00002CH bit Read/write Initial value Read/write Initial value 11 10 7 MD1 6 9 INTE PAUS STS1 STS0 STRT 5 4 3 2 8 Reserved (W) (0) (-) (0) 1 0 MD0 ANS2 ANS1 ANS0 ANE2 ANE1 ANE0 ADCS1 ADCS0 (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (0) (0) (0) (0) (0) (0) (0) (0) Read/write Initial value A/D data register (lower) Address : 00002FH 12 (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (0) (0) (0) (0) (0) (0) Read/write Initial value A/D data register (upper) Address : 00002EH 13 bit 15 14 13 12 11 10 9 8 S10 - - - - - D9 D8 (R/W) (0) (R) (0) (R) (0) (R) (0) (R) (0) (R) (0) (R) (X) (R) (X) 7 6 5 4 3 2 1 0 D7 D6 D5 D4 D3 D2 D1 D0 (R) (X) (R) (X) (R) (X) (R) (X) (R) (X) (R) (X) (R) (X) (R) (X) ADCR1 ADCR0 31 MB90610A Series (2) Block Diagram AVCC AVRH AVRL AVSS D/A converter MPX Successive approximation register Input circuit AN0 AN1 AN2 AN3 AN4 AN5 AN6 AN7 Comparator Decoder Data bus Sample and hold circuit Data register ADCR A/D control register 1 A/D control register 2 ADCS ATG Trigger activation Timer (Reload timer 1 output) 32 Timer activation Operating clock Prescaler MB90610A Series 4. 8/16-bit PPG This block contains the 8-bit reload timer module. The block performs PPG output in which the pulse output is controlled by the operation of the timer. The hardware consists of two 8-bit down-counters, four 8-bit reload registers, one 16-bit control register, two external pulse output pins, and two interrupt outputs. The PPG has the following functions. * 8-bit PPG output in 2-channel independent operation mode:Two independent PPG output channels are available. * 16-bit PPG output operation mode: One 16-bit PPG output channel is available. * 8+8-bit PPG output operation mode: Variable-period 8-bit PPG output operation is available by using the output of channel 0 as the clock input to channel 1. * PPG output operation:Outputs pulse waveforms with variable period and duty ratio. Can be used as a D/A converter in conjunction with an external circuit. (1) Register Configuration bit PPG0 operation mode control register Address : channel 0 000030H 7 6 PEN0 -- 5 4 3 2 1 0 POE0 PIE0 PUF0 PCM1 PCM0 Reserved (R/W) (--) (R/W) (R/W) (R/W) (R/W) (R/W) (--) (0) (0) (0) (0) (0) (0) (0) (1) Read/write Initial value bit PPG1 operation mode control register Address : channel 1 000031H 15 14 13 12 11 10 PEN1 PCS1 POE1 PIE1 PUF1 MD1 9 8 MD0 Reserved PPGC1 (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (--) (0) (0) (0) (0) (0) (0) (0) (1) Read/write Initial value bit 15 14 13 12 11 10 9 8 Reload register H Address : channel 0 000035H : channel 1 000037H PRLH0, 1 (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (X) (X) (X) (X) (X) (X) (X) (X) Read/write Initial value bit 7 6 5 4 3 2 1 0 Reload register L Address : channel 0 000034H : channel 1 000036H Read/write Initial value PPGC0 PRLL0, 1 (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (X) (X) (X) (X) (X) (X) (X) (X) 33 MB90610A Series (2) Block Diagram * 8/16-bit PPG (channel 0) Output enable PPG0 Peripheral clock divided by 16 Peripheral clock divided by 4 Peripheral clock PPG0 output latch Invert Clear PEN0 Count clock selection Timebase counter output Main clock divided by 512 S R Q PCNT (down-counter) IRQ Reload ch.1 borrow L/H select L/H selector PRLL0 PRLBH0 PIE 0 PRLH0 PUF0 L-side data bus H-side data bus PPGC0 (Operation mode control) 34 MB90610A Series * 8/16-bit PPG (channel 1) Output enable PPG1 Peripheral clock PPG1 output latch Invert Count clock selection Clear PEN1 channel 0 borrow Timebase counter output Main clock divided by 512 S R Q PCNT (down-counter) IRQ Reload L/H select L/H selector PRLL1 PRLBH1 PIE1 PRLH1 PUF1 L-side data bus H-side data bus PPGC1 (Operation mode control) 35 MB90610A Series 5. 16-bit Reload Timer (with Event Count Function) The 16-bit reload timers consists of a 16-bit down-counter, a 16-bit reload register, one input (TIN) and one output (TOT) pin, and a control register. The input clock can be selected from one external clock and three types of internal clock. The output pin (TOT) outputs a toggle waveform in reload mode and a rectangular waveform during counting in one-shot mode. The input pin (TIN) functions as the event input in event count mode and as the trigger input or gate input in internal clock mode. This product has two internal 16-bit reload timer channels. (1) Register Configuration Timer control status register (upper) Address : channel 0 000039H : channel 1 00003DH Read/write Initial value bit Timer control status register (lower) Address : channel 0 000038H : channel 1 00003CH bit Read/write Initial value 36 14 13 -- -- -- (--) (--) (--) (--) (--) (--) 7 6 12 -- 11 10 9 8 CSL1 CSL2 MOD2 MOD1 (--) (R/W) (R/W) (R/W) (R/W) (--) (0) (0) (0) (0) 5 4 3 MOD0 OUTE OUTL RELD INTE 2 UF 1 0 CNTE TRG TMCSR (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (0) (0) (0) (0) (0) (0) (0) (0) 16-bit timer register (upper)/ 16-bit reload register (upper) Address : channel 0 00003BH : channel 1 00003FH Read/write Initial value bit 16-bit timer register (lower)/ 16-bit reload register (lower) Address : channel 0 00003AH : channel 1 00003EH bit Read/write Initial value 15 15 14 13 12 11 10 9 8 (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (X) (X) (X) (X) (X) (X) (X) (X) 7 6 5 4 3 2 1 0 (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (X) (X) (X) (X) (X) (X) (X) (X) TMR/ TMRLR MB90610A Series (2) Block Diagram 16 16-bit reload register 8 Reload RELD 16-bit down-counter OUTE UF 16 OUTL F2MC-16 bus 2 OUT CTL GATE INTE UF IRQ CSL1 Clock selector CNTE CSL0 TRG Clear I2OSCLR Re-trigger 2 IN CTL Port (TIN) EXCK -- -- -- 21 23 25 Output enable 3 Prescaler Clear Port (TOUT) MOD2 MOD1 Peripheral clock Serial baud rate A/DC MOD0 3 37 MB90610A Series 6. Chip Select Function This module generates chip select signals to simplify connection of memory or I/O devices. The module has 8 chip select output pins. The hardware outputs the chip select signals from the pins when it detects access of an address in the areas specified in the pin registers. (1) Register Configuration Address : : : : 000049H 00004BH 00004DH 00004FH bit Address : : : : 000048H 00004AH 00004CH 00004EH bit 15 14 13 12 -- -- -- -- 7 6 5 4 -- -- -- -- 11 10 9 8 ACTL OPEL CSA1 CSA0 3 2 1 Chip select control register (odd numbers: CSCR1/3/5/7) 0 ACTL OPEL CSA1 CSA0 Chip select control register (even numbers: CSCR0/2/4/6) (2) Block Diagram Address (from CPU) A23 A16 A15 A08 A07 Address decoder A00 Address decoder Decode signal Program area Decode CS0 (For the program ROM area) 38 Chip select control register 0 Selection setting Selector Chip select control register 1 Selection setting Selector CS1 Chip select control register 6 Selection setting Selector CS6 Chip select control register 7 Selection setting Selector CS7 MB90610A Series 7. DTP/External Interrupts The DTP (Data Transfer Peripheral) is a peripheral block that interfaces external peripherals to the F2MC-16L CPU. The DTP receives DMA and interrupt processing requests from external peripherals and passes the requests to the F2MC-16L CPU to activate the extended intelligent I/O service or interrupt processing. Two request levels ("H" and "L") are provided for extended intelligent I/O service. For external interrupt requests, generation of interrupts on a rising or falling edge as well as on "H", "L" levels can be selected, giving a total of four types. (1) Register Configuration bit Interrupt/DTP enable register Address : 000028H 7 6 5 4 3 2 1 0 EN7 EN6 EN5 EN4 EN3 EN2 EN1 EN0 (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (0) (0) (0) (0) (0) (0) (0) (0) Read/write Initial value bit 15 Interrupt/DTP register Address : 000029H ER7 14 13 12 11 10 9 8 ER6 ER5 ER4 ER3 ER2 ER1 ER0 EIRR (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (0) (0) (0) (0) (0) (0) (0) (0) Read/write Initial value bit 15 14 13 12 11 10 9 8 LB7 LA7 LB6 LA6 LB5 LA5 LB4 LA4 Request level setting register (upper) Address : 00002BH (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (0) (0) (0) (0) (0) (0) (0) (0) Read/write Initial value bit Request level setting register (lower) Address : 00002AH Read/write Initial value ENIR 7 6 5 4 3 2 1 0 LB3 LA3 LB2 LA2 LB1 LA1 LB0 LA0 ELVR (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (0) (0) (0) (0) (0) (0) (0) (0) (2) Block Diagram F2MC-16 bus 8 Interrupt input 8 8 8 Interrupt/DTP enable register Gate Request F/F Edge detect circuit 8 Request input Interrupt/DTP register Request level setting register 39 MB90610A Series 8. Delayed Interrupt Generation Module The delayed interrupt generation module is used to generate the task switching interrupt. Interrupt requests to the F2MC-16L CPU can be generated and cleared by software using this module. (1) Register Configuration Delayed interrupt generate/ bit clear decoder Address : 00009FH Read/write Initial value 15 14 13 12 11 10 9 8 -- -- -- -- -- -- -- R0 (--) (--) (--) (--) (--) (--) (--) (--) (--) (--) (--) (--) (--) (R/W) (--) (0) (2) Block Diagram F2MC-16 bus Delayed interrupt generate/clear decoder Interrupt latch 40 DIRR MB90610A Series 9. Watchdog Timer and Timebase Timer Functions The watchdog timer consists of a 2-bit watchdog counter, a control register, and a watchdog reset controller. The watchdog counter uses the carry-up signal from the 18-bit timebase timer as its clock source. In addition to the 18-bit timer, the timebase timer contains an interval interrupt control circuit. The timebase timer uses the main clock, regardless of the value of the MCS bit in the CKSCR register. (1) Register Configuration bit Watchdog timer control register Address : 0000A8H 7 6 5 4 3 2 1 PONR STBR WRST ERST SRST WTE WT1 Read/write Initial value Timebase timer control register Address : 0000A9H Read/write Initial value 0 WT0 (R) (X) (R) (X) (R) (X) (R) (X) (R) (X) (W) (1) (W) (1) (W) (1) bit 15 14 13 12 11 10 9 8 Reserved -- -- (--) (1) (--) (--) TBIE TBOF TBR TBC1 TBC0 (--) (R/W) (R/W) (--) (0) (0) (W) (1) WDTC TBTC (R/W) (R/W) (0) (0) (2) Block Diagram Main clock (OSC oscillator) TBTC TBC1 Selector TBC0 Clock input 212 214 Timebase timer 216 219 212 214 216 219 TBTRES TBR TBIE AND Q S R F2MC-16 bus TBOF Timebase interrupt WDTC WT1 Selector WT0 2-bit counter OF CLR Watchdog reset activation circuit CLR WDGRST To internal reset activation circuit WTE PONR From power-on detection STBR From hardware standby control circuit WRST ERST RST pin SRST From the RST bit of the STBYC register 41 MB90610A Series 10. Low Power Control Circuits (CPU Intermittent Operation Function, Oscillation Stabilization Delay Time, and Clock Multiplier Function) The following operation modes are available: PLL clock mode, PLL sleep mode, timer mode, main clock mode, main sleep mode, stop mode, and hardware standby mode. Operation modes other than PLL clock mode are classified as low power consumption modes. In main clock mode and main sleep mode, the device operates on the main clock only (OSC oscillator clock). The PLL clock (VCO oscillator clock) is stopped in these modes and the main clock divided by 2 is used as the operating clock. In PLL sleep mode and main sleep mode, the CPU's operating clock only is stopped and other elements continue to operate. In timer mode, only the timebase timer operates. Stop mode and hardware standby mode stop the oscillator. These modes maintain existing data with minimum power consumption. The CPU intermittent operation function provides an intermittent clock to the CPU when register, internal memory, internal resource, or external bus access is performed. This function reduces power consumption by lowering the CPU execution speed while still providing a high-speed clock to internal resources. The PLL clock multiplier ratio can be set to 1, 2, 3, 4 by the CS1, 0 bits. The WS1, 0 bits set the delay time to wait for the main clock oscillation to stabilize when recovering from stop mode or hardware standby mode. (1) Register Configuration bit Low power consumption mode control register Address : 0000A0H Read/write Initial value bit Clock select register Address : 0000A1H Read/write Initial value 42 7 6 5 4 3 2 1 0 STP SLP SPL RST Reserved CG1 CG0 Reserved (W) (0) (W) (0) (R/W) (0) (W) (1) 15 14 13 12 Reserved (--) (1) MCM WS1 WS0 (R) (1) LPMCR (--) (R/W) (R/W) (--) (1) (0) (0) (0) 11 10 9 8 Reserved MCS CS1 CS0 (R/W) (R/W) (--) (R/W) (R/W) (R/W) (1) (1) (1) (1) (0) (0) CKSCR MB90610A Series (2) Block Diagram CKSCR MCM MCS PLL multiplier circuit 1 2 3 4 Main clock (OSC oscillator) CPU clock 1/2 CPU clock generator CKSCR CS1 CS0 CPU clock selector 0/9/17/33 Intermittent cycle selection F2MC-16 bus LPMCR CG1 CG0 Cycle selection circuit for the CPU intermittent operation function LPMCR SLP Standby control circuit STP RST Release HST activate Peripheral clock generator Peripheral clock HST pin CKSCR WS1 WS0 Interrupt request or RST Oscillation stabilization delay time selector 24 213 215 218 Clock input Timebase clock Timebase timer 2 12 2 14 2 16 19 2 LPMCR SPL LPMCR RST Pin high impedance control circuit Pin Hi-Z Internal reset generation circuit Internal RST RST pin To watchdog timer WDGRST 43 MB90610A Series * State Transition Diagram for Clock Selection Power-on Main MCS = 1 MCM = 1 CS1/0 = XX (1) Main PLLX MCS = 0 MCM = 1 (6) CS1/0 = XX (2) (3) (7) PLL1 Main MCS = 1 MCM = 0 CS1/0 = 00 PLL multiplier = 1 MCS = 0 MCM = 0 (4) (6) CS1/0 = 00 PLL2 Main MCS = 1 MCM = 0 (7) CS1/0 = 01 PLL multiplier = 2 MCS = 0 (6) MCM = 0 CS1/0 = 01 (7) PLL3 Main PLL multiplier = 3 (5) MCS = 0 (7) MCS = 1 MCM = 0 CS1/0 = 10 PLL4 Main MCS = 1 MCM = 0 CS1/0 = 11 (1) (2) (3) (4) (5) (6) (7) 44 (6) (6) MCM = 0 CS1/0 = 10 PLL multiplier = 4 MCS = 0 MCM = 0 CS1/0 = 11 MCS bit cleared PLL clock oscillation stabilization delay complete and CS1/0 = "00" PLL clock oscillation stabilization delay complete and CS1/0 = "01" PLL clock oscillation stabilization delay complete and CS1/0 = "10" PLL clock oscillation stabilization delay complete and CS1/0 = "11" MCS bit set (including a hardware standby or watchdog reset) PLL clock and main clock synchronized timing MB90610A Series 11. Interrupt Controller The interrupt control registers are located in the interrupt controller. An interrupt control register is provided for each I/O with an interrupt function. The registers have the following three functions. * Set the interrupt level of the corresponding peripheral. * Select whether to treat interrupts from the corresponding peripheral as standard interrupts or activate the extended intelligent I/O service. * Select the extended intelligent I/O service channel. (1) Register Configuration Interrupt control register Address : ICR01 0000B1H : ICR03 0000B3H : ICR05 0000B5H : ICR07 0000B7H : ICR09 0000B9H : ICR11 0000BBH : ICR13 0000BDH : ICR15 0000BFH bit Read/write Initial value 14 ICS3 ICS2 (W) (0) Read/write Initial value Interrupt control register Address : ICR00 0000B0H : ICR02 0000B2H : ICR04 0000B4H : ICR06 0000B6H : ICR08 0000B8H : ICR10 0000BAH : ICR12 0000BCH : ICR14 0000BEH 15 bit (W) (0) 7 6 (W) (0) 12 ICS1 ICS0 or or S1 S0 11 ISE 10 IL2 9 IL1 8 ICRxx IL0 (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (0) (0) (0) (1) (1) (1) ICS3 ICS2 (W) (0) 13 5 4 ICS1 ICS0 or or S0 S1 3 ISE 2 IL2 1 IL1 0 IL0 ICRxx (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (0) (0) (0) (1) (1) (1) Note: Do not access these registers using read-modify-write instructions as this can cause misoperation. 45 MB90610A Series (2) Block Diagram 4 4 I SE I L2 I L1 32 Determine priority of interrupt or I2OS IL0 Interrupt/ I2OS request (peripheral resource) 3 (CPU) Interrupt level I2OS selection 4 4 4 I CS1 I C S 0 I2OS vector selection 4 I2OS vector (CPU) F2MC-16 bus I CS3 I CS2 2 2 S1 46 S0 Detect I2OS completion condition 2 I2OS completion condition MB90610A Series 12. External Bus Terminal Control Circuit This circuit controls the external bus terminals intended to extend outwardly the CPU's address/data bus. (1) Register Configuration bit Register for selection of AUTO ready function Address : 0000A5H 15 14 13 12 IOR1 IOR0 HMR1 HMR0 Read/write Initial value bit Register for control of external address output Address : 0000A6H Read/write Initial value bit Register for selection of bus control signal Address : 0000A7H 10 -- -- 9 8 LMR1 LMR0 (W) (0) (W) (0) (W) (1) (W) (1) (--) (--) (--) (--) (W) (0) (W) (0) 7 6 5 4 3 2 1 0 E23 E22 E21 E20 E19 E18 E17 E16 (W) (0) (W) (0) (W) (0) (W) (0) (W) (0) (W) (0) (W) (0) (W) (0) 15 14 13 12 11 10 9 8 RYE CKE (W) (0) (W) (0) -- Read/write Initial value 11 LMBS WRE HMBS IOBS HDE (--) (--) (W) (0) (W) (0) (W) (1/0) (W) (0) (W) (0) ARSR HACR ECSR (2) Block Diagram P5 P4 P5 P3 P2 P1 P1 data P1 P1 direction RB Data control Access control Access control Access control 47 MB90610A Series ELECTRICAL CHARACTERISTICS 1. Absolute Maximum Rating (VSS = AVSS = 0.0 V) Parameter Symbol Rating Unit Min. Max. VCC VSS - 0.3 VSS + 7.0 V AVCC*1 VSS - 0.3 VSS + 7.0 V AVRH*1 AVRL*1 VSS - 0.3 VSS + 7.0 V VI VSS - 0.3 VCC + 0.3 V VO VSS - 0.3 VCC + 0.3 V "L" level maximum output current*3 IOL -- 15 mA "L" level average output current*4 IOLAV -- 4 mA IOL -- 100 mA IOLAV -- 50 mA "H" level maximum output current*3 IOH -- -15 mA "H" level average output current*4 IOHAV -- -4 mA IOH -- -100 mA "H" level total average output current* IOHAV -- -50 mA Power consumption Pd -- +400 mW Operating temperature TA -40 +85 C Storage temperature Tstg -55 +150 C Power supply voltage Input voltage*2 Output voltage* 2 "L" level total maximum output current "L" level total average output current* 5 "H" level total maximum output current 5 Remarks *1: AVCC, AVRH, and AVRL must not exceed VCC. Similarly, it may not exceed AVRL, nor AVRH. *2: VI and VO must not exceed VCC + 0.3 V. *3: The maximum output current must not be exceeded at any individual pin. *4: The average output current is the rating for the current from an individual pin averaged over a duration of 100 ms. *5: The average total output current is the rating for the current from all pins averaged over a duration of 100 ms. WARNING: Semiconductor devices can be permanently damaged by application of stress (voltage, current, temperature, etc.) in excess of absolute maximum ratings. Do not exceed these ratings. 48 MB90610A Series 2. Recommended Operating Conditions (VSS = 0.0 V) Parameter Symbol Power supply voltage VCC Operating temperature TA Rating Unit Remarks Min. Max. 2.7 5.5 V For normal operation 2.0 5.5 V To maintain statuses in stop mode -40 +85 C WARNING: The recommended operating conditions are required in order to ensure the normal operation of the semiconductor device. All of the device's electrical characteristics are warranted when the device is operated within these ranges. Always use semiconductor devices within their recommended operating condition ranges. Operation outside these ranges may adversely affect reliability and could result in device failure. No warranty is made with respect to uses, operating conditions, or combinations not represented on the data sheet. Users considering application outside the listed conditions are advised to contact their FUJITSU representatives beforehand. 49 MB90610A Series 3. DC Characteristics (VCC = +2.7 V to +5.5 V, VSS = 0.0 V, TA = -40C to +85C) Value SymReParameter Pin name Conditions Unit bol marks Min. Typ. Max. -- VCC + 0.3 V VIH 0.7 VCC VIHS 0.8 VCC -- VCC + 0.3 V *1 -- "H" level input VCC - 0.3 -- VCC + 0.3 V VIHM voltage VCC = +5.0 V10% 2.2 -- -- V *2 VIHT VCC = +3.0 V10% 0.7 VCC -- -- V *2 -- -- 0.3 VCC V VIL VSS - 0.3 VILS -- VSS - 0.3 -- 0.2 VCC V *1 "L" level input VILM VSS - 0.3 -- VSS + 0.3 V voltage VCC = +5.0 V10% VSS - 0.3 -- 0.8 V *2 VILT VCC = +3.0 V10% VSS - 0.3 -- 0.2 VCC V *2 VCC = +5.0 V10% -- -- V VCC - 0.5 "H" level output Other than P60 IOH = -4.0 mA VOH voltage to P67 VCC = +3.0 V10% -- -- V VCC - 0.3 IOH = -1.6 mA VCC = +5.0 V10% -- -- 0.4 V IOL = -4.0 mA "L" level output VOL All output pins voltage VCC = +3.0 V10% -- -- 0.4 V IOL = -2.0 mA RST, P50 to P55, Pull-up resisRD, ALE, Rpu -- 30 -- 100 k tance PA1 to PA7, CS0 ICC VCC = +5.0 V10% -- 50 70 mA 16 MHz internal opICCS -- 25 30 mA eration ICC VCC = +3.0 V10% -- 10 20 mA Supply current VCC 8 MHz internal opICCS -- 5 10 mA eration VCC = +5.0 V10% ICCH -- 0.1 10 A TA = 25C Other than Input pin capaciAVCC, AVSS, CIN -- -- 10 -- pF tance VCC,VSS Input leakage curOther than P60 VCC = 5.5 V IIL -10 -- 10 A rent to P67 VSS < VI < VCC Leakage current Other than P60 for open drain Ileak -- -- 0.1 10 A to P67 outputs Pull-down resisRpd MD2 -- 40 -- 200 k tance *1: Hysteresis input pins: RST, HST, P60 to P67, P70 to P76, P80 to P86, P90 to P95, PA1 to PA7 *2: TTL input pins: AD00/D00 to AD07/D07, AD08/D08/P10 to AD15/D15/P17, HRQ/P53, RDY/P51 50 MB90610A Series 4. AC Characteristics (1) Clock Timing * When VCC = +5.0 V10% Symbol Parameter Pin name (VCC = +4.5 V to +5.5 V, VSS = 0.0 V, TA = -40C to +85C) Value Conditions Unit Remarks Min. Max. Clock frequency fC X0, X1 -- 3 32 MHz Clock cycle time tC X0, X1 -- 31.25 333 ns Frequency variation ratio* (when locked) f -- -- -- 3 % Input clock pulse width PWH PWL X0 -- 10 -- ns X0 -- -- 5 ns Input clock rise time and fall tcr time tcf Internal operating clock frefCP quency -- -- 1.5 16 MHz Internal operating clock cytCP cle time -- -- 62.5 666 ns The duty ratio should be in the range 30 to 70% *The frequency variation ratio is the maximum variation from the specified central frequency when the multiplier PLL is locked. The value is expressed as a proportion. f = f0 + x 100 (%) Central frequency f0 - * When VCC = +2.7 V (min.) Parameter Symbol Pin name (VCC = +2.7 V to +5.5 V, VSS = 0.0 V, TA = -40C to +85C) Value Conditions Unit Remarks Min. Max. Clock frequency fC X0, X1 -- 3 16 MHz Clock cycle time tC X0, X1 -- 62.5 333 ns Input clock pulse width PWH PWL X0 -- 20 -- ns X0 -- -- 5 ns Input clock rise time and fall tcr time tcf Internal operating clock frefCP quency -- -- 1.5 8 MHz Internal operating clock cytCP cle time -- -- 125 666 ns The duty ratio should be in the range 30 to 70% 51 MB90610A Series * Clock Timing tC 0.8 VCC 0.2 VCC PWH PWL tcf tcr * PLL Operation Assurance Range Relationship between the internal operating clock frequency and supply voltage Power supply VCC (V) Normal operation range 5.5 4.5 3.3 PLL operation assurance range 2.7 1.5 8 3 fCP (MHz) 16 Internal clock Relationship between the oscillation frequency and internal operating clock frequency 16 Multiply Multiply by 4 by 3 No multiplier Internal Clock fCP (MHz) Multiply by 2 Multiply by 1 12 9 8 4 3 4 8 16 24 32 Oscillation clock fC (MHz) Note: Low voltage operation down to 2.7V is also assured for the evaluation tools. 52 MB90610A Series The AC characteristics are for the following measurement reference voltages. * Input Signal Waveform * Output Signal Waveform Hysteresis input pins Output pins 0.8 VCC 2.4 V 0.2 VCC 0.8 V Other than hysteresis/MD input pins 0.7 VCC 0.3 VCC (2) Clock Output Timing Symbol Parameter Cycle time tCYC CLK CLK tCHCL Pin name CLK (VCC = +2.7 V to +5.5 V, VSS = 0.0 V, TA = -40C to +85C) Value Conditions Unit Remarks Min. Max. VCC = +5 V10% tCP -- ns tCP/2 - 20 tCP/2 + 20 ns tCYC tCHCL 2.4 V CLK 2.4 V 0.8 V 53 MB90610A Series (3) Recommended Resonator Manufacturers * Sample Application of Piezoelectric Resonator (FAR Family) X0 X1 R *1 FAR *2 *2 C1 C2 *1: Fujitsu Acoustic Resonator Initial deviation of FAR part number Frequency Dumping FAR frequency (built-in capacitor type) (MHz) resistor (TA = +25C) characteristics of FAR frequency Loading capacitors*2 (TA = -20C to +60C) FAR-C4CC-02000-L20 2.00 1 k 0.5% 0.5% FAR-C4CA-04000-M01 4.00 -- 0.5% 0.5% FAR-C4CB-08000-M02 8.00 -- 0.5% 0.5% FAR-C4CB-10000-M02 10.00 -- 0.5% 0.5% FAR-C4CB-16000-M02 16.00 -- 0.5% 0.5% Inquiry: FUJITSU LIMITED 54 Temperature Built-in MB90610A Series * Sample Application of Ceramic Resonator X0 X1 R *4 *1 C1 Resonator manufacturer*1 Kyocera Corporation Resonator KBR-2.0MS PBRC2.00A KBR-4.0MSA KBR-4.0MKS PBRC4.00A PBRC4.00B KBR-6.0MSA KBR-6.0MKS PBRC6.00A PBRC6.00B KBR-8.0M PBRC8.00A PBRC8.00B KBR-10.0M PBRC10.00B KBR-12.0M PBRC12.00B *2 C2 Frequency (MHz) 2.00 4.00 6.00 8.00 10.00 12.00 *3 C1 (pF)*2 C2 (pF)*3 R*4 150 150 33 Built-in 33 Built-in 33 Built-in 33 Built-in 33 33 Built-in 33 Built-in 33 Built-in 150 150 33 Built-in 33 Built-in 33 Built-in 33 Built-in 33 33 Built-in 33 Built-in 33 Built-in Not required Not required 680 680 680 680 Not required Not required Not required Not required 560 Not required Not required 330 680 330 680 (Continued) 55 MB90610A Series (Continued) Resonator manufacturer*1 Murata Mfg. Co., Ltd. Resonator CSA2.00MG040 CST2.00MG040 CSA4.00MG040 CST4.00MGW040 CSA6.00MG CST6.00MGW CSA8.00MTZ CST8.00MTW CSA10.00MTZ CST10.00MTW CSA12.00MTZ CST12.00MTW CSA16.00MXZ040 CST16.00MXW0C3 CSA20.00MXZ040 CSA24.00MXZ040 CSA32.00MXZ040 Frequency (MHz) 2.00 4.00 6.00 8.00 10.00 12.00 16.00 20.00 24.00 32.00 C1 (pF)*2 C2 (pF)*3 R*4 100 Built-in 100 Built-in 30 Built-in 30 Built-in 30 Built-in 30 Built-in 15 Built-in 10 5 5 100 Built-in 100 Built-in 30 Built-in 30 Built-in 30 Built-in 30 Built-in 15 Built-in 10 5 5 Not required Not required Not required Not required Not required Not required Not required Not required Not required Not required Not required Not required Not required Not required Not required Not required Not required Inquiry: Kyocera Corporation * AVX Corporation North American Sales Headquarters: TEL 1-803-448-9411 * AVX Limited European Sales Headquarters: TEL 44-1252-770000 * AVX/Kyocera H.K. Ltd. Asian Sales Headquarters: TEL 852-363-3303 Murata Mfg. Co., Ltd. *Murata Electronics North America, Inc.: TEL 1-404-436-1300 * Murata Europe Management GmbH: TEL 49-911-66870 * Murata Electronics Singapore (Pte.) Ltd.: TEL 65-758-4233 56 MB90610A Series (4) Reset and Hardware Standby Inputs Symbol Parameter Reset input time (VCC = +2.7 V to +5.5 V, VSS = 0.0 V, TA = -40C to +85C) Value Conditions Unit Remarks Min. Max. Pin name tRSTL RST Hardware standby input time tHSTL HST -- 16 tCP -- ns 16 tCP -- ns tRSTL, tHSTL RST HST 0.2 VCC 0.2 VCC * Conditions for Measurement of AC Reference Pin CL: Load capacity during testing CL For CLK and ALE, CL = 30 pF. For address and data buses (AD15 to AD00), RD and WR, CL = 80 pF. 57 MB90610A Series (5) Power-on Reset Parameter Symbol Pin name Power supply rise time tR VCC Power supply cut-off time tOFF VCC (VCC = +2.7 V to +5.5 V, VSS = 0.0 V, TA = -40C to +85C) Value Conditions Unit Remarks Min. Max. -- -- 30 ms * 1 -- ms For repetition of the operation *VCC should be lower than 0.2 V before power supply rise. Notes: * The above values are the values required for a power-on reset * When HST = "L", this standard must be followed to turn on power supply for power-on reset whether or not necessary. * The device has built-in registers which are initialized only by power-on reset. For possible initialization of these registers, turn on power supply according to this standard. tR 2.7 V VCC 0.2 V 0.2 V tOFF Abrupt changes in the power supply voltage may cause a power-on reset. When changing the power supply voltage during operation, the change should be as smooth as possible, as shown in the following figure. Main power supply voltage Sub power supply voltage VSS 58 The gradient should be no more than 50mV/ms. MB90610A Series (6) Bus Timing (Read) Parameter ALE pulse width Symbol tLHLL Pin name ALE (VCC = +2.7 V to +5.5 V, VSS = 0.0 V, TA = -40C to +85C) Value Conditions Unit Remarks Min. Max. VCC = +5.0 V10% tCP/2 - 20 -- ns VCC = +3.0 V10% tCP/2 - 35 -- ns VCC = +5.0 V10% tCP/2 - 20 -- ns VCC = +3.0 V10% tCP/2 - 40 -- ns tCP/2 - 15 -- ns tCP - 15 -- ns Valid address ALE time tAVLL Address ALE address valid time tLLAX Address Valid address RD time tAVRL RD, Address -- Valid address valid data input tAVDV Address/ data VCC = +5.0 V10% -- 5 tCP/2 - 60 ns VCC = +3.0 V10% -- 5 tCP/2 - 80 ns RD pulse width tRLRH RD -- 3 tCP/2 - 20 -- ns RD valid data input tRLDV 3 tCP/2 - 60 ns 3 tCP/2 - 80 ns RD data hold time tRHDX 0 -- ns RD ALE time tRHLH RD, ALE tCP/2 - 15 -- ns RD address valid time tRHAX Address, RD tCP/2 - 10 -- ns Valid address CLK time tAVCH Address, CLK tCP/2 - 20 -- ns RD CLK time RD, CLK tCP/2 - 20 -- ns tRLCH VCC = +5.0 V10% Data VCC = +3.0 V10% -- -- 59 MB90610A Series tAVCH tRLCH 2.4 V CLK tLLAX tAVLL 2.4 V ALE 2.4 V tRHLH 2.4 V 0.8 V tLHLL 2.4 V tAVRL tRLRH 2.4 V RD 0.8 V Multiplex mode tRHAX 2.4 V 0.8 V A23 to A16 2.4 V 0.8 V tRLDV tAVDV 2.4 V Address 0.8 V tRHDX 2.4 V 2.2 V 0.8 V 0.8 V Read data 0.8 V Non-multiplex mode A23 to A00 tRHAX 2.4 V 0.8 V 2.4 V 0.8 V tAVDVtAVDV D15 to D00 60 2.2 V tRLDV tRHDX 2.2 V 0.8 V Read data 2.2 V 0.8 V MB90610A Series (7) Bus Timing (Write) Symbol Parameter Pin name Valid address WR time tAVWL Address WR pulse width tWLWH WRL, WRH Valid data output WR time tDVWH Data WR data hold time tWHDX WR address valid time tWHAX Address WR ALE time tWHLH ALE, WRL, WRH WR CLK time tWLCH WRL, WRH, CLK (VCC = +2.7 V to +5.5 V, VSS = 0.0 V, TA = -40C to +85C) Value Conditions Unit Remarks Min. Max. tCP - 15 -- ns 3 tCP/2 - 20 -- ns 3 tCP/2 - 20 -- ns VCC = +5.0 V10% 20 -- ns VCC = +3.0 V10% 30 -- ns tCP/2 - 10 -- ns tCP/2 - 15 -- ns tCP/2 - 20 -- ns -- -- tWLCH 2.4 V CLK tWHLH 2.4 V ALE tWLWH tAVWL 2.4 V WR (WRL, WRH) 0.8 V Multiplex mode tWHAX A23 to A16 2.4 V 2.4 V 0.8 V 0.8 V tDVWH AD15 to AD00 2.4 V Address 0.8 V 2.4 V 0.8 V 0.8 V tWHAX 2.4 V 2.4 V 0.8 V 0.8 V tDVWH D15 to D00 2.4 V Write data Non-multiplex mode A23 to A00 tWHDX 2.4 V 0.8 V Write data tWHDX tWHDX 2.4 V 0.8 V 61 MB90610A Series (8) Ready Input Timing Parameter Symbol Pin name RDY setup time tRYHS RDY RDY hold time tRYHH RDY (VCC = +2.7 V to +5.5 V, VSS = 0.0 V, TA = -40C to +85C) Value Conditions Unit Remarks Min. Max. VCC = +5.0 V10% 45 -- ns VCC = +3.0 V10% 70 -- ns -- 0 -- ns Note: Use the auto-ready function if the setup time at fall of the RDY is too short. 2.4 V CLK 2.4 V ALE RD/WR tRYHS tRYHS RDY (Wait cycle) 0.2 VCC 0.2 VCC tRYHS RDY (No wait cycle) 0.8 VCC 0.8 VCC tRYHH 62 MB90610A Series (9) Hold Timing Parameter Symbol Pin name (VCC = +2.7 V to +5.5 V, VSS = 0.0 V, TA = -40C to +85C) Value Conditions Unit Remarks Min. Max. Pin floating HAK time tXHAL HAK -- 30 tCP ns HAK pin valid time tHAHV HAK -- tCP 2 tCP ns Note: After reading HRQ, more than one cycle is required before changing HAK. HRQ 2.4 V HAK 0.8 V tXHAL Pin tHAHV High impedance 63 MB90610A Series (10) I/O Expansion Serial Timing Parameter Symbol Pin name (VCC = +2.7 V to +5.5 V, VSS = 0.0 V, TA = -40C to +85C) Value Conditions Unit Remarks Min. Max. Serial clock cycle time tSCYC SCK0 to 2 -- 8 tCP -- ns SCK SOT delay time tSLOV SCK0 to 2 SOT0 to 2 VCC = +5.0 V10% -80 80 ns VCC = +3.0 V10% -120 120 ns Valid SIN SCK tIVSH SCK0 to 2 SIN0 to 2 VCC = +5.0 V10% 100 -- ns VCC = +3.0 V10% 200 -- ns SCK valid SIN hold tSHIX time SCK0 to 2 SIN0 to 2 VCC = +5.0 V10% 60 -- ns VCC = +3.0 V10% 120 -- ns Serial clock "H" pulse width tSHSL SCK0 to 2 -- 4 tCP -- ns Serial clock "L" pulse width tSLSH SCK0 to 2 -- 4 tCP -- ns SCK SOT delay time tSLOV SCK0 to 2 SOT0 to 2 VCC = +5.0 V10% -- 150 ns VCC = +3.0 V10% -- 200 ns Valid SIN SCK tIVSH SCK0 to 2 SIN0 to 2 VCC = +5.0 V10% 60 -- ns VCC = +3.0 V10% 120 -- ns SCK valid SIN hold tSHIX time SCK0 to 2 SIN0 to 2 VCC = +5.0 V10% 60 -- ns VCC = +3.0 V10% 120 -- ns Notes: * These are the AC characteristics for CLK synchronous mode. * CL is the load capacitance connected to the pin at testing. * tCP is the machine cycle period (unit: ns). 64 CL = 80 pF + 1 TTL for the internal shift clock mode output pin. CL = 80 pF + 1 TTL for the external shift clock mode output pin. MB90610A Series * Internal Shift Clock Mode tSCYC 2.4 V SCK 0.8 V tSLOV 0.8 V 2.4 V 0.8 V SOT tIVSH tSHIX 0.8 VCC 0.2 VCC SIN 0.8 VCC 0.2 VCC * External Shift Clock Mode tSLSH tSHSL SCK 0.2 VCC tSLOV SOT 0.2 VCC 2.4 V 0.8 V tIVSH SIN 0.8 VCC 0.8 VCC 0.8 VCC 0.2 VCC tSHIX 0.8 VCC 0.2 VCC 65 MB90610A Series (11) Timer Input Timing Symbol Parameter Input pulse width (VCC = +2.7 V to +5.5 V, VSS = 0.0 V, TA = -40C to +85C) Value Conditions Unit Remarks Min. Max. Pin name tTIWH/L TIN0 to 1 -- 4 tCP -- ns * Timer Input Timing 0.8 VCC 0.8 VCC 0.2 VCC 0.2 VCC tTIWH tTIWL (12) Timer Output Timing Symbol Parameter CLK TOUT change timing tTO (VCC = +2.7 V to +5.5 V, VSS = 0.0 V, TA = -40C to +85C) Value Conditions Unit Remarks Min. Max. Pin name TOT0 to 1 VCC = +5.0 V10% 30 -- ns VCC = +3.0 V10% 80 -- ns * Timer Output Timing CLK TOUT 2.4 V 2.4 VCC 0.8 VCC tTO 66 MB90610A Series (13) Trigger Input Timing Parameter Input pulse width Symbol tTRGH tTRGL Pin name ATG INT0 to INT1 0.8 VCC (VCC = +2.7 V to +5.5 V, VSS = 0.0 V, TA = -40C to +85C) Value Conditions Unit Remarks Min. Max. -- 5 tCP -- ns 0.8 VCC 0.2 VCC tTRGH 0.2 VCC tTRGL 67 MB90610A Series (14) Chip Select Output Timing Parameter Symbol (VCC = +2.7 V to +5.5 V, VSS = 0.0 V, TA = -40C to +85C) Value Conditions Unit Remarks Min. Max. Pin name Chip select enabled Valid data input time tSVDV CS0 to CS7 VCC = +5.0 V10% D15 to D00 VCC = +3.0 V10% RD Chip select enabled time tRHSV CS0 to CS7 RD WR Chip select enabled time tWHSV Enabled chip select CLK time tSVCH -- 5 tCP/2 - 60 ns -- 5 tCP/2 - 80 ns -- tCP/2 - 10 -- ns CS0 to CS7 WRH, WRL -- tCP/2 - 10 -- ns CS0 to CS7 CLK -- -- tCP/2 - 20 ns tSVCH 2.4 V CLK 2.4 V RD tRHSV A23 to A00 CS0 to CS7 2.4 V 0.8 V tSVDV D15 to D00 2.4 V Read data 0.8 V tWHSV 2.4 V WR (WRL, WRH) D15 to D00 68 Write data MB90610A Series 5. A/D Converter Electrical Characteristics (AVCC = VCC = +2.7 V to +5.5 V, AVSS = VSS = 0.0 V, 2.7 V AVRH - AVRL, TA = -40C to +85C) Value Parameter Symbol Pin name Unit Min. Typ. Max. Resolution -- -- -- 10 10 bit Total error -- -- -- -- 3.0 LSB Linearity error -- -- -- -- 2.0 LSB Differential linearity error -- -- -- -- 1.5 LSB Zero transition voltage VOT AN0 to AN7 AVRL - 1.5 AVRL + 0.5 AVRL + 2.5 LSB Full scale transition voltage VFST AN0 to AN7 AVRH - 4.5 AVRH - 1.5 AVRH + 0.5 LSB Conversion time -- -- 6.125*1 -- -- s 12.25*2 -- -- s Analog port input current IAIN AN0 to AN7 -- 0.1 10 A Analog input voltage VAIN AN0 to AN7 AVRL -- AVRH V -- AVRH AVRL + 2.7 -- AVCC V -- AVRL 0 -- AVRH - 2.7 V AVCC -- 3 -- mA *3 Reference voltage Power supply current Reference voltage supply current Variation between channels IA IAH AVCC -- -- 5 A IR AVRH -- 200 -- A IRH AVRH -- -- 5*3 A AN0 to AN7 -- -- 4 LSB -- *1: For VCC = +5.0 V10% and a 16 MHz machine clock *2: For VCC = +3.0 V10% and a 8 MHz machine clock *3: The current when the A/D converter is not operating or the CPU is in stop mode (for VCC = AVCC = AVRH = +5.0 V). Notes: * The relative error increases as |AVRH - AVRL| decreases. * The output impedance of the external circuit for the analog input should be in the following range. Output impedance of external circuit < approx. 7 k * If the output impedance of the external circuit is too high, the sampling time for the analog voltage may be too short. (Sampling time = 3.75 s @4 MHz (This corresponds to 16 MHz internal operation if the multiplier is 4.)) * For an external capacitor to be provided outside the chip, its capacity should desirably be thousands times larger than that of the capacity in the chip taking in consideration the influence of the capacity distribution of the external and internal capacitors. 69 MB90610A Series * Model of The Analog Input Circuit Sample and hold circuit C0 Analog input Comparator RON1 RON2 RON3 RON4 C1 RON1 = 1.5 k (approx.) (VCC = 5.0 V) RON2 = 0.5 k (approx.) (VCC = 5.0 V) RON3 = 0.5 k (approx.) (VCC = 5.0 V) RON4 = 0.5 k (approx.) (VCC = 5.0 V) C0 = 60 pF (approx.) C1 = 4 pF (approx.) Note: The above values are for reference only. 6. A/D Converter Glossary * Resolution The change in analog voltage that can be recognized by the A/D converter. If the resolution is 10 bits, the analog voltage can be resolved into 210 = 1024 steps. * Total error The deviation between the actual and logic value attributable to offset error, gain error, non-linearity error, and noise. * Linearity error The deviation between the actual conversion characteristic of the device and the line linking the zero transition point (00 0000 0000 00 0000 0001) and the full scale transition point (11 1111 1110 11 1111 1111). * Differential linearity error The variation from the ideal input voltage required to change the output code by 1 LSB. Digital output 11 1111 1111 11 1111 1110 * * * (1 LSB x N + VOT) * * * * * * * Linearity error * 00 0000 0010 00 0000 0001 00 0000 0000 Analog input VOT 1 LSB = VNT V(N + 1)T VFST - VOT 1022 Linearity error = VNT - (1 LSB x N + VOT) 1 LSB Differential linearity error = 70 V(N + 1)T - VNT 1 LSB (LSB) - 1 (LSB) VFST MB90610A Series EXAMPLES CHARACTERISTICS (1) "H" Level Output Voltage VOH - IOH VOH (V) 1.0 0.9 TA = +25C 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0.0 -2 -4 -6 (2) "L" Level Output Voltage VCC = 2.7 V VCC = 3.0 V VCC = 3.5 V VCC = 4.0 V VCC = 4.5 V VCC = 5.0 V -8 IOH (mA) (3) "H" Level Input Voltage/"L" Level Input Voltage VIN (V) 5.0 VIN - VCC (CMOS Input) TA = +25C 4.5 4.0 3.5 3.0 2.5 2.0 1.5 1.0 0.5 0 2 3 4 5 6 VCC (V) VOL (V) 1.0 0.9 TA = +25C 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0.0 2 4 VOL - IOL VCC = 2.7 V VCC = 3.0 V VCC = 3.5 V VCC = 4.0 V VCC = 4.5 V VCC = 5.0 V 6 8 IOL (mA) (4) "H" Level Input Voltage/"L" Level Input Voltage VIN (V) 5.0 4.5 4.0 3.5 3.0 2.5 2.0 1.5 1.0 0.5 0 2 VIN - VCC (Hysteresis Input) TA = +25C VIHS VILS 3 4 5 6 VCC (V) VIHS: Threshold when input voltage in hysteresis characteristics is set to "H" level VILS: Threshold when input voltage in hysteresis characteristics is set to "L" level 71 MB90610A Series (5) Power Supply Current (fcp = internal frequency) ICC (mA) 70 65 60 55 50 45 40 35 30 25 20 15 10 5 0 ICC - VCC TA = +25C fcp = 16 MHz fcp = 12.5 MHz fcp = 8 MHz fcp = 4 MHz 3.0 IA (mA) 6.0 5.5 5.0 4.5 4.0 3.5 3.0 2.5 2.0 1.5 1.0 0.5 0 4.0 5.0 6.0 VCC (V) IA - AVCC ICCS (mA) 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 3.0 IR (mA) 0.30 TA = +25C fCP = 16 MHz ICCS - VCC TA = +25C fcp = 16 MHz fcp = 12.5 MHz fcp = 8 MHz fcp = 4 MHz 4.0 5.0 IR - AVR TA = +25C fCP = 16 MHz 0.20 0.10 0 3.0 4.0 5.0 6.0 AVCC (V) 3.0 4.0 (6) Pull-up Resistance R - VCC R (k ) 1000 TA = +25C 100 10 2.5 72 6.0 VCC (V) 3.0 3.5 4.0 4.5 5.0 5.5 6.0 VCC (V) 5.0 6.0 AVR (V) MB90610A Series ORDERING INFORMATION Part number Package MB90611APFV 100-pin Plastic LQFP (FPT-100P-M05) MB90611APF 100-pin Plastic QFP (FPT-100P-M06) Remarks 73 MB90610A Series PACKAGE DIMENSIONS 100-pin Plastic LQFP (FPT-100P-M05) 16.000.20(.630.008)SQ 14.000.10(.551.004)SQ 75 51 76 50 0.08(.003) Details of "A" part +0.20 +.008 1.50 -0.10 .059 -.004 (Mounting height) INDEX 100 26 0~8 "A" 1 25 0.50(.020) 0.200.05 (.008.002) 0.08(.003) 0.100.10 (.004.004) (Stand off) 0.1450.055 (.0057.0022) M 0.500.20 (.020.008) 0.600.15 (.024.006) 0.25(.010) Dimensions in mm (inches) 2000 FUJITSU LIMITED F100007S-3c-5 100-pin Plastic QFP (FPT-100P-M06) 23.900.40(.941.016) 20.000.20(.787.008) 80 51 81 50 0.10(.004) 17.900.40 (.705.016) 14.000.20 (.551.008) INDEX Details of "A" part 100 1 30 0.65(.026) "A" C 74 0.25(.010) +0.35 3.00 -0.20 +.014 .118 -.008 (Mounting height) 0~8 31 2001 FUJITSU LIMITED F100008S-c-4-4 0.320.05 (.013.002) 0.13(.005) M 0.170.06 (.007.002) 0.800.20 (.031.008) 0.880.15 (.035.006) 0.250.20 (.010.008) (Stand off) Dimensions in mm (inches) MB90610A Series FUJITSU LIMITED All Rights Reserved. The contents of this document are subject to change without notice. Customers are advised to consult with FUJITSU sales representatives before ordering. The information and circuit diagrams in this document are presented as examples of semiconductor device applications, and are not intended to be incorporated in devices for actual use. Also, FUJITSU is unable to assume responsibility for infringement of any patent rights or other rights of third parties arising from the use of this information or circuit diagrams. The products described in this document are designed, developed and manufactured as contemplated for general use, including without limitation, ordinary industrial use, general office use, personal use, and household use, but are not designed, developed and manufactured as contemplated (1) for use accompanying fatal risks or dangers that, unless extremely high safety is secured, could have a serious effect to the public, and could lead directly to death, personal injury, severe physical damage or other loss (i.e., nuclear reaction control in nuclear facility, aircraft flight control, air traffic control, mass transport control, medical life support system, missile launch control in weapon system), or (2) for use requiring extremely high reliability (i.e., submersible repeater and artificial satellite). Please note that Fujitsu will not be liable against you and/or any third party for any claims or damages arising in connection with above-mentioned uses of the products. Any semiconductor devices have an inherent chance of failure. You must protect against injury, damage or loss from such failures by incorporating safety design measures into your facility and equipment such as redundancy, fire protection, and prevention of over-current levels and other abnormal operating conditions. If any products described in this document represent goods or technologies subject to certain restrictions on export under the Foreign Exchange and Foreign Trade Law of Japan, the prior authorization by Japanese government will be required for export of those products from Japan. F0109 FUJITSU LIMITED Printed in Japan