MB9B320M Series 32-Bit ARM® Cortex®-M3 FM3 Microcontroller The MB9B320M Series are highly integrated 32-bit microcontrollers dedicated for embedded controllers with low-power consumption mode and competitive cost. These series are based on the ARM® Cortex®-M3 Processor with on-chip Flash memory and SRAM, and have peripheral functions such as various timers, ADCs, DACs and Communication Interfaces (USB, UART, CSIO, I2C, LIN). The products which are described in this data sheet are placed into TYPE9 product categories in “FM3 Family Peripheral Manual”. Features 32-bit ARM® Cortex®-M3 Core [USB function] Processor version: r2p1 USB2.0 Full-Speed supported Up to 72 MHz Frequency Operation Max 6 EndPoint supported Integrated Nested Vectored Interrupt Controller (NVIC): 1 NMI (non-maskable interrupt) and 48 peripheral interrupts and 16 priority levels 24-bit System timer (Sys Tick): System timer for OS task management On-chip Memories [Flash memory] EndPoint 0 is control transfer 1, 2 can select Bulk-transfer, Interrupt-transfer or Isochronous-transfer EndPoint 3 to 5 can select Bulk-transfer or Interrupt-transfer EndPoint 1 to 5 are comprised of Double Buffers. The size of each endpoint is according to the follows. • Endpoint 0, 2 to 5 : 64bytes • Endpoint 1 : 256bytes EndPoint [USB host] Dual operation Flash memory Dual Operation Flash memory has the upper bank and the lower bank. So, this series could implement erase, write and read operations for each bank simultaneously. Main area: Up to 256 Kbytes (Up to 240 Kbytes upper bank + 16 Kbytes lower bank) Work area: 32 Kbytes (lower bank) Read cycle: 0 wait-cycle USB2.0 Full/Low-speed supported Bulk-transfer, interrupt-transfer and Isochronous-transfer support USB Device connected/dis-connected automatic detection Automatic processing of the IN/OUT token handshake packet Max 256-byte packet-length supported Security function for code protection Wake-up function supported [SRAM] This Series on-chip SRAM is composed of two independent SRAM (SRAM0, SRAM1). SRAM0 is connected to I-code bus and D-code bus of Cortex-M3 core. SRAM1 is connected to System bus. Multi-function Serial Interface (Max eight channels) SRAM0: Up to 16 Kbytes Operation mode is selectable from the followings for each SRAM1: Up to 16 Kbytes USB Interface The USB interface is composed of Function and Host. PLL for USB is built-in, USB clock can be generated by multiplication of Main clock. Cypress Semiconductor Corporation Document Number: 002-05652 Rev.*A 4 channels with 16 steps×9-bit FIFO (ch.0/1/3/4), 4 channels without FIFO (ch.2/5/6/7) channel. UART CSIO LIN 2 I C • 198 Champion Court • San Jose, CA 95134-1709 • 408-943-2600 Revised March 8, 2016 MB9B320M Series [UART] A/D Converter (Max 26 channels) Full duplex double buffer [12-bit A/D Converter] Selection with or without parity supported Successive Approximation type Built-in dedicated baud rate generator Built-in 2units External clock available as a serial clock Conversion time: 0.8 μs @ 5 V Hardware Flow control : Automatically control the Priority conversion available (priority at 2 levels) transmission/reception by CTS/RTS (only ch.4) Various error detection functions available (parity errors, framing errors, and overrun errors) [CSIO] Full duplex double buffer Built-in dedicated baud rate generator Overrun error detection function available [LIN] LIN protocol Rev.2.1 supported Scanning conversion mode Built-in FIFO for conversion data storage (for SCAN conversion: 16 steps, for Priority conversion: 4 steps) D/A Converter (Max two channels) R-2R type 10-bit resolution Base Timer (Max eight channels) Full duplex double buffer Operation mode is selectable from the followings for each channel. Master/Slave mode supported 16-bit PWM timer LIN break field generation (can be changed to 13 to 16-bit 16-bit PPG timer length) LIN break delimiter generation (can be changed to 1 to 4-bit length) Various error detection functions available (parity errors, framing errors, and overrun errors) [I2C] Standard mode (Max 100 kbps) / Fast mode (Max 400 kbps) supported DMA Controller (Eight channels) The DMA Controller has an independent bus from the CPU, so CPU and DMA Controller can process simultaneously. 8 independently configured and operated channels Transfer can be started by software or request from the built-in peripherals Transfer address area: 32-bit (4 Gbytes) Transfer mode: Block transfer/Burst transfer/Demand 16-/32-bit reload timer 16-/32-bit PWC timer General-Purpose I/O Port This series can use its pins as general-purpose I/O ports when they are not used for peripherals. Moreover, the port relocate function is built in. It can set which I/O port the peripheral function can be allocated to. Capable of pull-up control per pin Capable of reading pin level directly Built-in the port relocate function Up to 65 high-speed general-purpose I/O Ports @ 80 pin Package Some ports are 5V tolerant. See “List of Pin Functions” and “I/O Circuit Type” to confirm the corresponding pins. transfer Transfer data type: byte/half-word/word Transfer block count: 1 to 16 Number of transfers: 1 to 65536 Dual Timer (32-/16-bit Down Counter) The Dual Timer consists of two programmable 32-/16-bit down counters. Operation mode is selectable from the followings for each channel. Free-running Periodic (=Reload) One-shot Document Number: 002-05652 Rev.*A Page 2 of 108 MB9B320M Series Quadrature Position/Revolution Counter (QPRC) (Max two channels) The Quadrature Position/Revolution Counter (QPRC) is used to measure the position of the position encoder. Moreover, it is possible to use as the up/down counter. The detection edge of the three external event input pins AIN, BIN and ZIN is configurable. 16-bit position counter 16-bit revolution counter Two 16-bit compare registers Multi-function Timer The Multi-function timer is composed of the following blocks. External Interrupt Controller Unit Up to 23 external interrupt input pins @ 80 pin Package Include one non-maskable interrupt (NMI) input pin Watchdog Timer (Two channels) A watchdog timer can generate interrupts or a reset when a time-out value is reached. This series consists of two different watchdogs, a "Hardware" watchdog and a "Software" watchdog. The "Hardware" watchdog timer is clocked by the built-in Low-speed CR oscillator. Therefore, the "Hardware" watchdog is active in any low-power consumption modes except RTC, Stop, Deep Standby RTC, Deep Standby Stop modes. 16-bit free-run timer × 3ch./unit CRC (Cyclic Redundancy Check) Accelerator Input capture × 4ch./unit Output compare × 6ch./unit The CRC accelerator calculates the CRC which has a heavy software processing load, and achieves a reduction of the integrity check processing load for reception data and storage. A/D activation compare × 2ch./unit CCITT CRC16 and IEEE-802.3 CRC32 are supported. Waveform generator × 3ch./unit CCITT CRC16 Generator Polynomial: 0x1021 16-bit PPG timer × 3ch./unit IEEE-802.3 CRC32 Generator Polynomial: 0x04C11DB7 The following function can be used to achieve the motor control. Clock and Reset PWM signal output function Selectable from five clock sources (2 external oscillators, 2 built-in CR oscillators, and Main PLL). DC chopper waveform output function [Clocks] Dead time function Main Clock: 4 MHz to 48 MHz Input capture function Sub Clock: 32.768 kHz A/D convertor activate function Built-in High-speed CR Clock: 4 MHz DTIF (Motor emergency stop) interrupt function Built-in Low-speed CR Clock: 100 kHz Main PLL Clock Real-time clock (RTC) The Real-time clock can count Year/Month/Day/Hour/Minute/Second/A day of the week from 01 to 99. The interrupt function with specifying date and time (Year/Month/Day/Hour/Minute/Second/A day of the week.) is available. This function is also available by specifying only Year, Month, Day, Hour or Minute. Timer interrupt function after set time or each set time. Capable of rewriting the time with continuing the time count. [Resets] Reset requests from INITX pin Power-on reset Software reset Watchdog timers reset Low-voltage detection reset Clock Super Visor reset Leap year automatic count is available. Clock Super Visor (CSV) Watch Counter Clocks generated by built-in CR oscillators are used to supervise abnormality of the external clocks. The Watch counter is used for wake up from Sleep and Timer mode. If external clock failure (clock stop) is detected, reset is Interval timer: up to 64 s (Max) @ Sub Clock : 32.768 kHz If external frequency anomaly is detected, interrupt or reset is asserted. asserted. Document Number: 002-05652 Rev.*A Page 3 of 108 MB9B320M Series Low-Voltage Detector (LVD) Debug This Series includes 2-stage monitoring of voltage on the VCC pins. When the voltage falls below the voltage that has been set, Low-Voltage Detector generates an interrupt or reset. Serial Wire JTAG Debug Port (SWJ-DP) LVD1: error reporting via interrupt Unique value of the device (41 bits) is set. LVD2: auto-reset operation Power Supply Low-Power Consumption Mode Six low-power consumption modes supported. Sleep Unique ID Wide range voltage: VCC = 2.7 V to 5.5 V USBVCC = 3.0 V to 3.6 V (when USB is used) = 2.7 V to 5.5 V (when GPIO is used) Timer RTC Stop Deep Standby RTC (selectable between keeping the value of RAM and not) Deep Standby Stop (selectable between keeping the value of RAM and not) Document Number: 002-05652 Rev.*A Page 4 of 108 MB9B320M Series Contents 1. Product Lineup .................................................................................................................................................................. 7 2. Packages ........................................................................................................................................................................... 8 3. Pin Assignment ................................................................................................................................................................. 9 4. List of Pin Functions....................................................................................................................................................... 15 5. I/O Circuit Type ............................................................................................................................................................... 33 6. Handling Precautions ..................................................................................................................................................... 39 6.1 Precautions for Product Design ................................................................................................................................... 39 6.2 Precautions for Package Mounting .............................................................................................................................. 40 6.3 Precautions for Use Environment ................................................................................................................................ 41 7. Handling Devices ............................................................................................................................................................ 42 8. Block Diagram ................................................................................................................................................................. 44 9. Memory Size .................................................................................................................................................................... 45 10. Memory Map .................................................................................................................................................................... 45 11. Pin Status in Each CPU State ........................................................................................................................................ 48 12. Electrical Characteristics ............................................................................................................................................... 54 12.1 Absolute Maximum Ratings ......................................................................................................................................... 54 12.2 Recommended Operating Conditions ......................................................................................................................... 56 12.3 DC Characteristics ...................................................................................................................................................... 57 12.3.1 Current Rating .............................................................................................................................................................. 57 12.3.2 Pin Characteristics ....................................................................................................................................................... 60 12.4 AC Characteristics ....................................................................................................................................................... 61 12.4.1 Main Clock Input Characteristics .................................................................................................................................. 61 12.4.2 Sub Clock Input Characteristics ................................................................................................................................... 62 12.4.3 Built-in CR Oscillation Characteristics .......................................................................................................................... 63 12.4.4 Operating Conditions of Main and USB PLL (In the case of using main clock for input of PLL) ................................... 64 12.4.5 Operating Conditions of Main PLL (In the case of using built-in high-speed CR for input clock of Main PLL) .............. 64 12.4.6 Reset Input Characteristics .......................................................................................................................................... 65 12.4.7 Power-on Reset Timing ................................................................................................................................................ 65 12.4.8 Base Timer Input Timing .............................................................................................................................................. 66 12.4.9 CSIO/UART Timing ...................................................................................................................................................... 67 12.4.10 External Input Timing ................................................................................................................................................ 75 12.4.11 Quadrature Position/Revolution Counter timing ........................................................................................................ 76 12.4.12 I2C Timing ................................................................................................................................................................. 78 12.4.13 JTAG Timing............................................................................................................................................................. 79 12.5 12-bit A/D Converter .................................................................................................................................................... 80 12.6 10-bit D/A Converter .................................................................................................................................................... 83 12.7 USB Characteristics .................................................................................................................................................... 84 12.8 Low-Voltage Detection Characteristics ........................................................................................................................ 88 12.8.1 Low-Voltage Detection Reset ....................................................................................................................................... 88 12.8.2 Interrupt of Low-Voltage Detection ............................................................................................................................... 89 12.9 Flash Memory Write/Erase Characteristics ................................................................................................................. 90 12.9.1 Write / Erase time......................................................................................................................................................... 90 12.9.2 Write cycles and data hold time ................................................................................................................................... 90 12.10 Return Time from Low-Power Consumption Mode ...................................................................................................... 91 12.10.1 Return Factor: Interrupt/WKUP ................................................................................................................................. 91 12.10.2 Return Factor: Reset ................................................................................................................................................ 93 Document Number: 002-05652 Rev.*A Page 5 of 108 MB9B320M Series 13. Ordering Information ...................................................................................................................................................... 95 14. Package Dimensions ...................................................................................................................................................... 96 15. Major Changes .............................................................................................................................................................. 104 Document History ............................................................................................................................................................... 107 Document Number: 002-05652 Rev.*A Page 6 of 108 MB9B320M Series 1. Product Lineup Memory Size Product name On-chip Flash memory On-chip SRAM MB9BF321K/L/M MB9BF322K/L/M MB9BF324K/L/M Main area 64 Kbytes 128 Kbytes 256 Kbytes Work area 32 Kbytes 32 Kbytes 32 Kbytes SRAM0 8 Kbytes 8 Kbytes 16 Kbytes SRAM1 Total 8 Kbytes 16 Kbytes 8 Kbytes 16 Kbytes 16 Kbytes 32 Kbytes Function MB9BF321K MB9BF322K MB9BF324K Product name Pin count MB9BF321M MB9BF322M MB9BF324M 48 64 80/96 Cortex-M3 72 MHz 2.7 V to 5.5 V 1ch. (Max) 8ch. 4ch. (Max) 8ch. (Max) ch.0/1/3: FIFO ch.0/1/3/4 FIFO ch.5: No FIFO ch.2/5/6/7: No FIFO (In ch.1/5, only UART and LIN (In ch.1, only UART and LIN are available.) are available.) CPU Freq. Power supply voltage range USB2.0 (Function/Host) DMAC Multi-function Serial Interface 2 (UART/CSIO/LIN/I C) Base Timer (PWC/Reload timer/PWM/PPG) A/D activation compare Input capture MFFree-run timer Timer Output compare Waveform generator PPG QPRC MB9BF321L MB9BF322L MB9BF324L 8ch. (Max) 2ch. 4ch.* 3ch. 6ch. 3ch. 3ch. 1 unit 1ch. Dual Timer 1 unit Real-Time Clock Watch Counter CRC Accelerator Watchdog timer 1 unit 1 unit Yes 1ch. (SW) + 1ch. (HW) 14 pins (Max) + NMI × 1 35 pins (Max) 14ch. (2 units) 2ch. (Max) Yes 2ch. 4 MHz 100 kHz SWJ-DP Yes External Interrupts I/O ports 12-bit A/D converter 10-bit D/A converter CSV (Clock Super Visor) LVD (Low-Voltage Detector) High-speed Built-in CR Low-speed Debug Function Unique ID 2ch. (Max) 19 pins (Max) + NMI × 1 50 pins (Max) 23ch. (2 units) 23 pins (Max) + NMI × 1 65 pins (Max) 26ch. (2 units) *: The external input channel which can be used is shown as follows. • ch.0 to ch.3 : MB9BF321M/F322M/F324M • ch.0, ch.2, ch.3 : MB9BF321K/F322K/F324K, MB9BF321L/F322L/F324L Note: All signals of the peripheral function in each product cannot be allocated by limiting the pins of package. It is necessary to use the port relocate function of the I/O port according to your function use. See “12. Electrical Characteristics 12.4. AC Characteristics 12.4.3. Built-in CR Oscillation Characteristics” for accuracy of built-in CR. Document Number: 002-05652 Rev.*A Page 7 of 108 MB9B320M Series 2. Packages MB9BF321K MB9BF322K MB9BF324K Product name Package MB9BF321L MB9BF322L MB9BF324L MB9BF321M MB9BF322M MB9BF324M LQFP: FPT-48P-M49 (0.5 mm pitch) - - QFN: LCC-48P-M73 (0.5 mm pitch) - - LQFP: FPT-64P-M38 (0.5 mm pitch) - - LQFP: FPT-64P-M39 (0.65 mm pitch) - - QFN: LCC-64P-M24 (0.5 mm pitch) - - LQFP: FPT-80P-M37 (0.5 mm pitch) - - LQFP: FPT-80P-M40 (0.65 mm pitch) - - BGA: BGA-96P-M07 (0.5 mm pitch) - - : Supported Note: See “Package Dimensions” for detailed information on each package. Document Number: 002-05652 Rev.*A Page 8 of 108 MB9B320M Series 3. Pin Assignment FPT-80P-M37/M40 VSS P81/UDP0/INT17_1 P80/UDM0/INT16_1 USBVCC P60/AN21/SIN5_0/TIOA2_2/INT15_1/WKUP3/IGTRG_1 P61/AN20/SOT5_0/TIOB2_2/UHCONX/DTTI0X_2 P62/AN19/SCK5_0/ADTG_3 P63/INT03_0 P0F/AN18/NMIX/SUBOUT_0/CROUT_1/RTCCO_0/WKUP0 P0E/CTS4_0/TIOB3_2/INT21_0 P0D/RTS4_0/TIOA3_2/INT20_0 P0C/AN17/SCK4_0/TIOA6_1/INT19_0 P0B/AN16/SOT4_0/TIOB6_1/INT18_0 P0A/AN15/SIN4_0/INT00_2 P07/ADTG_0/INT23_1 P04/TDO/SWO P03/TMS/SWDIO P02/TDI P01/TCK/SWCLK P00/TRSTX 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 (TOP VIEW) VCC 1 60 P20/INT05_0/CROUT_0/AIN1_1 P50/AN22/INT00_0/AIN0_2/SIN3_1 2 59 P21/AN14/SIN0_0/INT06_1/BIN1_1/WKUP2 P51/AN23/INT01_0/BIN0_2/SOT3_1 3 58 P22/AN13/SOT0_0/TIOB7_1/ZIN1_1 P52/AN24/INT02_0/ZIN0_2/SCK3_1 4 57 P23/AN12/SCK0_0/TIOA7_1 P53/SIN6_0/TIOA1_2/INT07_2 5 56 P1B/AN11/SOT4_1/INT20_2/IC01_1 P54/SOT6_0/TIOB1_2/INT18_1 6 55 P1A/AN10/SIN4_1/INT05_1/IC00_1 P55/SCK6_0/ADTG_1/INT19_1 7 54 P19/AN09/SCK2_2 P56/INT08_2 8 53 P18/AN08/SOT2_2 P30/AN25/AIN0_0/TIOB0_1/INT03_2 9 52 AVRL P31/AN26/BIN0_0/TIOB1_1/SCK6_1/INT04_2 10 51 AVRH P32/ZIN0_0/TIOB2_1/SOT6_1/INT05_2 11 50 AVCC P33/INT04_0/TIOB3_1/SIN6_1/ADTG_6 12 49 P17/AN07/SIN2_2/INT04_1 P39/DTTI0X_0/INT06_0/ADTG_2 13 48 P16/AN06/SCK0_1/INT15_0 P3A/RTO00_0/TIOA0_1/INT07_0/SUBOUT_2/RTCCO_2 14 47 P15/AN05/SOT0_1/INT14_0/IC03_2 P3B/RTO01_0/TIOA1_1 15 46 P14/AN04/SIN0_1/INT03_1/IC02_2 P3C/RTO02_0/TIOA2_1/INT18_2 16 45 AVSS P3D/RTO03_0/TIOA3_1 17 44 P12/AN02/SOT1_1/IC00_2 P3E/RTO04_0/TIOA4_1/INT19_2 18 43 P11/AN01/SIN1_1/INT02_1/FRCK0_2/WKUP1 P3F/RTO05_0/TIOA5_1 19 42 P10/AN00 VSS 20 41 VCC 29 30 31 32 33 34 35 36 37 38 39 40 P4A/TIOB1_0/SCK3_2/INT21_1/BIN0_1/DA1_0 P4B/TIOB2_0/INT22_1/ZIN0_1/IGTRG_0 P4C/TIOB3_0/SCK7_1/INT12_0/AIN1_2 P4D/TIOB4_0/SOT7_1/INT13_0/BIN1_2 P4E/TIOB5_0/INT06_2/SIN7_1/ZIN1_2 PE0/MD1 MD0 PE2/X0 PE3/X1 VSS 27 P47/X1A P49/TIOB0_0/SOT3_2/INT20_1/AIN0_1/DA0_0 26 P46/X0A 28 25 INITX 24 VCC P48/SIN3_2/INT14_1 23 C 22 P45/TIOA5_0/INT11_0 VSS 21 P44/TIOA4_0/INT10_0 LQFP - 80 Note: The number after the underscore ("_") in pin names such as XXX_1 and XXX_2 indicates the relocated port number. For these pins, there are multiple pins that provide the same function for the same channel. Use the extended port function register (EPFR) to select the pin. Document Number: 002-05652 Rev.*A Page 9 of 108 MB9B320M Series FPT-64P-M38/M39 VSS P81/UDP0/INT17_1 P80/UDM0/INT16_1 USBVCC P60/AN21/SIN5_0/TIOA2_2/INT15_1/WKUP3/IGTRG_1 P61/AN20/SOT5_0/TIOB2_2/UHCONX/DTTI0X_2 P62/AN19/SCK5_0/ADTG_3 P0F/AN18/NMIX/SUBOUT_0/CROUT_1/RTCCO_0/WKUP0 P0C/AN17/SCK4_0/TIOA6_1/INT19_0 P0B/AN16/SOT4_0/TIOB6_1/INT18_0 P0A/AN15/SIN4_0/INT00_2 P04/TDO/SWO P03/TMS/SWDIO P02/TDI P01/TCK/SWCLK P00/TRSTX 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 (TOP VIEW) VCC 1 48 P21/AN14/SIN0_0/INT06_1/WKUP2 P50/AN22/INT00_0/AIN0_2/SIN3_1 2 47 P22/AN13/SOT0_0/TIOB7_1 P51/AN23/INT01_0/BIN0_2/SOT3_1 3 46 P23/AN12/SCK0_0/TIOA7_1 P52/AN24/INT02_0/ZIN0_2/SCK3_1 4 45 P19/AN09/SCK2_2 P30/AN25/AIN0_0/TIOB0_1/INT03_2 5 44 P18/AN08/SOT2_2 P31/AN26/BIN0_0/TIOB1_1/SCK6_1/INT04_2 6 43 AVRL P32/ZIN0_0/TIOB2_1/SOT6_1/INT05_2 7 42 AVRH P33/INT04_0/TIOB3_1/SIN6_1/ADTG_6 8 41 AVCC P39/DTTI0X_0/INT06_0/ADTG_2 9 40 P17/AN07/SIN2_2/INT04_1 P3A/RTO00_0/TIOA0_1/INT07_0/SUBOUT_2/RTCCO_2 10 39 P15/AN05/SOT0_1/INT14_0/IC03_2 P3B/RTO01_0/TIOA1_1 11 38 P14/AN04/SIN0_1/INT03_1/IC02_2 P3C/RTO02_0/TIOA2_1/INT18_2 12 37 AVSS P3D/RTO03_0/TIOA3_1 13 36 P12/AN02/SOT1_1/IC00_2 P3E/RTO04_0/TIOA4_1/INT19_2 14 35 P11/AN01/SIN1_1/INT02_1/FRCK0_2/WKUP1 P3F/RTO05_0/TIOA5_1 15 34 P10/AN00 VSS 16 33 VCC 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 C VCC P46/X0A P47/X1A INITX P49/TIOB0_0/SOT3_2/INT20_1/AIN0_1/DA0_0 P4A/TIOB1_0/SCK3_2/INT21_1/BIN0_1/DA1_0 P4B/TIOB2_0/INT22_1/ZIN0_1/IGTRG_0 P4C/TIOB3_0/SCK7_1/INT12_0/AIN1_2 P4D/TIOB4_0/SOT7_1/INT13_0/BIN1_2 P4E/TIOB5_0/INT06_2/SIN7_1/ZIN1_2 PE0/MD1 MD0 PE2/X0 PE3/X1 VSS LQFP - 64 Note: The number after the underscore ("_") in pin names such as XXX_1 and XXX_2 indicates the relocated port number. For these pins, there are multiple pins that provide the same function for the same channel. Use the extended port function register (EPFR) to select the pin. Document Number: 002-05652 Rev.*A Page 10 of 108 MB9B320M Series LCC-64P-M24 VSS P81/UDP0/INT17_1 P80/UDM0/INT16_1 USBVCC P60/AN21/SIN5_0/TIOA2_2/INT15_1/WKUP3/IGTRG_1 P61/AN20/SOT5_0/TIOB2_2/UHCONX/DTTI0X_2 P62/AN19/SCK5_0/ADTG_3 P0F/AN18/NMIX/SUBOUT_0/CROUT_1/RTCCO_0/WKUP0 P0C/AN17/SCK4_0/TIOA6_1/INT19_0 P0B/AN16/SOT4_0/TIOB6_1/INT18_0 P0A/AN15/SIN4_0/INT00_2 P04/TDO/SWO P03/TMS/SWDIO P02/TDI P01/TCK/SWCLK P00/TRSTX 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 (TOP VIEW) VCC 1 48 P21/AN14/SIN0_0/INT06_1/WKUP2 P50/AN22/INT00_0/AIN0_2/SIN3_1 2 47 P22/AN13/SOT0_0/TIOB7_1 P51/AN23/INT01_0/BIN0_2/SOT3_1 3 46 P23/AN12/SCK0_0/TIOA7_1 P52/AN24/INT02_0/ZIN0_2/SCK3_1 4 45 P19/AN09/SCK2_2 P30/AN25/AIN0_0/TIOB0_1/INT03_2 5 44 P18/AN08/SOT2_2 P31/AN26/BIN0_0/TIOB1_1/SCK6_1/INT04_2 6 43 AVRL P32/ZIN0_0/TIOB2_1/SOT6_1/INT05_2 7 42 AVRH P33/INT04_0/TIOB3_1/SIN6_1/ADTG_6 8 41 AVCC P39/DTTI0X_0/INT06_0/ADTG_2 9 40 P17/AN07/SIN2_2/INT04_1 P3A/RTO00_0/TIOA0_1/INT07_0/SUBOUT_2/RTCCO_2 10 39 P15/AN05/SOT0_1/INT14_0/IC03_2 P3B/RTO01_0/TIOA1_1 11 38 P14/AN04/SIN0_1/INT03_1/IC02_2 P3C/RTO02_0/TIOA2_1/INT18_2 12 37 AVSS P3D/RTO03_0/TIOA3_1 13 36 P12/AN02/SOT1_1/IC00_2 P3E/RTO04_0/TIOA4_1/INT19_2 14 35 P11/AN01/SIN1_1/INT02_1/FRCK0_2/WKUP1 P3F/RTO05_0/TIOA5_1 15 34 P10/AN00 VSS 16 33 VCC 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 C VCC P46/X0A P47/X1A INITX P49/TIOB0_0/SOT3_2/INT20_1/AIN0_1/DA0_0 P4A/TIOB1_0/SCK3_2/INT21_1/BIN0_1/DA1_0 P4B/TIOB2_0/INT22_1/ZIN0_1/IGTRG_0 P4C/TIOB3_0/SCK7_1/INT12_0/AIN1_2 P4D/TIOB4_0/SOT7_1/INT13_0/BIN1_2 P4E/TIOB5_0/INT06_2/SIN7_1/ZIN1_2 PE0/MD1 MD0 PE2/X0 PE3/X1 VSS QFN - 64 Note: The number after the underscore ("_") in pin names such as XXX_1 and XXX_2 indicates the relocated port number. For these pins, there are multiple pins that provide the same function for the same channel. Use the extended port function register (EPFR) to select the pin. Document Number: 002-05652 Rev.*A Page 11 of 108 MB9B320M Series FPT-48P-M49 VSS P81/UDP0/INT17_1 P80/UDM0/INT16_1 USBVCC P60/AN21/SIN5_0/TIOA2_2/INT15_1/WKUP3/IGTRG_1 P61/AN20/SOT5_0/TIOB2_2/UHCONX/DTTI0X_2 P0F/AN18/NMIX/SUBOUT_0/CROUT_1/RTCCO_0/WKUP0 P04/TDO/SWO P03/TMS/SWDIO P02/TDI P01/TCK/SWCLK P00/TRSTX 48 47 46 45 44 43 42 41 40 39 38 37 (TOP VIEW) VCC 1 36 P21/AN14/SIN0_0/INT06_1/WKUP2 P50/AN22/INT00_0/AIN0_2/SIN3_1 2 35 P22/AN13/SOT0_0/TIOB7_1 P51/AN23/INT01_0/BIN0_2/SOT3_1 3 34 P23/AN12/SCK0_0/TIOA7_1 P52/AN24/INT02_0/ZIN0_2/SCK3_1 4 33 AVRL P39/DTTI0X_0/INT06_0/ADTG_2 5 32 AVRH P3A/RTO00_0/TIOA0_1/INT07_0/SUBOUT_2/RTCCO_2 6 31 AVCC P3B/RTO01_0/TIOA1_1 7 30 P15/AN05/SOT0_1/INT14_0/IC03_2 P3C/RTO02_0/TIOA2_1/INT18_2 8 29 P14/AN04/SIN0_1/INT03_1/IC02_2 P3D/RTO03_0/TIOA3_1 9 28 AVSS P3E/RTO04_0/TIOA4_1/INT19_2 10 27 P12/AN02/SOT1_1/IC00_2 P3F/RTO05_0/TIOA5_1 11 26 P11/AN01/SIN1_1/INT02_1/FRCK0_2/WKUP1 VSS 12 25 P10/AN00 13 14 15 16 17 18 19 20 21 22 23 24 C VCC P46/X0A P47/X1A INITX P49/TIOB0_0/INT20_1/DA0_0 P4A/TIOB1_0/INT21_1/DA1_0 PE0/MD1 MD0 PE2/X0 PE3/X1 VSS LQFP - 48 Note: The number after the underscore ("_") in pin names such as XXX_1 and XXX_2 indicates the relocated port number. For these pins, there are multiple pins that provide the same function for the same channel. Use the extended port function register (EPFR) to select the pin. Document Number: 002-05652 Rev.*A Page 12 of 108 MB9B320M Series LCC-48P-M73 VSS P81/UDP0/INT17_1 P80/UDM0/INT16_1 USBVCC P60/AN21/SIN5_0/TIOA2_2/INT15_1/WKUP3/IGTRG_1 P61/AN20/SOT5_0/TIOB2_2/UHCONX/DTTI0X_2 P0F/AN18/NMIX/SUBOUT_0/CROUT_1/RTCCO_0/WKUP0 P04/TDO/SWO P03/TMS/SWDIO P02/TDI P01/TCK/SWCLK P00/TRSTX 48 47 46 45 44 43 42 41 40 39 38 37 (TOP VIEW) VCC 1 36 P21/AN14/SIN0_0/INT06_1/WKUP2 P50/AN22/INT00_0/AIN0_2/SIN3_1 2 35 P22/AN13/SOT0_0/TIOB7_1 P51/AN23/INT01_0/BIN0_2/SOT3_1 3 34 P23/AN12/SCK0_0/TIOA7_1 P52/AN24/INT02_0/ZIN0_2/SCK3_1 4 33 AVRL P39/DTTI0X_0/INT06_0/ADTG_2 5 32 AVRH P3A/RTO00_0/TIOA0_1/INT07_0/SUBOUT_2/RTCCO_2 6 31 AVCC P3B/RTO01_0/TIOA1_1 7 30 P15/AN05/SOT0_1/INT14_0/IC03_2 P3C/RTO02_0/TIOA2_1/INT18_2 8 29 P14/AN04/SIN0_1/INT03_1/IC02_2 P3D/RTO03_0/TIOA3_1 9 28 AVSS P3E/RTO04_0/TIOA4_1/INT19_2 10 27 P12/AN02/SOT1_1/IC00_2 P3F/RTO05_0/TIOA5_1 11 26 P11/AN01/SIN1_1/INT02_1/FRCK0_2/WKUP1 VSS 12 25 P10/AN00 13 14 15 16 17 18 19 20 21 22 23 24 C VCC P46/X0A P47/X1A INITX P49/TIOB0_0/INT20_1/DA0_0 P4A/TIOB1_0/INT21_1/DA1_0 PE0/MD1 MD0 PE2/X0 PE3/X1 VSS QFN - 48 Note: The number after the underscore ("_") in pin names such as XXX_1 and XXX_2 indicates the relocated port number. For these pins, there are multiple pins that provide the same function for the same channel. Use the extended port function register (EPFR) to select the pin. Document Number: 002-05652 Rev.*A Page 13 of 108 MB9B320M Series BGA-96P-M07 (TOP VIEW) 1 2 3 4 5 6 7 8 9 10 11 A VSS UDP0 UDM0 USBVCC VSS AN18 VSS P07 TMS/ SWDIO TRSTX VSS B VCC VSS AN24 AN20 P63 P0D AN17 TDO/ SWO TCK/ SWCLK VSS TDI C AN22 AN23 VSS AN21 AN19 P0E AN16 AN15 VSS P20 AN14 D P53 P54 P55 Index AN13 AN12 VSS E P56 AN25 AN26 AN11 AN10 AN09 F VSS VSS VSS AN08 AN07 AVRH G P32 P33 P39 AN06 AN05 AVRL H P3A P3B P3C AN04 AVSS AVCC J P3D P3E VSS P3F P48 P4A P4D AN02 VSS AN01 AN00 K VCC VSS X1A INITX P45 P49 P4C P4E MD1 VSS VCC L VSS C X0A VSS P44 VSS P4B MD0 X0 X1 VSS Note: The number after the underscore ("_") in pin names such as XXX_1 and XXX_2 indicates the relocated port number. For these pins, there are multiple pins that provide the same function for the same channel. Use the extended port function register (EPFR) to select the pin. Document Number: 002-05652 Rev.*A Page 14 of 108 MB9B320M Series 4. List of Pin Functions List of pin numbers The number after the underscore ("_") in pin names such as XXX_1 and XXX_2 indicates the relocated port number. For these pins, there are multiple pins that provide the same function for the same channel. Use the extended port function register (EPFR) to select the pin. Pin No LQFP-80 1 LQFP-64 QFN-64 BGA-96 B1 1 1 I/O circuit type Pin Name LQFP-48 QFN-48 VCC Pin state type - P50 INT00_0 2 C1 2 2 AIN0_2 F N F N F N E L E L E L E L F N SIN3_1 AN22 P51 INT01_0 3 C2 3 3 BIN0_2 SOT3_1 (SDA3_1) AN23 P52 INT02_0 4 B3 4 4 ZIN0_2 SCK3_1 (SCL3_1) AN24 P53 5 D1 - - SIN6_0 TIOA1_2 INT07_2 P54 6 D2 - - SOT6_0 (SDA6_0) TIOB1_2 INT18_1 P55 7 D3 - - SCK6_0 (SCL6_0) ADTG_1 INT19_1 8 E1 - - P56 INT08_2 P30 AIN0_0 9 E2 5 - TIOB0_1 INT03_2 AN25 Document Number: 002-05652 Rev.*A Page 15 of 108 MB9B320M Series Pin No LQFP-80 LQFP-64 QFN-64 BGA-96 I/O circuit type Pin Name LQFP-48 QFN-48 Pin state type P31 BIN0_0 TIOB1_1 10 E3 6 - SCK6_1 (SCL6_1) F N E L E L E L G L G K G L G K INT04_2 AN26 P32 ZIN0_0 11 G1 7 - TIOB2_1 SOT6_1 (SDA6_1) INT05_2 P33 INT04_0 12 G2 8 - TIOB3_1 SIN6_1 ADTG_6 P39 13 G3 9 5 DTTI0X_0 INT06_0 ADTG_2 P3A RTO00_0 (PPG00_0) 14 H1 10 6 TIOA0_1 INT07_0 SUBOUT_2 RTCCO_2 P3B 15 H2 11 7 RTO01_0 (PPG00_0) TIOA1_1 P3C 16 H3 12 8 RTO02_0 (PPG02_0) TIOA2_1 INT18_2 P3D 17 J1 13 9 RTO03_0 (PPG02_0) TIOA3_1 Document Number: 002-05652 Rev.*A Page 16 of 108 MB9B320M Series Pin No LQFP-80 LQFP-64 QFN-64 BGA-96 I/O circuit type Pin Name LQFP-48 QFN-48 Pin state type P3E 18 J2 14 10 RTO04_0 (PPG04_0) G L G K TIOA4_1 INT19_2 P3F 19 J4 15 11 20 L1 16 12 21 L5 - - 22 K5 - - 23 L2 17 24 L4 - 25 K1 18 RTO05_0 (PPG04_0) TIOA5_1 - 13 VSS P44 TIOA4_0 INT10_0 P45 TIOA5_0 INT11_0 C - VSS - 14 VCC - 26 L3 19 15 27 K3 20 16 28 K4 21 17 P46 X0A P47 X1A INITX G L G L - D F D G B C E L L L L L P48 29 J5 - - INT14_1 SIN3_2 P49 18 30 K6 22 TIOB0_0 INT20_1 DA0_0 - SOT3_2 (SDA3_2) AIN0_1 P4A 19 31 J6 23 TIOB1_0 INT21_1 DA1_0 - SCK3_2 (SCL3_2) BIN0_1 Document Number: 002-05652 Rev.*A Page 17 of 108 MB9B320M Series Pin No LQFP-80 LQFP-64 QFN-64 BGA-96 I/O circuit type Pin Name LQFP-48 QFN-48 Pin state type P4B TIOB2_0 32 L7 24 - INT22_1 E L I* L I* L I* L C E K D A A A B IGTRG_0 ZIN0_1 P4C TIOB3_0 33 K7 25 - SCK7_1 (SCL7_1) INT12_0 AIN1_2 P4D TIOB4_0 34 J7 26 - SOT7_1 (SDA7_1) INT13_0 BIN1_2 P4E TIOB5_0 35 K8 27 - INT06_2 SIN7_1 ZIN1_2 36 K9 28 20 37 L8 29 21 MD1 PE0 MD0 X0 38 L9 30 22 39 L10 31 23 40 L11 32 24 VSS - 41 K11 33 - VCC - 42 J11 34 25 PE2 X1 PE3 P10 AN00 F M F N F M P11 AN01 43 J10 35 26 SIN1_1 INT02_1 FRCK0_2 WKUP1 P12 AN02 44 J8 36 27 SOT1_1 (SDA1_1) IC00_2 Document Number: 002-05652 Rev.*A Page 18 of 108 MB9B320M Series Pin No LQFP-80 45 LQFP-64 QFN-64 BGA-96 H10 37 28 I/O circuit type Pin Name LQFP-48 QFN-48 AVSS Pin state type - P14 AN04 46 H9 38 29 INT03_1 F N F N F N F N IC02_2 SIN0_1 P15 AN05 47 G10 39 30 IC03_2 SOT0_1 (SDA0_1) INT14_0 P16 AN06 48 G9 - - SCK0_1 (SCL0_1) INT15_0 P17 AN07 49 F10 40 - 50 H11 41 31 AVCC - 51 F11 42 32 AVRH - 52 G11 43 33 AVRL - SIN2_2 INT04_1 P18 53 F9 44 - AN08 SOT2_2 (SDA2_2) F M F M F N P19 54 E11 45 - AN09 SCK2_2 (SCL2_2) P1A AN10 55 E10 - - SIN4_1 INT05_1 IC00_1 Document Number: 002-05652 Rev.*A Page 19 of 108 MB9B320M Series Pin No LQFP-80 LQFP-64 QFN-64 BGA-96 I/O circuit type Pin Name LQFP-48 QFN-48 Pin state type P1B AN11 56 E9 - - SOT4_1 (SDA4_1) F N F M F M F N E N E J E J E J E J E J E L IC01_1 INT20_2 P23 57 D10 46 34 SCK0_0 (SCL0_0) TIOA7_1 AN12 P22 58 D9 47 35 SOT0_0 (SDA0_0) TIOB7_1 AN13 - - ZIN1_1 P21 SIN0_0 59 C11 48 36 INT06_1 WKUP2 BIN1_1 AN14 P20 60 C10 - - INT05_0 CROUT_0 AIN1_1 61 A10 49 37 62 B9 50 38 P00 TRSTX P01 TCK SWCLK 63 B11 51 39 64 A9 52 40 P02 TDI P03 TMS SWDIO P04 65 B8 53 41 TDO SWO P07 66 A8 - - ADTG_0 INT23_1 Document Number: 002-05652 Rev.*A Page 20 of 108 MB9B320M Series Pin No LQFP-64 BGA-96 QFN-64 LQFP-80 I/O circuit type Pin Name LQFP-48 QFN-48 Pin state type P0A 67 C8 54 - SIN4_0 INT00_2 J* N J* N J* N E L E L F I E L F M F M AN15 P0B 68 C7 55 - SOT4_0 (SDA4_0) TIOB6_1 AN16 INT18_0 P0C 69 B7 56 - SCK4_0 (SCL4_0) TIOA6_1 INT19_0 AN17 P0D 70 B6 - - RTS4_0 TIOA3_2 INT20_0 P0E 71 C6 - - CTS4_0 TIOB3_2 INT21_0 P0F NMIX SUBOUT_0 72 A6 57 42 CROUT_1 RTCCO_0 WKUP0 AN18 73 B5 - - P63 INT03_0 P62 74 C5 58 - SCK5_0 (SCL5_0) ADTG_3 AN19 P61 SOT5_0 (SDA5_0) 75 B4 59 43 TIOB2_2 UHCONX DTTI0X_2 AN20 Document Number: 002-05652 Rev.*A Page 21 of 108 MB9B320M Series Pin No LQFP-80 LQFP-64 QFN-64 BGA-96 I/O circuit type Pin Name LQFP-48 QFN-48 Pin state type P60 SIN5_0 TIOA2_2 76 C4 60 44 INT15_1 J* N WKUP3 IGTRG_1 AN21 77 A4 61 45 USBVCC - P80 78 A3 62 46 UDM0 H H H H INT16_1 P81 79 A2 63 47 UDP0 INT17_1 80 A1 64 48 VSS - - A5, A7, A11, B2, B10, C3, C9, F1, F2, F3, J3, J9, K2, K10, L6 - - VSS - *: 5 V tolerant I/O Document Number: 002-05652 Rev.*A Page 22 of 108 MB9B320M Series List of pin functions The number after the underscore ("_") in pin names such as XXX_1 and XXX_2 indicates the relocated port number. For these pins, there are multiple pins that provide the same function for the same channel. Use the extended port function register (EPFR) to select the pin. Pin function ADC Pin name ADTG_0 ADTG_1 ADTG_2 ADTG_3 ADTG_6 AN00 AN01 AN02 AN04 AN05 AN06 AN07 AN08 AN09 AN10 AN11 AN12 AN13 AN14 AN15 AN16 AN17 AN18 AN19 AN20 AN21 AN22 AN23 AN24 AN25 AN26 Function description A/D converter external trigger input pin A/D converter analog input pin. ANxx describes ADC ch.xx. Document Number: 002-05652 Rev.*A LQFP-80 66 7 13 74 12 42 43 44 46 47 48 49 53 54 55 56 57 58 59 67 68 69 72 74 75 76 2 3 4 9 10 Pin No LQFP-64 BGA-96 QFN-64 LQFP-48 QFN-48 A8 D3 G3 C5 G2 J11 J10 J8 H9 G10 G9 F10 F9 E11 E10 E9 D10 D9 C11 C8 C7 B7 A6 C5 B4 C4 C1 C2 B3 E2 E3 5 25 26 27 29 30 34 35 36 42 43 44 2 3 4 - 9 58 8 34 35 36 38 39 40 44 45 46 47 48 54 55 56 57 58 59 60 2 3 4 5 6 Page 23 of 108 MB9B320M Series Pin function Base Timer 0 Base Timer 1 Base Timer 2 Base Timer 3 Base Timer 4 Base Timer 5 Base Timer 6 Base Timer 7 Debugger Pin name TIOA0_1 TIOB0_0 TIOB0_1 TIOA1_1 TIOA1_2 TIOB1_0 TIOB1_1 TIOB1_2 TIOA2_1 TIOA2_2 TIOB2_0 TIOB2_1 TIOB2_2 TIOA3_1 TIOA3_2 TIOB3_0 TIOB3_1 TIOB3_2 TIOA4_0 TIOA4_1 TIOB4_0 TIOA5_0 TIOA5_1 TIOB5_0 TIOA6_1 TIOB6_1 TIOA7_1 TIOB7_1 SWCLK SWDIO SWO TCK TDI TDO TMS TRSTX Function description Base timer ch.0 TIOA pin Base timer ch.0 TIOB pin Base timer ch.1 TIOA pin Base timer ch.1 TIOB pin Base timer ch.2 TIOA pin Base timer ch.2 TIOB pin Base timer ch.3 TIOA pin Base timer ch.3 TIOB pin Base timer ch.4 TIOA pin Base timer ch.4 TIOB pin Base timer ch.5 TIOA pin Base timer ch.5 TIOB pin Base timer ch.6 TIOA pin Base timer ch.6 TIOB pin Base timer ch.7 TIOA pin Base timer ch.7 TIOB pin Serial wire debug interface clock input pin Serial wire debug interface data input / output pin Serial wire viewer output pin J-TAG test clock input pin J-TAG test data input pin J-TAG debug data output pin J-TAG test mode state input/output pin J-TAG test reset input pin Document Number: 002-05652 Rev.*A LQFP-80 Pin No LQFP-64 BGA-96 QFN-64 LQFP-48 QFN-48 14 30 9 15 5 31 10 6 16 76 32 11 75 17 70 33 12 71 21 18 34 22 19 35 69 68 57 58 62 H1 K6 E2 H2 D1 J6 E3 D2 H3 C4 L7 G1 B4 J1 B6 K7 G2 C6 L5 J2 J7 K5 J4 K8 B7 C7 D10 D9 B9 10 22 5 11 23 6 12 60 24 7 59 13 25 8 14 26 15 27 56 55 46 47 50 6 18 7 19 8 44 43 9 10 11 34 35 38 64 A9 52 40 65 62 63 65 64 61 B8 B9 B11 B8 A9 A10 53 50 51 53 52 49 41 38 39 41 40 37 Page 24 of 108 MB9B320M Series Pin function External Interrupt Pin name INT00_0 INT00_2 INT01_0 INT02_0 INT02_1 INT03_0 INT03_1 INT03_2 INT04_0 INT04_1 INT04_2 INT05_0 INT05_1 INT05_2 INT06_0 INT06_1 INT06_2 INT07_0 INT07_2 INT08_2 INT10_0 INT11_0 INT12_0 INT13_0 INT14_0 INT14_1 INT15_0 INT15_1 INT16_1 INT17_1 INT18_0 INT18_1 INT18_2 INT19_0 INT19_1 INT19_2 Function description External interrupt request 00 input pin External interrupt request 01 input pin External interrupt request 02 input pin External interrupt request 03 input pin External interrupt request 04 input pin External interrupt request 05 input pin External interrupt request 06 input pin External interrupt request 07 input pin External interrupt request 08 input pin External interrupt request 10 input pin External interrupt request 11 input pin External interrupt request 12 input pin External interrupt request 13 input pin External interrupt request 14 input pin External interrupt request 15 input pin External interrupt request 16 input pin External interrupt request 17 input pin External interrupt request 18 input pin External interrupt request 19 input pin Document Number: 002-05652 Rev.*A LQFP-80 Pin No LQFP-64 BGA-96 QFN-64 LQFP-48 QFN-48 2 C1 2 2 67 3 4 43 73 46 9 12 49 10 60 55 11 13 59 35 14 5 8 21 22 33 34 47 29 48 76 78 79 68 6 16 59 7 18 C8 C2 B3 J10 B5 H9 E2 G2 F10 E3 P20 E10 G1 G3 C11 K8 H1 D1 E1 L5 K5 K7 J7 G10 J5 G9 C4 A3 A2 C7 D2 H3 C11 D3 J2 54 3 4 35 38 5 8 40 6 7 9 48 27 10 25 26 39 60 62 63 55 12 56 14 3 4 26 29 5 36 6 30 44 46 47 8 10 Page 25 of 108 MB9B320M Series Pin function External Interrupt GPIO Pin name INT20_0 INT20_1 INT20_2 INT21_0 INT21_1 INT22_1 INT23_1 NMIX P00 P01 P02 P03 P04 P07 P0A P0B P0C P0D P0E P0F P10 P11 P12 P14 P15 P16 P17 P18 P19 P1A P1B P20 P21 P22 P23 Function description External interrupt request 20 input pin External interrupt request 21 input pin External interrupt request 22 input pin External interrupt request 23 input pin Non-Maskable Interrupt input pin General-purpose I/O port 0 General-purpose I/O port 1 General-purpose I/O port 2 Document Number: 002-05652 Rev.*A LQFP-80 70 30 56 71 31 32 66 72 61 62 63 64 65 66 67 68 69 70 71 72 42 43 44 46 47 48 49 53 54 55 56 60 59 58 57 Pin No LQFP-64 BGA-96 QFN-64 B6 K6 E9 C6 J6 L7 A8 A6 A10 B9 B11 A9 B8 A8 C8 C7 B7 B6 C6 A6 J11 J10 J8 H9 G10 G9 F10 F9 E11 E10 E9 C10 C11 D9 D10 22 23 24 57 49 50 51 52 53 54 55 56 57 34 35 36 38 39 40 44 45 48 47 46 LQFP-48 QFN-48 18 19 42 37 38 39 40 41 42 25 26 27 29 30 36 35 34 Page 26 of 108 MB9B320M Series Pin function GPIO Pin name P30 P31 P32 P33 P39 P3A P3B P3C P3D P3E P3F P44 P45 P46 P47 P48 P49 P4A P4B P4C P4D P4E P50 P51 P52 P53 P54 P55 P56 P60 P61 P62 P63 P80 P81 PE0 PE2 PE3 Function description General-purpose I/O port 3 General-purpose I/O port 4 General-purpose I/O port 5 General-purpose I/O port 6 General-purpose I/O port 8 General-purpose I/O port E Document Number: 002-05652 Rev.*A LQFP-80 9 10 11 12 13 14 15 16 17 18 19 21 22 26 27 29 30 31 32 33 34 35 2 3 4 5 6 7 8 76 75 74 73 78 79 36 38 39 Pin No LQFP-64 BGA-96 QFN-64 E2 E3 G1 G2 G3 H1 H2 H3 J1 J2 J4 L5 K5 L3 K3 J5 K6 J6 L7 K7 J7 K8 C1 C2 B3 D1 D2 D3 E1 C4 B4 C5 B5 A3 A2 K9 L9 L10 5 6 7 8 9 10 11 12 13 14 15 19 20 22 23 24 25 26 27 2 3 4 60 59 58 62 63 28 30 31 LQFP-48 QFN-48 5 6 7 8 9 10 11 15 16 18 19 2 3 4 44 43 46 47 20 22 23 Page 27 of 108 MB9B320M Series Pin function Multifunction Serial 0 Pin name SIN0_0 SIN0_1 SOT0_0 (SDA0_0) SOT0_1 (SDA0_1) SCK0_0 (SCL0_0) SCK0_1 (SCL0_1) Multifunction Serial 1 SIN1_1 Multifunction Serial 2 SIN2_2 SOT1_1 (SDA1_1) SOT2_2 (SDA2_2) SCK2_2 (SCL2_2) Multifunction Serial 3 SIN3_1 SIN3_2 SOT3_1 (SDA3_1) SOT3_2 (SDA3_2) SCK3_1 (SCL3_1) SCK3_2 (SCL3_2) Function description LQFP-80 Pin No LQFP-64 BGA-96 QFN-64 LQFP-48 QFN-48 59 C11 48 36 46 H9 38 29 Multi-function serial interface ch.0 output pin. This pin operates as SOT0 when it is used in a UART/CSIO/LIN (operation modes 0 to 3) 2 and as SDA0 when it is used in an I C (operation mode 4). 58 D9 47 35 47 G10 39 30 Multi-function serial interface ch.0 clock I/O pin. This pin operates as SCK0 when it is used in a CSIO (operation mode 2) and as SCL0 2 when it is used in an I C (operation mode 4). 57 D10 46 34 48 G9 - - Multi-function serial interface ch.1 input pin Multi-function serial interface ch.1 output pin. This pin operates as SOT1 when it is used in a UART/LIN (operation modes 0,1,3) . Multi-function serial interface ch.2 input pin Multi-function serial interface ch.2 output pin. This pin operates as SOT2 when it is used in a UART/CSIO/LIN (operation modes 0 to 3) 2 and as SDA2 when it is used in an I C (operation mode 4). Multi-function serial interface ch.2 clock I/O pin. This pin operates as SCK2 when it is used in a CSIO (operation mode 2) and as SCL2 2 when it is used in an I C (operation mode 4). 43 J10 35 26 44 J8 36 27 49 F10 40 - 53 F9 44 - 54 E11 45 - 2 C1 2 2 29 J5 - - Multi-function serial interface ch.3 output pin. This pin operates as SOT3 when it is used in a UART/CSIO/LIN (operation modes 0 to 3) 2 and as SDA3 when it is used in an I C (operation mode 4). 3 C2 3 3 30 K6 - - Multi-function serial interface ch.3 clock I/O pin. This pin operates as SCK3 when it is used in a CSIO (operation mode 2) and as SCL3 2 when it is used in an I C (operation mode 4). 4 B3 4 4 31 J6 - - Multi-function serial interface ch.0 input pin Multi-function serial interface ch.3 input pin Document Number: 002-05652 Rev.*A Page 28 of 108 MB9B320M Series Pin function Multifunction Serial 4 SIN4_0 SIN4_1 SOT4_0 (SDA4_0) SOT4_1 (SDA4_1) SCK4_0 (SCL4_0) RTS4_0 CTS4_0 Multifunction Serial 5 SIN5_0 SOT5_0 (SDA5_0) SCK5_0 (SCL5_0) Multifunction Serial 6 Pin No LQFP-64 BGA-96 QFN-64 LQFP-48 QFN-48 67 C8 54 - 55 E10 - - 68 C7 55 - 56 E9 - - 69 B7 56 - 70 B6 - - 71 C6 - - 76 C4 60 44 75 B4 59 43 74 C5 58 - 5 D1 - - 12 G2 8 - Multi-function serial interface ch.6 output pin. This pin operates as SOT6 when it is used in a UART/CSIO/LIN (operation modes 0 to 3) and 2 as SDA6 when it is used in an I C (operation mode 4). 6 D2 - - 11 G1 7 - Multi-function serial interface ch.6 clock I/O pin. This pin operates as SCK6 when it is used in a CSIO (operation mode 2) and as SCL6 when it 2 is used in an I C (operation mode 4). 7 D3 - - 10 E3 6 - Pin name SIN6_0 SIN6_1 SOT6_0 (SDA6_0) SOT6_1 (SDA6_1) SCK6_0 (SCL6_0) SCK6_1 (SCL6_1) Function description Multi-function serial interface ch.4 input pin Multi-function serial interface ch.4 output pin. This pin operates as SOT4 when it is used in a UART/CSIO/LIN (operation modes 0 to 3) and 2 as SDA4 when it is used in an I C (operation mode 4). Multi-function serial interface ch.4 clock I/O pin. This pin operates as SCK4 when it is used in a CSIO (operation mode 2) and as SCL4 when it 2 is used in an I C (operation mode 4). Multi-function serial interface ch.4 RTS output pin Multi-function serial interface ch.4 CTS input pin Multi-function serial interface ch.5 input pin Multi-function serial interface ch.5 output pin. This pin operates as SOT5 when it is used in a UART/CSIO/LIN (operation modes 0 to 3) and 2 as SDA5 when it is used in an I C (operation mode 4). Multi-function serial interface ch.5 clock I/O pin. This pin operates as SCK5 when it is used in a CSIO (operation mode 2) and as SCL5 when it 2 is used in an I C (operation mode 4). Multi-function serial interface ch.6 input pin Document Number: 002-05652 Rev.*A LQFP-80 Page 29 of 108 MB9B320M Series Pin function Multifunction Serial 7 Pin name SIN7_1 SOT7_1 (SDA7_1) SCK7_1 (SCL7_1) Multifunction Timer 0 DTTI0X_0 DTTI0X_2 FRCK0_2 Function description IC01_1 IC02_2 LQFP-48 QFN-48 Multi-function serial interface ch.7 input pin Multi-function serial interface ch.7 output pin. This pin operates as SOT7 when it is used in a UART/CSIO/LIN (operation modes 0 to 3) and 2 as SDA7 when it is used in an I C (operation mode 4). Multi-function serial interface ch.7 clock I/O pin. This pin operates as SCK7 when it is used in a CSIO (operation mode 2) and as SCL7 when it 2 is used in an I C (operation mode 4). 35 K8 27 - 34 J7 26 - 33 K7 25 - Input signal of waveform generator to control outputs RTO00 to RTO05 of Multi-function timer 0 13 G3 9 5 75 B4 59 43 43 J10 35 26 55 E10 - - 44 J8 36 27 56 E9 - - 46 H9 38 29 47 G10 39 30 16-bit free-run timer ch.0 external clock input pin IC00_1 IC00_2 LQFP-80 Pin No LQFP-64 BGA-96 QFN-64 16-bit input capture input pin of Multi-function timer 0. ICxx describes channel number. IC03_2 RTO00_0 (PPG00_0) Waveform generator output pin of Multi-function timer 0. This pin operates as PPG00 when it is used in PPG0 output mode. 14 H1 10 6 RTO01_0 (PPG00_0) Waveform generator output pin of Multi-function timer 0. This pin operates as PPG00 when it is used in PPG0 output mode. 15 H2 11 7 RTO02_0 (PPG02_0) Waveform generator output pin of Multi-function timer 0. This pin operates as PPG02 when it is used in PPG0 output mode. 16 H3 12 8 RTO03_0 (PPG02_0) Waveform generator output pin of Multi-function timer 0. This pin operates as PPG02 when it is used in PPG0 output mode. 17 J1 13 9 RTO04_0 (PPG04_0) Waveform generator output pin of Multi-function timer 0. This pin operates as PPG04 when it is used in PPG0 output mode. 18 J2 14 10 RTO05_0 (PPG04_0) Waveform generator output pin of Multi-function timer 0. This pin operates as PPG04 when it is used in PPG0 output mode. 19 J4 15 11 32 L7 24 - 76 C4 60 44 IGTRG_0 IGTRG_1 PPG IGBT mode external trigger input pin Document Number: 002-05652 Rev.*A Page 30 of 108 MB9B320M Series Pin function Quadrature Position/ Revolution Counter 0 Quadrature Position/ Revolution Counter 1 USB Real-time clock Low-Power Consumption Mode Pin name AIN0_0 AIN0_1 AIN0_2 BIN0_0 BIN0_1 BIN0_2 ZIN0_0 ZIN0_1 ZIN0_2 AIN1_1 AIN1_2 BIN1_1 BIN1_2 ZIN1_1 ZIN1_2 UDM0 UDP0 UHCONX RTCCO_0 RTCCO_2 SUBOUT_0 SUBOUT_2 WKUP0 WKUP1 WKUP2 WKUP3 DAC RESET DA0 DA1 INITX Document Number: 002-05652 Rev.*A Function description QPRC ch.0 AIN input pin QPRC ch.0 BIN input pin QPRC ch.0 ZIN input pin QPRC ch.1 AIN input pin QPRC ch.1 BIN input pin QPRC ch.1 ZIN input pin USB function/host D – pin USB function/host D + pin USB external pull-up control pin 0.5 seconds pulse output pin of Real-time clock Sub clock output pin Deep standby mode return signal input pin 0 Deep standby mode return signal input pin 1 Deep standby mode return signal input pin 2 Deep standby mode return signal input pin 3 D/A converter ch.0 analog output pin D/A converter ch.1 analog output pin External Reset Input pin. A reset is valid when INITX="L". Pin No LQFP-64 BGA-96 QFN-64 LQFP-48 QFN-48 9 30 2 10 31 3 11 32 4 60 33 59 34 58 35 78 79 75 72 14 72 14 E2 K6 C1 E3 J6 C2 G1 L7 B3 C10 K7 C11 J7 D9 K8 A3 A2 B4 A6 H1 A6 H1 5 22 2 6 23 3 7 24 4 25 26 27 62 63 59 57 10 57 10 2 3 4 46 47 43 42 6 42 6 72 A6 57 42 43 J10 35 26 59 C11 48 36 76 C4 60 44 30 31 K6 J6 22 23 18 19 28 K4 21 17 LQFP-80 Page 31 of 108 MB9B320M Series Pin function Pin name Mode MD0 MD1 POWER GND CLOCK Analog POWER VCC VCC VCC USBVCC VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS X0 X0A X1 X1A CROUT_0 CROUT_1 AVCC AVRH Analog GND AVSS AVRL C pin C Function description Mode 0 pin. During normal operation, MD0="L" must be input. During serial programming to Flash memory, MD0="H" must be input. Mode 1 pin. During serial programming to Flash memory, MD1="L" must be input. Power supply Pin Power supply Pin Power supply Pin 3.3V Power supply port for USB I/O GND Pin GND Pin GND Pin GND Pin GND Pin GND Pin GND Pin GND Pin GND Pin GND Pin GND Pin GND Pin GND Pin GND Pin GND Pin GND Pin GND Pin GND Pin GND Pin GND Pin Main clock (oscillation) input pin Sub clock (oscillation) input pin Main clock (oscillation) I/O pin Sub clock (oscillation) I/O pin Built-in high-speed CR-osc clock output port A/D converter and D/A converter analog power supply pin A/D converter analog reference voltage input pin A/D converter and D/A converter GND pin A/D converter analog reference voltage input pin Power supply stabilization capacity pin Document Number: 002-05652 Rev.*A Pin No LQFP-64 BGA-96 QFN-64 LQFP-48 QFN-48 37 L8 29 21 36 K9 28 20 1 25 41 77 20 24 40 80 38 26 39 27 60 72 B1 K1 K11 A4 F1 F2 F3 B2 L1 K2 J3 L6 L4 L11 K10 J9 B10 C9 D11 A11 A7 C3 A5 A1 L9 L3 L10 K3 C10 A6 1 18 33 61 16 32 64 30 19 31 20 57 1 14 45 12 24 48 22 15 23 16 42 50 H11 41 31 51 F11 42 32 45 H10 37 28 52 G11 43 33 23 L2 17 13 LQFP-80 Page 32 of 108 MB9B320M Series 5. I/O Circuit Type Type Circuit Remarks It is possible to select the main oscillation / GPIO function A Pull-up When the main oscillation is selected. resistor P-ch P-ch Digital output X1A • Oscillation feedback resistor : Approximately 1 MΩ • With Standby mode control When the GPIO is selected. N-ch Digital output R Pull-up resistor control • • • • • CMOS level output. CMOS level hysteresis input With pull-up resistor control With standby mode control Pull-up resistor : Approximately 50 kΩ • IOH= -4 mA, IOL= 4 mA Digital input Standby mode control Clock input Feedback resistor Standby mode control Digital input Standby mode control Pull-up resistor R P-ch P-ch Digital output N-ch Digital output X0A Pull-up resistor control • CMOS level hysteresis input • Pull-up resistor : Approximately 50 kΩ B Pull-up resistor Digital input Document Number: 002-05652 Rev.*A Page 33 of 108 MB9B320M Series Type Circuit Remarks C Digital input • Open drain output • CMOS level hysteresis input Digital output N-ch It is possible to select the sub oscillation / GPIO function D Pull-up When the sub oscillation is selected. resistor P-ch P-ch Digital output X1A • Oscillation feedback resistor : Approximately 5 MΩ • With Standby mode control When the GPIO is selected. N-ch Digital output R Pull-up resistor control • • • • • CMOS level output. CMOS level hysteresis input With pull-up resistor control With standby mode control Pull-up resistor : Approximately 50 kΩ • IOH= -4 mA, IOL= 4 mA Digital input Standby mode control Clock input Feedback resistor Standby mode control Digital input Standby mode control Pull-up resistor R P-ch P-ch Digital output N-ch Digital output X0A Pull-up resistor control Document Number: 002-05652 Rev.*A Page 34 of 108 MB9B320M Series Type Circuit Remarks • • • • • E P-ch P-ch N-ch Digital output Digital output CMOS level output CMOS level hysteresis input With pull-up resistor control With standby mode control Pull-up resistor : Approximately 50 kΩ • IOH= -4 mA, IOL= 4 mA • When this pin is used as an I2C pin, the digital output P-ch transistor is always off • +B input is available R Pull-up resistor control Digital input Standby mode control F P-ch P-ch N-ch R Digital output Digital output • • • • • • • CMOS level output CMOS level hysteresis input With input control Analog input With pull-up resistor control With standby mode control Pull-up resistor : Approximately 50 kΩ • IOH= -4 mA, IOL= 4 mA • When this pin is used as an I2C pin, the digital output P-ch transistor is always off • +B input is available Pull-up resistor control Digital input Standby mode control Analog input Input control Document Number: 002-05652 Rev.*A Page 35 of 108 MB9B320M Series Type Circuit Remarks • • • • • G CMOS level output CMOS level hysteresis input With pull-up resistor control With standby mode control Pull-up resistor : Approximately 50 kΩ • IOH= -12 mA, IOL= 12 mA • +B input is available P-ch P-ch Digital output N-ch Digital output R Pull-up resistor control Digital input Standby mode control It is possible to select the USB I/O / GPIO function. H GPIO Digital output GPIO Digital input/output direction When the USB I/O is selected. GPIO Digital input • Full-speed, Low-speed control GPIO Digital input circuit control When the GPIO is selected. UDP output UDP0/P81 USB Full-speed/Low-speed control UDP input Differential UDM0/P80 • CMOS level output • CMOS level hysteresis input • With standby mode control Differential input USB/GPIO select UDM input UDM output USB Digital input/output direction GPIO Digital output GPIO Digital input/output direction GPIO Digital input GPIO Digital input circuit control Document Number: 002-05652 Rev.*A Page 36 of 108 MB9B320M Series Type Circuit Remarks I P-ch P-ch N-ch Digital output Digital output R • • • • • • CMOS level output CMOS level hysteresis input 5 V tolerant With pull-up resistor control With standby mode control Pull-up resistor : Approximately 50 kΩ • IOH= -4 mA, IOL= 4 mA • Available to control PZR registers. • When this pin is used as an I2C pin, the digital output P-ch transistor is always off Pull-up resistor control Digital input Standby mode control J P-ch P-ch N-ch R Digital output Digital output • • • • • • • • CMOS level output CMOS level hysteresis input With input control Analog input 5 V tolerant With pull-up resistor control With standby mode control Pull-up resistor : Approximately 50 kΩ • IOH= -4 mA, IOL= 4 mA • Available to control PZR registers. • When this pin is used as an I2C pin, the digital output P-ch transistor is always off Pull-up resistor control Digital input Standby mode control Analog input Input control CMOS level hysteresis input K Mode input Document Number: 002-05652 Rev.*A Page 37 of 108 MB9B320M Series Type Circuit L P-ch R P-ch Digital output N-ch Digital output Remarks • • • • • • • CMOS level output CMOS level hysteresis input With input control Analog output With pull-up resistor control With standby mode control Pull-up resistor : Approximately 50 kΩ • IOH = -4 mA, IOL = 4 mA Pull-up resistor control Digital input Standby mode Control Analog output Document Number: 002-05652 Rev.*A Page 38 of 108 MB9B320M Series 6. Handling Precautions Any semiconductor devices have inherently a certain rate of failure. The possibility of failure is greatly affected by the conditions in which they are used (circuit conditions, environmental conditions, etc.). This page describes precautions that must be observed to minimize the chance of failure and to obtain higher reliability from your Cypress semiconductor devices. 6.1 Precautions for Product Design This section describes precautions when designing electronic equipment using semiconductor devices. Absolute Maximum Ratings Semiconductor devices can be permanently damaged by application of stress (voltage, current, temperature, etc.) in excess of certain established limits, called absolute maximum ratings. Do not exceed these ratings. Recommended Operating Conditions Recommended operating conditions are normal operating ranges for the semiconductor device. All the device's electrical characteristics are warranted when operated within these ranges. Always use semiconductor devices within the recommended operating conditions. 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 sales representative beforehand. Processing and Protection of Pins These precautions must be followed when handling the pins which connect semiconductor devices to power supply and input/output functions. 1. Preventing Over-Voltage and Over-Current Conditions Exposure to voltage or current levels in excess of maximum ratings at any pin is likely to cause deterioration within the device, and in extreme cases leads to permanent damage of the device. Try to prevent such overvoltage or over-current conditions at the design stage. 2. Protection of Output Pins Shorting of output pins to supply pins or other output pins, or connection to large capacitance can cause large current flows. Such conditions if present for extended periods of time can damage the device. Therefore, avoid this type of connection. 3. Handling of Unused Input Pins Unconnected input pins with very high impedance levels can adversely affect stability of operation. Such pins should be connected through an appropriate resistance to a power supply pin or ground pin. Latch-up Semiconductor devices are constructed by the formation of P-type and N-type areas on a substrate. When subjected to abnormally high voltages, internal parasitic PNPN junctions (called thyristor structures) may be formed, causing large current levels in excess of several hundred mA to flow continuously at the power supply pin. This condition is called latch-up. CAUTION: The occurrence of latch-up not only causes loss of reliability in the semiconductor device, but can cause injury or damage from high heat, smoke or flame. To prevent this from happening, do the following: 1. Be sure that voltages applied to pins do not exceed the absolute maximum ratings. This should include attention to abnormal noise, surge levels, etc. 2. Be sure that abnormal current flows do not occur during the power-on sequence. Observance of Safety Regulations and Standards Most countries in the world have established standards and regulations regarding safety, protection from electromagnetic interference, etc. Customers are requested to observe applicable regulations and standards in the design of products. Fail-Safe Design Any semiconductor devices have inherently a certain rate 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. Document Number: 002-05652 Rev.*A Page 39 of 108 MB9B320M Series Precautions Related to Usage of Devices Cypress semiconductor devices are intended for use in standard applications (computers, office automation and other office equipment, industrial, communications, and measurement equipment, personal or household devices, etc.). CAUTION: Customers considering the use of our products in special applications where failure or abnormal operation may directly affect human lives or cause physical injury or property damage, or where extremely high levels of reliability are demanded (such as aerospace systems, atomic energy controls, sea floor repeaters, vehicle operating controls, medical devices for life support, etc.) are requested to consult with sales representatives before such use. The company will not be responsible for damages arising from such use without prior approval. 6.2 Precautions for Package Mounting Package mounting may be either lead insertion type or surface mount type. In either case, for heat resistance during soldering, you should only mount under Cypress's recommended conditions. For detailed information about mount conditions, contact your sales representative. Lead Insertion Type Mounting of lead insertion type packages onto printed circuit boards may be done by two methods: direct soldering on the board, or mounting by using a socket. Direct mounting onto boards normally involves processes for inserting leads into through-holes on the board and using the flow soldering (wave soldering) method of applying liquid solder. In this case, the soldering process usually causes leads to be subjected to thermal stress in excess of the absolute ratings for storage temperature. Mounting processes should conform to Cypress recommended mounting conditions. If socket mounting is used, differences in surface treatment of the socket contacts and IC lead surfaces can lead to contact deterioration after long periods. For this reason it is recommended that the surface treatment of socket contacts and IC leads be verified before mounting. Surface Mount Type Surface mount packaging has longer and thinner leads than lead-insertion packaging, and therefore leads are more easily deformed or bent. The use of packages with higher pin counts and narrower pin pitch results in increased susceptibility to open connections caused by deformed pins, or shorting due to solder bridges. You must use appropriate mounting techniques. Cypress. recommends the solder reflow method, and has established a ranking of mounting conditions for each product. Users are advised to mount packages in accordance with Cypress ranking of recommended conditions. Lead-Free Packaging CAUTION: When ball grid array (BGA) packages with Sn-Ag-Cu balls are mounted using Sn-Pb eutectic soldering, junction strength may be reduced under some conditions of use. Storage of Semiconductor Devices Because plastic chip packages are formed from plastic resins, exposure to natural environmental conditions will cause absorption of moisture. During mounting, the application of heat to a package that has absorbed moisture can cause surfaces to peel, reducing moisture resistance and causing packages to crack. To prevent, do the following: 1. Avoid exposure to rapid temperature changes, which cause moisture to condense inside the product. Store products in locations where temperature changes are slight. 2. Use dry boxes for product storage. Products should be stored below 70% relative humidity, and at temperatures between 5°C and 30°C. When you open Dry Package that recommends humidity 40% to 70% relative humidity. 3. When necessary, Cypress. packages semiconductor devices in highly moisture-resistant aluminum laminate bags, with a silica gel desiccant. Devices should be sealed in their aluminum laminate bags for storage. 4. Avoid storing packages where they are exposed to corrosive gases or high levels of dust. Baking Packages that have absorbed moisture may be de-moisturized by baking (heat drying). Follow the Cypress recommended conditions for baking. Condition: 125°C/24 h Document Number: 002-05652 Rev.*A Page 40 of 108 MB9B320M Series Static Electricity Because semiconductor devices are particularly susceptible to damage by static electricity, you must take the following precautions: 1. Maintain relative humidity in the working environment between 40% and 70%. Use of an apparatus for ion generation may be needed to remove electricity. 2. Electrically ground all conveyors, solder vessels, soldering irons and peripheral equipment. 3. Eliminate static body electricity by the use of rings or bracelets connected to ground through high resistance (on the level of 1 MΩ). Wearing of conductive clothing and shoes, use of conductive floor mats and other measures to minimize shock loads is recommended. 4. Ground all fixtures and instruments, or protect with anti-static measures. 5. Avoid the use of styrofoam or other highly static-prone materials for storage of completed board assemblies. 6.3 Precautions for Use Environment Reliability of semiconductor devices depends on ambient temperature and other conditions as described above. For reliable performance, do the following: 1. Humidity Prolonged use in high humidity can lead to leakage in devices as well as printed circuit boards. If high humidity levels are anticipated, consider anti-humidity processing. 2. Discharge of Static Electricity When high-voltage charges exist close to semiconductor devices, discharges can cause abnormal operation. In such cases, use anti-static measures or processing to prevent discharges. 3. Corrosive Gases, Dust, or Oil Exposure to corrosive gases or contact with dust or oil may lead to chemical reactions that will adversely affect the device. If you use devices in such conditions, consider ways to prevent such exposure or to protect the devices. 4. Radiation, Including Cosmic Radiation Most devices are not designed for environments involving exposure to radiation or cosmic radiation. Users should provide shielding as appropriate. 5. Smoke, Flame CAUTION: Plastic molded devices are flammable, and therefore should not be used near combustible substances. If devices begin to smoke or burn, there is danger of the release of toxic gases. Customers considering the use of Cypress products in other special environmental conditions should consult with sales representatives. Document Number: 002-05652 Rev.*A Page 41 of 108 MB9B320M Series 7. Handling Devices Power supply pins In products with multiple VCC and VSS pins, respective pins at the same potential are interconnected within the device in order to prevent malfunctions such as latch-up. However, all of these pins should be connected externally to the power supply or ground lines in order to reduce electromagnetic emission levels, to prevent abnormal operation of strobe signals caused by the rise in the ground level, and to conform to the total output current rating. Moreover, connect the current supply source with each Power supply pin and GND pin of this device at low impedance. It is also advisable that a ceramic capacitor of approximately 0.1 µF be connected as a bypass capacitor between each Power supply pin and GND pin, between AVCC pin and AVSS pin, between AVRH pin and AVRL pin near this device. Stabilizing power supply voltage A malfunction may occur when the power supply voltage fluctuates rapidly even though the fluctuation is within the recommended operating conditions of the VCC power supply voltage. As a rule, with voltage stabilization, suppress the voltage fluctuation so that the fluctuation in VCC ripple (peak-to-peak value) at the commercial frequency (50 Hz/60 Hz) does not exceed 10% of the VCC value in the recommended operating conditions, and the transient fluctuation rate does not exceed 0.1 V/μs when there is a momentary fluctuation on switching the power supply. Crystal oscillator circuit Noise near the X0/X1 and X0A/X1A pins may cause the device to malfunction. Design the printed circuit board so that X0/X1, X0A/X1A pins, the crystal oscillator, and the bypass capacitor to ground are located as close to the device as possible. It is strongly recommended that the PC board artwork be designed such that the X0/X1 and X0A/X1A pins are surrounded by ground plane as this is expected to produce stable operation. Evaluate oscillation of your using crystal oscillator by your mount board. Sub crystal oscillator This series sub oscillator circuit is low gain to keep the low current consumption. The crystal oscillator to fill the following conditions is recommended for sub crystal oscillator to stabilize the oscillation. Surface mount type Size : More than 3.2 mm × 1.5 mm Load capacitance : Approximately 6 pF to 7 pF Lead type Load capacitance : Approximately 6 pF to 7 pF Using an external clock When using an external clock as an input of the main clock, set X0/X1 to the external clock input, and input the clock to X0. X1(PE3) can be used as a general-purpose I/O port. Similarly, when using an external clock as an input of the sub clock, set X0A/X1A to the external clock input, and input the clock to X0A. X1A (P47) can be used as a general-purpose I/O port. Example of Using an External Clock Device X0(X0A) Can be used as general-purpose I/O ports. Document Number: 002-05652 Rev.*A X1(PE3), X1A (P47) Set as External clock input Page 42 of 108 MB9B320M Series Handling when using Multi-function serial pin as I2C pin If it is using the multi-function serial pin as I2C pins, P-ch transistor of digital output is always disabled. However, I2C pins need to keep the electrical characteristic like other pins and not to connect to the external I2C bus system with power OFF. C Pin This series contains the regulator. Be sure to connect a smoothing capacitor (CS) for the regulator between the C pin and the GND pin. Please use a ceramic capacitor or a capacitor of equivalent frequency characteristics as a smoothing capacitor. However, some laminated ceramic capacitors have the characteristics of capacitance variation due to thermal fluctuation (F characteristics and Y5V characteristics). Please select the capacitor that meets the specifications in the operating conditions to use by evaluating the temperature characteristics of a capacitor. A smoothing capacitor of about 4.7μF would be recommended for this series. C Device CS VSS GND Mode pins (MD0) Connect the MD pin (MD0) directly to VCC or VSS pins. Design the printed circuit board such that the pull-up/down resistance stays low, as well as the distance between the mode pins and VCC pins or VSS pins is as short as possible and the connection impedance is low, when the pins are pulled-up/down such as for switching the pin level and rewriting the Flash memory data. It is because of preventing the device erroneously switching to test mode due to noise. Notes on power-on Turn power on/off in the following order or at the same time. If not using the A/D converter and D/A converter, connect AVCC = VCC and AVSS = VSS. Turning on : VCC →USBVCC VCC → AVCC → AVRH Turning off : USBVCC → VCC AVRH → AVCC → VCC Serial Communication There is a possibility to receive wrong data due to the noise or other causes on the serial communication. Therefore, design a printed circuit board so as to avoid noise. Consider the case of receiving wrong data due to noise, perform error detection such as by applying a checksum of data at the end. If an error is detected, retransmit the data. Differences in features among the products with different memory sizes and between Flash memory products and MASK products The electric characteristics including power consumption, ESD, latch-up, noise characteristics, and oscillation characteristics among the products with different memory sizes and between Flash memory products and MASK products are different because chip layout and memory structures are different. If you are switching to use a different product of the same series, please make sure to evaluate the electric characteristics. Pull-Up function of 5 V tolerant I/O Please do not input the signal more than VCC voltage at the time of Pull-Up function use of 5 V tolerant I/O. Document Number: 002-05652 Rev.*A Page 43 of 108 MB9B320M Series 8. Block Diagram MB9BF321K/L/M, F322K/L/M, F324K/L/M TRSTX,TCK, TDI,TMS TDO SRAM0 8/16 Kbytes SWJ-DP ROM Table Multi-layer AHB (Max 72MHz) Cortex-M3 Core I @72MHz(Max) D NVIC Sys AHB-APB Bridge: APB0(Max 40MHz) Dual-Timer WatchDog Timer (Software) INITX Clock Reset Generator WatchDog Timer (Hardware) SRAM1 8/16 Kbytes On-Chip Flash 64+32 Kbytes/ 128+32 Kbytes/ 256+32 Kbytes Flash I/F Security USB2.0 PHY (Host/ Func) USBVCC UDP0/UDM0 UHCONX DMAC 8ch. CSV CLK Main Osc Sub Osc PLL CR 4MHz Source Clock AHB-AHB Bridge X0 X1 X0A X1A CR 100kHz CROUT ADTGx DAx TIOAx TIOBx AINx BINx ZINx Unit 0 Unit 1 USB Clock Ctrl 10-bit D/A Converter 2units LVD Ctrl LVD IRQ-Monitor Regulator Base Timer 16-bit 8ch./ 32-bit 4ch. QPRC 2ch. A/D Activation Compare 2ch. IC0x FRCKx 16-bit Input Capture 4ch. 16-bit Free-run Timer 3ch. 16-bit Output Compare 6ch. DTTI0X RTO0x IGTRG_x Waveform Generator 3ch. 16-bit PPG 3ch. Multi-function Timer AHB-APB Bridge : APB2 (Max 40MHz) ANxx 12-bit A/D Converter AHB-APB Bridge : APB1 (Max 40MHz) AVCC, AVSS, AVRH, AVRL PLL Power-On Reset C CRC Accelerator RTCCO_x, SUBOUT_x Real-Time Colck Watch Counter External Interrupt Controller 16-pin + NMI INTx NMIX MD0, MD1 MODE-Ctrl Deep Standby Ctrl WKUPx P0x, P1x, GPIO PIN-Function-Ctrl ・ ・ ・ PFx SCKx Multi-Function Serial I/F 8ch. (with FIFO ch.0/1/3/4) HW flow control(ch.4) SINx SOTx CTS4 RTS4 Document Number: 002-05652 Rev.*A Page 44 of 108 MB9B320M Series 9. Memory Size See “Memory size” in “Product Lineup” to confirm the memory size. 10. Memory Map Memory Map (1) Peripherals Area 0x41FF_FFFF Reserved 0xFFFF_FFFF Reserved 0xE010_0000 0xE000_0000 Cortex-M3 Private Peripherals 0x4006_1000 0x4006_0000 0x4005_0000 Reserved 0x4004_0000 0x4003_C000 0x4003_B000 0x7000_0000 0x6000_0000 0x4003_A000 External DeviceArea 0x4003_9000 0x4003_8000 0x4003_7000 Reserved 0x4400_0000 0x4200_0000 0x4000_0000 0x2400_0000 0x2200_0000 0x2008_0000 0x2000_0000 0x1FF8_0000 0x0020_8000 0x0020_0000 0x0010_4000 See " Memory Map (2)" for the memory size details. 0x0010_0000 0x4003_6000 0x4003_5000 32Mbyte Bit band alias Peripherals Reserved 32Mbyte Bit band alias Reserved SRAM1 SRAM0 Reserved Flash(Work area) Reserved Security/CR Trim 0x4003_4000 0x4003_3000 0x4003_2000 0x4003_1000 0x4003_0000 0x4002_F000 0x4002_E000 0x4002_9000 0x4002_8000 0x4002_7000 0x4002_6000 0x4002_5000 0x4002_4000 Reserved 0x4002_1000 0x4002_0000 0x4001_6000 Flash(Main area) 0x4001_5000 0x4001_3000 0x0000_0000 0x4001_2000 0x4001_1000 0x4001_0000 0x4000_1000 0x4000_0000 Document Number: 002-05652 Rev.*A DMAC Reserved USB ch.0 Reserved RTC Watch Counter CRC MFS Reserved USB Clock Ctrl LVD/DS mode Reserved GPIO Reserved Int-Req.Read EXTI Reserved CR Trim Reserved D/AC A/DC QPRC Base Timer PPG MFT unit0 Reserved Dual Timer Reserved SW WDT HW WDT Clock/Reset Reserved Flash I/F Page 45 of 108 MB9B320M Series Memory Map (2) MB9BF324K/L/M MB9BF322K/L/M 0x2008_0000 MB9BF321K/L/M 0x2008_0000 Reserved 0x2008_0000 Reserved Reserved 0x2000_4000 0x2000_2000 SRAM1 16Kbytes 0x2000_0000 0x2000_0000 SRAM0 16Kbytes 0x1FFF_E000 0x2000_2000 SRAM1 8Kbytes SRAM0 8Kbytes 0x2000_0000 0x1FFF_E000 SRAM1 8Kbytes SRAM0 8Kbytes 0x1FFF_C000 Reserved Reserved 0x0020_0000 Reserved 0x0010_0000 0x0020_8000 0x0020_0000 Reserved 0x0010_4000 0x0010_2000 SA7(8KB) SA6(8KB) SA5(8KB) SA4(8KB) Reserved 0x0010_4000 CR trimming Security 0x0010_2000 0x0010_0000 SA7(8KB) SA6(8KB) SA5(8KB) SA4(8KB) Flash(Work area) 32Kbytes 0x0020_8000 Flash(Work area) 32Kbytes 0x0020_0000 SA7(8KB) SA6(8KB) SA5(8KB) SA4(8KB) Flash(Work area) 32Kbytes 0x0020_8000 Reserved 0x0010_4000 CR trimming Security 0x0010_2000 0x0010_0000 CR trimming Security Reserved 0x0004_0000 Reserved SA11(64KB) 0x0002_0000 SA8(48KB) 0x0000_0000 SA3(8KB) SA2(8KB) SA8(48KB) 0x0000_0000 SA3(8KB) SA2(8KB) 0x0001_0000 SA8(48KB) 0x0000_0000 SA3(8KB) SA2(8KB) Flash(Main area) 64Kbytes SA9(64KB) Flash(Main area) 128Kbytes SA9(64KB) Flash(Main area) 256Kbytes SA10(64KB) Reserved Refer to the programming manual for the detail of Flash main area. MB9AB40N/A40N/340N/140N/150R,MB9B520M/320M/120M Series Flash Programming Manual Document Number: 002-05652 Rev.*A Page 46 of 108 MB9B320M Series Peripheral Address Map Start address End address Bus Peripherals 0x4000_0000 0x4000_0FFF 0x4000_1000 0x4000_FFFF 0x4001_0000 0x4001_0FFF Clock/Reset Control 0x4001_1000 0x4001_1FFF Hardware Watchdog timer 0x4001_2000 0x4001_2FFF 0x4001_3000 0x4001_4FFF 0x4001_5000 0x4001_5FFF Dual-Timer 0x4001_6000 0x4001_FFFF Reserved 0x4002_0000 0x4002_0FFF Multi-function timer unit0 0x4002_1000 0x4002_3FFF Reserved 0x4002_4000 0x4002_4FFF PPG 0x4002_5000 0x4002_5FFF Base Timer 0x4002_6000 0x4002_6FFF 0x4002_7000 0x4002_7FFF 0x4002_8000 0x4002_8FFF D/A Converter 0x4002_9000 0x4002_DFFF Reserved 0x4002_E000 0x4002_EFFF Built-in CR trimming 0x4002_F000 0x4002_FFFF Reserved 0x4003_0000 0x4003_0FFF External Interrupt 0x4003_1000 0x4003_1FFF Interrupt Source Check Register 0x4003_2000 0x4003_2FFF Reserved 0x4003_3000 0x4003_3FFF GPIO 0x4003_4000 0x4003_4FFF Reserved 0x4003_5000 0x4003_57FF Low-Voltage Detector 0x4003_5800 0x4003_5FFF 0x4003_6000 0x4003_6FFF 0x4003_7000 0x4003_7FFF Reserved 0x4003_8000 0x4003_8FFF Multi-function serial Interface 0x4003_9000 0x4003_9FFF CRC 0x4003_A000 0x4003_AFFF Watch Counter 0x4003_B000 0x4003_BFFF Real-time clock 0x4003_C000 0x4003_FFFF Reserved 0x4004_0000 0x4004_FFFF USB ch.0 0x4005_0000 0x4005_FFFF 0x4006_0000 0x4006_0FFF 0x4006_1000 0x41FF_FFFF Document Number: 002-05652 Rev.*A AHB APB0 APB1 APB2 AHB Flash Memory I/F register Reserved Software Watchdog timer Reserved Quadrature Position/Revolution Counter (QPRC) A/D Converter Deep standby mode Controller USB clock generator Reserved DMAC register Reserved Page 47 of 108 MB9B320M Series 11. Pin Status in Each CPU State The terms used for pin status have the following meanings. INITX=0 This is the period when the INITX pin is the "L" level. INITX=1 This is the period when the INITX pin is the "H" level. SPL=0 This is the status that the standby pin level setting bit (SPL) in the standby mode control register (STB_CTL) is set to "0". SPL=1 This is the status that the standby pin level setting bit (SPL) in the standby mode control register (STB_CTL) is set to "1". Input enabled Indicates that the input function can be used. Internal input fixed at "0" This is the status that the input function cannot be used. Internal input is fixed at "L". Hi-Z Indicates that the pin drive transistor is disabled and the pin is put in the Hi-Z state. Setting disabled Indicates that the setting is disabled. Maintain previous state Maintains the state that was immediately prior to entering the current mode. If a built-in peripheral function is operating, the output follows the peripheral function. If the pin is being used as a port, that output is maintained. Analog input is enabled Indicates that the analog input is enabled. Trace output Indicates that the trace function can be used. GPIO selected In Deep standby mode, pins switch to the general-purpose I/O port. Document Number: 002-05652 Rev.*A Page 48 of 108 MB9B320M Series Pin status type List of Pin Status Function group Power-o n reset or low-volta ge detectio n state Power supply unstable - INITX input state Device internal reset state Power supply stable INITX = 0 - INITX = 1 - Run mode or SLEEP mode state Power supply stable INITX = 1 - Timer mode, RTC mode, or STOP mode state Deep standby RTC mode or Deep standby STOP mode state Power supply stable Power supply stable INITX = 1 SPL = 0 SPL = 1 INITX = 1 SPL = 0 SPL = 1 GPIO Hi-Z / selected Internal Internal input input fixed at fixed at "0" "0" Return from Deep standby mode state Power supply stable INITX = 1 - Maintain previous state Hi-Z / Internal input fixed at "0" Input enabled Input enabled Input enabled Input enabled Input enabled Setting disabled Maintain previous state Maintain previous state Hi-Z / Internal input fixed at "0" GPIO selected Internal input fixed at "0" Hi-Z / Internal input fixed at "0" GPIO selected Setting disabled Maintain previous state Maintain previous state Maintain previous state/Wh en oscillation 1 stops* , Hi-Z / Internal input fixed at "0" Hi-Z / Internal input fixed at "0" Maintain previous state/Wh en oscillation 1 stops* , Hi-Z / Internal input fixed at "0" GPIO selected Setting disabled Setting disabled Setting disabled Maintain previous state Main crystal oscillator input pin/ External main clock input selected Input enabled Input enabled Input enabled Input enabled GPIO selected A GPIO selected External main clock input selected Setting disabled Setting disabled Setting disabled Setting disabled B Maintain previous state/Wh en oscillation 1 stops* , Hi-Z / Internal input fixed at "0" Hi-Z / Internal input fixed at "0" Maintain previous state/Wh en oscillation 1 stops* , Hi-Z / Internal input fixed at "0" Maintain previous state Maintain previous state Main crystal oscillator output pin Hi-Z / Internal input fixed at "0"/ or Input enable Hi-Z / Internal input fixed at "0" Hi-Z / Internal input fixed at "0" Maintain previous state/Whe n oscillation 1 stops* , Hi-Z / Internal input fixed at "0" C INITX input pin Pull-up / Input enabled Pull-up / Input enabled Pull-up / Input enabled Pull-up / Input enabled Pull-up / Input enabled Pull-up / Input enabled Pull-up / Input enabled Pull-up / Input enabled Pull-up / Input enabled D Mode input pin Input enabled Input enabled Input enabled Input enabled Input enabled Input enabled Input enabled Input enabled Input enabled Document Number: 002-05652 Rev.*A Maintain previous state/Whe n oscillation 1 stops* , Hi-Z / Internal input fixed at "0" Page 49 of 108 Pin status type MB9B320M Series Function group Power-o n reset or low-volta ge detectio n state INITX input state Device internal reset state Run mode or SLEEP mode state Timer mode, RTC mode, or STOP mode state Deep standby RTC mode or Deep standby STOP mode state Power supply stable Power supply stable INITX = 1 SPL = 0 SPL = 1 INITX = 1 SPL = 0 SPL = 1 Return from Deep standby mode state Power supply unstable - INITX = 0 - INITX = 1 - Power supply stable INITX = 1 - Mode input pin Input enabled Input enabled Input enabled Input enabled Input enabled Input enabled Input enabled Input enabled Input enabled GPIO selected Setting disabled Setting disabled Setting disabled Maintain previous state Maintain previous state Hi-Z / Input enabled GPIO selected Hi-Z / Input enabled GPIO selected Maintain previous state Hi-Z / Internal input fixed at "0" GPIO selected Internal input fixed at "0" Hi-Z / Internal input fixed at "0" GPIO selected Input enabled Input enabled Input enabled Input enabled Input enabled Maintain previous state Hi-Z / Internal input fixed at "0" GPIO selected Internal input fixed at "0" Hi-Z / Internal input fixed at "0" GPIO selected Power supply stable E GPIO selected Setting disabled Setting disabled Setting disabled Maintain previous state Sub crystal oscillator input pin / External sub clock input selected Input enabled Input enabled Input enabled Input enabled Power supply stable INITX = 1 - F GPIO selected Setting disabled Setting disabled Setting disabled Maintain previous state External sub clock input selected Setting disabled Setting disabled Setting disabled Maintain previous state Maintain previous state Maintain previous state Maintain previous state/Wh en oscillation 2 stops* , Hi-Z / Internal input fixed at "0" G Sub crystal oscillator output pin Hi-Z / Internal input fixed at "0"/ or Input enable Document Number: 002-05652 Rev.*A Hi-Z / Internal input fixed at "0" Hi-Z / Internal input fixed at "0" Hi-Z / Internal input fixed at "0" Maintain previous state/Wh en oscillation 2 stops* , Hi-Z / Internal input fixed at "0" Maintain previous state Maintain previous state/Wh en oscillation 2 stops* , Hi-Z/ Internal input fixed at "0" Hi-Z/ Internal input fixed at "0" Maintain previous state/Wh en oscillation 2 stops* , Hi-Z/ Internal input fixed at "0" Maintain previous state Maintain previous state/Whe n oscillation 2 stops* , Hi-Z/ Internal input fixed at "0" Page 50 of 108 Pin status type MB9B320M Series Function group External interrupt enabled selected GPIO selected Power-o n reset or low-volta ge detectio n state INITX input state Device internal reset state Power supply unstable - INITX = 0 - INITX = 1 - Setting disabled Setting disabled Setting disabled Hi-Z Power supply stable Hi-Z / Input enabled Run mode or SLEEP mode state Power supply stable INITX = 1 - Maintain previous state Setting disabled Setting disabled Setting disabled Analog input selected Hi-Z Hi-Z / Internal input fixed at "0" / Analog input enabled Hi-Z / Internal input fixed at "0" / Analog input enabled NMIX selected Setting disabled Setting disabled Setting disabled USB I/O pin Deep standby RTC mode or Deep standby STOP mode state Power supply stable Power supply stable INITX = 1 SPL = 0 SPL = 1 INITX = 1 SPL = 0 SPL = 1 Maintain previous state Hi-Z / Input enabled H Timer mode, RTC mode, or STOP mode state Hi-Z / Internal input fixed at "0" / Analog input enabled Maintain previous state Hi-Z / Internal input fixed at "0" Return from Deep standby mode state Power supply stable INITX = 1 - GPIO selected Internal input fixed at "0" Hi-Z / Internal input fixed at "0" GPIO selected Hi-Z at transmission/ Input enabled/ Internal input fixed at "0" at reception Hi-Z at transmission/ Input enabled/ Internal input fixed at "0" at reception Hi-Z / Input enabled Hi-Z / Input enabled Hi-Z / Input enabled Hi-Z / Internal input fixed at "0" / Analog input enabled Hi-Z / Internal input fixed at "0" / Analog input enabled Hi-Z / Internal input fixed at "0" / Analog input disabled Hi-Z / Internal input fixed at "0" / Analog input disabled Hi-Z / Internal input fixed at "0" / Analog input disabled WKUP input enabled Hi-Z / WKUP input enabled I Resource other than above selected Hi-Z Hi-Z / Input enabled Hi-Z / Input enabled Hi-Z Pull-up / Input enabled Pull-up / Input enabled GPIO selected JTAG selected J GPIO selected Setting disabled Document Number: 002-05652 Rev.*A Setting disabled Setting disabled Maintain previous state Maintain previous state Maintain previous state Maintain previous state Maintain previous state Hi-Z / Internal input fixed at "0" GPIO selected Maintain previous state Maintain previous state Maintain previous state Maintain previous state Maintain previous state Hi-Z / Internal input fixed at "0" GPIO selected Internal input fixed at "0" Hi-Z / Internal input fixed at "0" GPIO selected Page 51 of 108 Pin status type MB9B320M Series Function group Power-o n reset or low-volta ge detectio n state Power supply unstable - Device internal reset state Run mode or SLEEP mode state INITX = 0 - INITX = 1 - Power supply stable INITX = 1 - Hi-Z Hi-Z / Input enabled Hi-Z / Input enabled Maintain previous state Setting disabled Setting disabled Setting disabled Resource selected K INITX input state GPIO selected Power supply stable Analog output selected External interrupt enabled selected L Resource other than above selected Maintain previous state GPIO selected Power supply stable Power supply stable INITX = 1 SPL = 0 SPL = 1 INITX = 1 SPL = 0 SPL = 1 GPIO Hi-Z / selected Internal Internal input input fixed at fixed at "0" "0" Maintain previous state Hi-Z / Internal input fixed at "0" *3 *4 Maintain previous state Maintain previous state Hi-Z / Internal input fixed at "0" Hi-Z Hi-Z / Input enabled Hi-Z Hi-Z / Internal input fixed at "0" / Analog input enabled Hi-Z / Internal input fixed at "0" / Analog input enabled Hi-Z / Internal input fixed at "0" / Analog input enabled Hi-Z / Internal input fixed at "0" / Analog input enabled Hi-Z / Internal input fixed at "0" / Analog input enabled Setting disabled Maintain previous state Maintain previous state Hi-Z / Internal input fixed at "0" M Resource other than above selected Deep standby RTC mode or Deep standby STOP mode state Hi-Z / Input enabled GPIO selected Analog input selected Timer mode, RTC mode, or STOP mode state Setting disabled Document Number: 002-05652 Rev.*A Setting disabled GPIO selected Internal input fixed at "0" Hi-Z / Internal input fixed at "0" / Analog input enabled GPIO selected Internal input fixed at "0" Return from Deep standby mode state Power supply stable INITX = 1 - GPIO selected Hi-Z / Internal input fixed at "0" GPIO selected Hi-Z / Internal input fixed at "0" / Analog input enabled Hi-Z / Internal input fixed at "0" / Analog input enabled Hi-Z / Internal input fixed at "0" GPIO selected Page 52 of 108 Pin status type MB9B320M Series Function group Power-o n reset or low-volta ge detectio n state Power supply unstable - Analog input selected Hi-Z INITX input state Device internal reset state Run mode or SLEEP mode state INITX = 0 - INITX = 1 - Power supply stable INITX = 1 - Hi-Z / Internal input fixed at "0" / Analog input enabled Hi-Z / Internal input fixed at "0" / Analog input enabled Hi-Z / Internal input fixed at "0" / Analog input enabled Power supply stable Timer mode, RTC mode, or STOP mode state Deep standby RTC mode or Deep standby STOP mode state Power supply stable Power supply stable INITX = 1 SPL = 0 SPL = 1 INITX = 1 SPL = 0 SPL = 1 Hi-Z / Internal input fixed at "0" / Analog input enabled N Maintain previous state External interrupt enabled selected Resource other than above selected Hi-Z / Internal input fixed at "0" / Analog input enabled Setting disabled Setting disabled Setting disabled Maintain previous state GPIO selected Maintain previous state Hi-Z / Internal input fixed at "0" Return from Deep standby mode state Power supply stable INITX = 1 - Hi-Z / Internal input fixed at "0" / Analog input enabled Hi-Z / Internal input fixed at "0" / Analog input enabled Hi-Z / Internal input fixed at "0" / Analog input enabled GPIO selected Internal input fixed at "0" Hi-Z / Internal input fixed at "0" GPIO selected *1: Oscillation is stopped at Sub Timer mode, Low-speed CR Timer mode, RTC mode, Stop mode, Deep Standby RTC mode, and Deep Standby Stop mode. *2: Oscillation is stopped at Stop mode and Deep Standby Stop mode. *3: Maintain previous state at Timer mode. GPIO selected Internal input fixed at "0" at RTC mode, Stop mode. *4: Maintain previous state at Timer mode. Hi-Z/Internal input fixed at "0" at RTC mode, Stop mode. Document Number: 002-05652 Rev.*A Page 53 of 108 MB9B320M Series 12. Electrical Characteristics 12.1 Absolute Maximum Ratings Parameter Rating Symbol 1, 2 Power supply voltage* * 1, 3 Power supply voltage (for USB)* * 1, 4 Analog power supply voltage* * 1, 4 Analog reference voltage* * VCC USBVCC AVCC AVRH Min VSS - 0.5 VSS - 0.5 VSS - 0.5 VSS - 0.5 VSS - 0.5 Input voltage* 1 VI VSS - 0.5 VSS - 0.5 Analog pin input voltage* Output voltage* 1 1 Clamp maximum current Clamp total maximum current L level maximum output current* L level average output current* 5 6 H level average output current* VSS - 0.5 VO VSS - 0.5 ICLAMP Σ[ICLAMP] -2 IOL - IOLAV L level total maximum output current 7 L level total average output current* H level maximum output current* VIA 5 6 H level total maximum output current 7 H level total average output current* Power consumption Storage temperature ∑IOL ∑IOLAV IOH IOHAV ∑IOH ∑IOHAV PD TSTG - - - 55 Max Unit Remarks VSS + 6.5 VSS + 6.5 VSS + 6.5 VSS + 6.5 VCC + 0.5 (≤ 6.5 V) USBVCC + 0.5 (≤ 6.5 V) VSS + 6.5 AVCC + 0.5 (≤ 6.5 V) VCC + 0.5 (≤ 6.5 V) +2 +20 10 V V V V mA mA mA *8 *8 4 mA type 20 mA 39 mA 4 12 mA mA 16.5 mA 12 mA type The pin doubled as USB I/O 4 mA type 12 mA type The pin doubled as USB I/O 100 50 - 10 mA mA mA - 20 mA - 39 mA -4 - 12 mA mA - 18 mA - 100 - 50 300 + 150 mA mA mW °C V Except for USB pin V USB pin V 5 V tolerant V V 4 mA type 12 mA type The pin doubled as USB I/O 4 mA type 12 mA type The pin doubled as USB I/O *1: These parameters are based on the condition that VSS = AVSS = 0 V. *2: VCC must not drop below VSS - 0.5 V. *3: USBVCC must not drop below VSS - 0.5 V. *4: Ensure that the voltage does not exceed VCC + 0.5 V, for example, when the power is turned on. *5: The maximum output current is defined as the value of the peak current flowing through any one of the corresponding pins. *6: The average output current is defined as the average current value flowing through any one of the corresponding pins for a 100 ms period. *7: The total average output current is defined as the average current value flowing through all of corresponding pins for a 100 ms. Document Number: 002-05652 Rev.*A Page 54 of 108 MB9B320M Series *8: • • • • • See “List of Pin Functions” and “I/O Circuit Type” about +B input available pin. Use within recommended operating conditions. Use at DC voltage (current) the +B input. The +B signal should always be applied a limiting resistance placed between the +B signal and the device. The value of the limiting resistance should be set so that when the +B signal is applied the input current to the device pin does not exceed rated values, either instantaneously or for prolonged periods. • Note that when the device drive current is low, such as in the low-power consumption modes, the +B input potential may pass through the protective diode and increase the potential at the VCC and AVCC pin, and this may affect other devices. • Note that if a +B signal is input when the device power supply is off (not fixed at 0 V), the power supply is provided from the pins, so that incomplete operation may result. • The following is a recommended circuit example (I/O equivalent circuit). Protection Diode VCC VCC P-ch Limiting +B input (0V to 16V) resistor N-ch R Digital output Digital input AVCC Analog input 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. Document Number: 002-05652 Rev.*A Page 55 of 108 MB9B320M Series 12.2 Recommended Operating Conditions (VSS = AVSS = AVRL = 0.0V) Parameter Power supply voltage Power supply voltage (3V power supply) for USB Analog power supply voltage Analog reference voltage Smoothing capacitor Operating temperature Symbol VCC Value Conditions - Min 2.7* 4 3.0 USBVCC - AVCC AVRH AVRL CS TA - 2.7 2.7 2.7 AVSS 1 - 40 Max 5.5 3.6 (≤ VCC) 5.5 (≤ VCC) 5.5 AVCC AVSS 10 + 105 Unit Remarks V *1 V *2 V V V μF °C AVCC = VCC For Regulator* 3 *1: When P81/UDP0 and P80/UDM0 pins are used as USB (UDP0, UDM0). *2: When P81/UDP0 and P80/UDM0 pins are used as GPIO (P81, P80). *3: See “C Pin” in “Handling Devices” for the connection of the smoothing capacitor. *4: In between less than the minimum power supply voltage and low voltage reset/interrupt detection voltage or more, instruction execution and low voltage detection function by built-in High-speed CR (including Main PLL is used) or built-in Low-speed CR is possible to operate only. 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 representatives beforehand. Document Number: 002-05652 Rev.*A Page 56 of 108 MB9B320M Series 12.3 DC Characteristics 12.3.1 Current Rating (VCC = AVCC = USBVCC = 2.7V to 5.5V, VSS = AVSS = AVRL = 0V, TA = - 40°C to + 105°C) Parameter Symbol Pin name Conditions PLL Run mode Run mode current ICC VCC Sleep mode current ICCS Typ Value Max Unit Remarks CPU : 72 MHz, Peripheral : 36 MHz 32.5 41 mA *1, *5 CPU:72 MHz, Peripheral clock stops NOP operation 18 23 mA *1, *5 2.5 3.4 mA *1 High-speed CR Run mode CPU/ Peripheral : 4 MHz* Sub Run mode CPU/ Peripheral : 32 kHz 110 980 µA *1, *6 Low-speed CR Run mode CPU/ Peripheral : 100 kHz 130 1030 µA *1 Peripheral : 36 MHz 22 28 mA *1, *5 1.6 2.6 mA *1 Peripheral : 32 kHz 96 955 µA *1, *6 Peripheral : 100 kHz 115 975 µA *1 PLL Sleep mode High-speed CR Sleep mode Sub Sleep mode Low-speed CR Sleep mode Peripheral : 4 MHz* 2 2 *1: When all ports are fixed. *2: When setting it to 4 MHz by trimming. *3: TA = +25°C, VCC = 5.5 V *4: TA = +105°C, VCC = 5.5 V *5: When using the crystal oscillator of 4 MHz (Including the current consumption of the oscillation circuit) *6: When using the crystal oscillator of 32 kHz (Including the current consumption of the oscillation circuit) Document Number: 002-05652 Rev.*A Page 57 of 108 MB9B320M Series (VCC = AVCC = USBVCC = 2.7V to 5.5V, VSS = AVSS = AVRL = 0V, TA = - 40°C to + 105°C) Parameter Symbol Pin name Main Timer mode ICCT Timer mode current Sub Timer mode ICCT RTC mode current ICCR Stop mode current ICCH RTC mode Stop mode VCC ICCRD Deep Standby RTC mode Deep Standby mode current ICCHD Value Typ*2 Max*2 Conditions Deep Standby Stop mode TA = + 25°C, When LVD is off TA = + 105°C, When LVD is off TA = + 25°C, When LVD is off TA = + 105°C, When LVD is off TA = + 25°C, When LVD is off TA = + 105°C, When LVD is off TA = + 25°C, When LVD is off TA = + 105°C, When LVD is off TA = + 25°C, When LVD is off, When RAM is off TA = + 25°C, When LVD is off, When RAM is on TA = + 105°C, When LVD is off, When RAM is off TA = + 105°C, When LVD is off, When RAM is on TA = + 25°C, When LVD is off, When RAM is off TA = + 25°C, When LVD is off, When RAM is on TA = + 105°C, When LVD is off, When RAM is off TA = + 105°C, When LVD is off, When RAM is on Unit Remarks 4.1 4.8 mA *1, *4 - 5.4 mA *1, *4 17 66 μA *1, *5 - 835 μA *1, *5 15 61 μA *1, *5 - 680 μA *1, *5 14 53 μA *1 - 600 μA *1 2.2 11 μA *1, *3, *5 6.2 23 μA *1, *3, *5 155 μA *1, *3, *5 215 μA *1, *3, *5 1.6 9.6 μA *1, *3 5.6 22 μA *1, *3 150 μA *1, *3 210 μA *1, *3 - - *1: When all ports are fixed. *2: VCC = 5.5 V *3: RAM on/off setting is on-chip SRAM only. *4: When using the crystal oscillator of 4 MHz (Including the current consumption of the oscillation circuit) *5: When using the crystal oscillator of 32 kHz (Including the current consumption of the oscillation circuit) Document Number: 002-05652 Rev.*A Page 58 of 108 MB9B320M Series Low-Voltage Detection Current (VCC = 2.7V to 5.5V, VSS = 0V, TA = - 40°C to + 105°C) Parameter Low-voltage detection circuit (LVD) power supply current Symbol ICCLVD Pin name Value Conditions Typ Max Unit Remarks At operation for reset Vcc = 5.5 V 0.13 0.3 μA At not detect At operation for interrupt Vcc = 5.5 V 0.13 0.3 μA At not detect VCC Flash Memory Current (VCC = 2.7V to 5.5V, VSS = 0V, TA = - 40°C to + 105°C) Parameter Flash memory write/erase current Symbol ICCFLASH Pin name VCC Value Conditions Typ At Write/Erase Max 9.5 11.2 Unit mA Remarks * *: The current at which to write or erase Flash memory, "ICCFLASH" is added to "ICC". A/D Converter Current (VCC = AVCC = 2.7V to 5.5V, VSS = AVSS = AVRL = 0V, TA = - 40°C to + 105°C) Parameter Power supply current Reference power supply current Symbol ICCAD ICCAVRH Pin name Value Conditions Typ Max Unit At 1unit operation 0.69 0.90 mA At stop 0.25 25.84 μA At 1unit operation AVRH=5.5 V 1.1 1.97 mA At stop 0.2 3.4 μA Remarks AVCC AVRH D/A Converter Current (VCC = AVCC = 2.7V to 5.5V, VSS = AVSS = 0V, TA = - 40°C to + 105°C) Parameter Power supply 1 current* Symbol IDDA* Pin name 2 AVCC IDSA Conditions Value Typ Min Max Unit At 1unit operation AVCC=3.3 V 250 315 380 μA At 1unit operation AVCC=5.0 V 380 475 580 μA At stop - - 16 μA Remarks *1: No-load *2: Generates the max current by the CODE about 0x200 Document Number: 002-05652 Rev.*A Page 59 of 108 MB9B320M Series 12.3.2 Pin Characteristics (VCC = USBVCC = AVCC = 2.7V to 5.5V, VSS = AVSS = AVRL = 0V, TA = - 40°C to + 105°C) Parameter Symbol H level input voltage (hysteresis input) VIHS L level input voltage (hysteresis input) VILS Pin name CMOS hysteresis input pin, MD0, MD1 5 V tolerant input pin CMOS hysteresis input pin, MD0, MD1 5 V tolerant input pin 4 mA type H level output voltage VOH 12 mA type The pin doubled as USB I/O 4 mA type L level output voltage VOL 12 mA type The pin doubled as USB I/O Input leak current Pull-up resistance value Input capacitance IIL RPU CIN - Conditions Min Value Typ Max - VCC × 0.8 - VCC + 0.3 V - VCC × 0.8 - VSS + 5.5 V - VSS - 0.3 - VCC × 0.2 V - VSS - 0.3 - VCC × 0.2 V VCC - 0.5 - VCC V VCC - 0.5 - VCC V USBVCC - 0.4 - USBVCC V VSS - 0.4 V VSS - 0.4 V VSS - 0.4 V μA VCC ≥ 4.5 V, IOH = - 4mA VCC < 4.5 V, IOH = - 2mA VCC ≥ 4.5 V, IOH = - 12mA VCC < 4.5 V, IOH = - 8mA USBVCC ≥ 4.5 V, IOH = - 18.0 mA USBVCC < 4.5 V, IOH = - 12.0 mA VCC ≥ 4.5 V, IOL = 4mA VCC < 4.5 V, IOL = 2mA VCC ≥ 4.5 V, IOL = 12mA VCC < 4.5 V, IOL = 8mA USBVCC ≥ 4.5 V, IOL = 16.5mA USBVCC < 4.5 V, IOL = 10.5mA - -5 - +5 VCC ≥ 4.5 V 33 50 90 VCC < 4.5 V - - 180 - - 5 15 Document Number: 002-05652 Rev.*A Remarks kΩ Pull-up pin Other than VCC, USBVCC, VSS, AVCC, AVSS, AVRH, AVRL Unit pF Page 60 of 108 MB9B320M Series 12.4 AC Characteristics 12.4.1 Main Clock Input Characteristics (VCC = 2.7V to 5.5V, VSS = 0V, TA = - 40°C to + 105°C) Parameter Input frequency Pin name Symbol fCH Input clock cycle tCYLH Input clock pulse width - Input clock rising time and falling time tCF, tCR Internal operating *1 clock frequency Internal operating *1 clock cycle time X0, X1 Value Conditions Min Max Unit VCC ≥ 4.5 V VCC < 4.5 V VCC ≥ 4.5 V VCC < 4.5 V VCC ≥ 4.5 V VCC < 4.5 V PWH/tCYLH, PWL/tCYLH 4 4 4 4 20.83 50 48 20 48 20 250 250 45 55 % - - 5 ns Remarks MHz When crystal oscillator is connected MHz When using external Clock ns When using external Clock When using external Clock When using external Clock fCM - - - 72 MHz Master clock fCC - - - 72 MHz Base clock (HCLK/FCLK) fCP0 fCP1 - - - 40 40 MHz MHz APB0 bus clock* 2 APB1 bus clock* fCP2 - - - 40 MHz APB2 bus clock* tCYCC tCYCP0 tCYCP1 tCYCP2 - - 13.8 - ns Base clock (HCLK/FCLK) - - 25 - ns APB0 bus clock* 2 - - 25 - ns APB1 bus clock* 2 - - 25 - ns APB2 bus clock* 2 2 2 *1: For more information about each internal operating clock, see “Chapter 2-1: Clock” in “FM3 Family Peripheral Manual”. *2: For about each APB bus which each peripheral is connected to, see “Block Diagram” in this data sheet. X0 Document Number: 002-05652 Rev.*A Page 61 of 108 MB9B320M Series 12.4.2 Sub Clock Input Characteristics (VCC = 2.7V to 5.5V, VSS = 0V, TA = - 40°C to + 105°C) Parameter Symbol Input frequency 1/ tCYLL Input clock cycle tCYLL Input clock pulse width - Pin name X0A, X1A Value Conditions Min Typ Max Unit Remarks - - 32.768 - kHz - 32 - 100 kHz When crystal oscillator is connected When using external clock - 10 - 31.25 μs When using external clock PWH/tCYLL, PWL/tCYLL 45 - 55 % When using external clock *: See “Sub crystal oscillator” in “Handling Devices” for the crystal oscillator used. X0A Document Number: 002-05652 Rev.*A Page 62 of 108 MB9B320M Series 12.4.3 Built-in CR Oscillation Characteristics Built-in High-speed CR (VCC = 2.7V to 5.5V, VSS = 0V, TA = - 40°C to + 105°C) Parameter Symbol Value Conditions Min Typ Unit Max TA = + 25°C 3.92 4 4.08 TA = 0°C to + 85°C 3.9 4 4.1 TA = -40°C to + 105°C 3.88 4 4.12 Remarks When trimming* Clock frequency Frequency stabilization time fCRH tCRWT TA = + 25°C VCC ≤ 3.6 V TA = - 20°C to + 85°C VCC ≤ 3.6 V TA = - 20°C to + 105°C VCC ≤ 3.6 V 3.94 4 4.06 3.92 4 4.08 3.9 4 4.1 TA = - 40°C to + 105°C 2.8 4 5.2 - - - 30 1 MHz When not trimming μs * 2 *1: In the case of using the values in CR trimming area of Flash memory at shipment for frequency/temperature trimming. *2: This is the time to stabilize the frequency of high-speed CR clock after setting trimming value. This period is able to use high-speed CR clock as source clock. Built-in Low-speed CR (VCC = 2.7V to 5.5V, VSS = 0V, TA = - 40°C to + 105°C) Parameter Clock frequency Symbol fCRL Document Number: 002-05652 Rev.*A Conditions - Value Min 50 Typ 100 Max 150 Unit Remarks kHz Page 63 of 108 MB9B320M Series 12.4.4 Operating Conditions of Main and USB PLL (In the case of using main clock for input of PLL) (VCC = 2.7V to 5.5V, VSS = 0V, TA = - 40°C to + 105°C) Parameter PLL oscillation stabilization wait time* (LOCK UP time) Symbol Value Min Typ Unit Max Remarks 1 PLL input clock frequency PLL multiplication rate PLL macro oscillation clock frequency 2 Main PLL clock frequency* 3 USB clock frequency* tLOCK 100 - - μs fPLLI fPLLO fCLKPLL fCLKSPLL 4 5 75 - - 16 37 150 72 48 MHz multiplier MHz MHz MHz After the M frequency division *1: Time from when the PLL starts operating until the oscillation stabilizes. *2: For more information about Main PLL clock (CLKPLL), see “Chapter: Clock” in “FM3 Family Peripheral Manual”. *3: For more information about USB clock, see “Chapter 2-2: USB Clock Generation” in “FM3 Family Peripheral Manual Communication Macro Part”. 12.4.5 Operating Conditions of Main PLL (In the case of using built-in high-speed CR for input clock of Main PLL) (VCC = 2.7V to 5.5V, VSS = 0V, TA = - 40°C to + 105°C) Parameter PLL oscillation stabilization wait time* (LOCK UP time) Symbol Value Min Typ Unit Max Remarks 1 PLL input clock frequency PLL multiplication rate PLL macro oscillation clock frequency 2 Main PLL clock frequency* tLOCK 100 - - μs fPLLI fPLLO fCLKPLL 3.8 19 72 - 4 - 4.2 35 150 72 MHz multiplier MHz MHz *1: Time from when the PLL starts operating until the oscillation stabilizes. *2: For more information about Main PLL clock (CLKPLL), see “Chapter 2-1: Clock” in “FM3 Family Peripheral Manual”. Note: Make sure to input to the Main PLL source clock, the high-speed CR clock (CLKHC) that the frequency/temperature has been trimmed. When setting PLL multiple rate, please take the accuracy of the built-in high-speed CR clock into account and prevent the master clock from exceeding the maximum frequency. Main PLL connection K divider PLL input clock PLL macro oscillation clock Main PLL M divider Main PLL clock (CLKPLL) N divider Document Number: 002-05652 Rev.*A Page 64 of 108 MB9B320M Series USB PLL connection Main clock (CLKMO) K divider PLL input clock PLL macro oscillation clock USB clock M divider USB PLL N divider 12.4.6 Reset Input Characteristics (VCC = 2.7V to 5.5V, VSS = 0V, TA = - 40°C to + 105°C) Parameter Symbol Reset input time 12.4.7 tINITX Pin name INITX Value Conditions - Min Max 500 - Unit Remarks ns Power-on Reset Timing (VCC = 2.7V to 5.5V, VSS = 0V, TA = - 40°C to + 105°C) Parameter Power supply rising time tVCCR Power supply shut down time tOFF Time until releasing Power-on reset tPRT Value Pin name Symbol VCC Min Max Unit 0 - ms 1 - ms 1.34 18.6 ms Remarks VCC_minimum VDH_minimum VCC 0.2V 0.2V 0.2V tVCCR tPRT Internal reset Reset active CPU Operation tOFF Release start Glossary VCC_minimum : Minimum VCC of recommended operating conditions VDH_minimum : Minimum detection voltage (when SVHR=00000) of Low-Voltage detection reset See “12.8. Low-Voltage Detection Characteristics” Document Number: 002-05652 Rev.*A Page 65 of 108 MB9B320M Series 12.4.8 Base Timer Input Timing Timer input timing (VCC = 2.7V to 5.5V, VSS = 0V, TA = - 40°C to + 105°C) Parameter Input pulse width Symbol Pin name Conditions TIOAn/TIOBn (when using as ECK, TIN) tTIWH, tTIWL - tTIWH Value Min Max 2tCYCP - Unit Remarks ns tTIWL ECK VIHS TIN VIHS VILS VILS Trigger input timing (VCC = 2.7V to 5.5V, VSS = 0V, TA = - 40°C to + 105°C) Parameter Input pulse width Symbol tTRGH, tTRGL Pin name TIOAn/TIOBn (when using as TGIN) Conditions - tTRGH TGIN VIHS Value Min 2tCYCP Max - Unit Remarks ns tTRGL VIHS VILS VILS Note: tCYCP indicates the APB bus clock cycle time. About the APB bus number which the Base Timer is connected to, see “Block Diagram” in this data sheet. Document Number: 002-05652 Rev.*A Page 66 of 108 MB9B320M Series 12.4.9 CSIO/UART Timing CSIO (SPI = 0, SCINV = 0) (VCC = 2.7V to 5.5V, VSS = 0V, TA = - 40°C to + 105°C) Parameter Symbol Serial clock cycle time tSCYC SCK ↓ → SOT delay time tSLOVI SIN → SCK ↑ setup time tIVSHI SCK ↑ → SIN hold time tSHIXI Serial clock L pulse width Serial clock H pulse width tSLSH tSHSL SCK ↓ → SOT delay time tSLOVE SIN → SCK ↑ setup time tIVSHE SCK ↑ → SIN hold time tSHIXE SCK falling time SCK rising time tF tR Pin name SCKx SCKx, SOTx SCKx, SINx SCKx, SINx SCKx SCKx SCKx, SOTx SCKx, SINx SCKx, SINx SCKx SCKx Master mode Slave mode VCC ≥ 4.5 V Min Max VCC < 4.5 V Min Max Conditions Unit 4tCYCP - 4tCYCP - ns - 30 + 30 - 20 + 20 ns 50 - 30 - ns 0 - 0 - ns 2tCYCP - 10 tCYCP + 10 - 2tCYCP - 10 tCYCP + 10 - ns ns - 50 - 30 ns 10 - 10 - ns 20 - 20 - ns - 5 5 - 5 5 ns ns Notes: • The above characteristics apply to CLK synchronous mode. • tCYCP indicates the APB bus clock cycle time. About the APB bus number which Multi-function serial is connected to, see “Block Diagram” in this data sheet. • These characteristics only guarantee the same relocate port number. For example, the combination of SCKx_0 and SOTx_1 is not guaranteed. • When the external load capacitance CL = 30 pF. Document Number: 002-05652 Rev.*A Page 67 of 108 MB9B320M Series tSCYC VOH SCK VOL VOL tSLOVI VOH SOT VOL tIVSHI SIN tSHIXI VIH VIH VIL VIL Master mode tSLSH SCK tSHSL VIH VIH tF VIL VIL VIH tR tSLOVE SOT VOH VOL tIVSHE SIN VIH VIL tSHIXE VIH VIL Slave mode Document Number: 002-05652 Rev.*A Page 68 of 108 MB9B320M Series CSIO (SPI = 0, SCINV = 1) (VCC = 2.7V to 5.5V, VSS = 0V, TA = - 40°C to + 105°C) Parameter Serial clock cycle time Symbol Pin name VCC ≥ 4.5 V Min Max VCC < 4.5 V Min Max Conditions Unit tSCYC SCKx 4tCYCP - 4tCYCP - ns SCK ↑ → SOT delay time tSHOVI SCKx, SOTx - 30 + 30 - 20 + 20 ns SIN → SCK ↓ setup time tIVSLI 50 - 30 - ns SCK ↓ → SIN hold time tSLIXI 0 - 0 - ns Serial clock L pulse width Serial clock H pulse width tSLSH tSHSL 2tCYCP - 10 tCYCP + 10 - 2tCYCP - 10 tCYCP + 10 - ns ns SCK ↑ → SOT delay time tSHOVE - 50 - 30 ns SIN → SCK ↓ setup time tIVSLE 10 - 10 - ns SCK ↓ → SIN hold time tSLIXE 20 - 20 - ns SCK falling time SCK rising time tF tR - 5 5 - 5 5 ns ns SCKx, SINx SCKx, SINx SCKx SCKx SCKx, SOTx SCKx, SINx SCKx, SINx SCKx SCKx Master mode Slave mode Notes: • • • • The above characteristics apply to CLK synchronous mode. tCYCP indicates the APB bus clock cycle time. About the APB bus number which Multi-function serial is connected to, see “Block Diagram” in this data sheet. These characteristics only guarantee the same relocate port number. For example, the combination of SCKx_0 and SOTx_1 is not guaranteed. • When the external load capacitance CL = 30 pF. Document Number: 002-05652 Rev.*A Page 69 of 108 MB9B320M Series tSCYC VOH SCK VOH VOL tSHOVI VOH SOT VOL tIVSLI SIN tSLIXI VIH VIH VIL VIL Master mode tSHSL SCK tSLSH VIH VIH VIL tR tF VIL VIL tSHOVE SOT VOH VOL tIVSLE SIN VIH VIL tSLIXE VIH VIL Slave mode Document Number: 002-05652 Rev.*A Page 70 of 108 MB9B320M Series CSIO (SPI = 1, SCINV = 0) (VCC = 2.7V to 5.5V, VSS = 0V, TA = - 40°C to + 105°C) Parameter Serial clock cycle time Symbol Pin name VCC ≥ 4.5 V Min Max VCC < 4.5 V Min Max Conditions Unit tSCYC SCKx 4tCYCP - 4tCYCP - ns SCK ↑ → SOT delay time tSHOVI SCKx, SOTx - 30 + 30 - 20 + 20 ns SIN → SCK ↓ setup time tIVSLI 50 - 30 - ns SCK ↓→ SIN hold time tSLIXI 0 - 0 - ns SOT → SCK ↓ delay time tSOVLI 2tCYCP - 30 - 2tCYCP - 30 - ns Serial clock L pulse width Serial clock H pulse width tSLSH tSHSL 2tCYCP - 10 tCYCP + 10 - 2tCYCP - 10 tCYCP + 10 - ns ns SCK ↑ → SOT delay time tSHOVE - 50 - 30 ns SIN → SCK ↓ setup time tIVSLE 10 - 10 - ns SCK ↓→ SIN hold time tSLIXE 20 - 20 - ns SCK falling time SCK rising time tF tR - 5 5 - 5 5 ns ns SCKx, SINx SCKx, SINx SCKx, SOTx SCKx SCKx SCKx, SOTx SCKx, SINx SCKx, SINx SCKx SCKx Master mode Slave mode Notes: • The above characteristics apply to CLK synchronous mode. • tCYCP indicates the APB bus clock cycle time. About the APB bus number which Multi-function serial is connected to, see “Block Diagram” in this data sheet. • These characteristics only guarantee the same relocate port number. For example, the combination of SCKx_0 and SOTx_1 is not guaranteed. • When the external load capacitance CL = 30 pF. Document Number: 002-05652 Rev.*A Page 71 of 108 MB9B320M Series tSCYC VOH SCK VOL SOT VOH VOL VOH VOL tIVSLI tSLIXI VIH VIL SIN VOL tSHOVI tSOVLI VIH VIL Master mode tSLSH VIH SCK tR VOH VOL tIVSLE SIN VIL tF * SOT VIL tSHSL VIH VIH tSHOVE VOH VOL tSLIXE VIH VIL VIH VIL Slave mode *: Changes when writing to TDR register Document Number: 002-05652 Rev.*A Page 72 of 108 MB9B320M Series CSIO (SPI = 1, SCINV = 1) (VCC = 2.7V to 5.5V, VSS = 0V, TA = - 40°C to + 105°C) Parameter Symbol Pin name VCC ≥ 4.5 V Min Max VCC < 4.5 V Min Max Conditions Unit Serial clock cycle time tSCYC SCKx 4tCYCP - 4tCYCP - ns SCK ↓ → SOT delay time tSLOVI SCKx, SOTx - 30 + 30 - 20 + 20 ns SIN → SCK ↑ setup time tIVSHI 50 - 30 - ns SCK ↑ → SIN hold time tSHIXI 0 - 0 - ns SOT → SCK ↑ delay time tSOVHI 2tCYCP - 30 - 2tCYCP - 30 - ns Serial clock L pulse width Serial clock H pulse width tSLSH tSHSL 2tCYCP - 10 tCYCP + 10 - 2tCYCP - 10 tCYCP + 10 - ns ns SCK ↓ → SOT delay time tSLOVE - 50 - 30 ns SIN → SCK ↑ setup time tIVSHE 10 - 10 - ns SCK ↑ → SIN hold time tSHIXE 20 - 20 - ns SCK falling time SCK rising time tF tR - 5 5 - 5 5 ns ns SCKx, SINx SCKx, SINx SCKx, SOTx SCKx SCKx SCKx, SOTx SCKx, SINx SCKx, SINx SCKx SCKx Master mode Slave mode Notes: • The above characteristics apply to CLK synchronous mode. • tCYCP indicates the APB bus clock cycle time. About the APB bus number which Multi-function serial is connected to, see “Block Diagram” in this data sheet. • These characteristics only guarantee the same relocate port number. For example, the combination of SCKx_0 and SOTx_1 is not guaranteed. • When the external load capacitance CL = 30 pF. Document Number: 002-05652 Rev.*A Page 73 of 108 MB9B320M Series tSCYC VOH SCK tSOVHI tSLOVI VOH VOL SOT VOH VOL tSHIXI tIVSHI VIH VIL SIN VOH VOL VIH VIL Master mode tR SCK tF tSHSL VIH VIH VIL tSLSH VIL VIL tSLOVE VOH VOL SOT VOH VOL tIVSHE tSHIXE VIH VIL SIN VIH VIL Slave mode UART external clock input (EXT = 1) (VCC = 2.7V to 5.5V, VSS = 0V, TA = - 40°C to + 105°C) Parameter Serial clock L pulse width Serial clock H pulse width SCK falling time SCK rising time Symbol tSLSH tSHSL tF tR Conditions CL = 30 pF Min tCYCP + 10 tCYCP + 10 - tR Document Number: 002-05652 Rev.*A VIL 5 5 Unit Remarks ns ns ns ns tF tSHSL SCK Max VIH tSLSH VIH VIL VIL Page 74 of 108 MB9B320M Series 12.4.10 External Input Timing (VCC = 2.7V to 5.5V, VSS = 0V, TA = - 40°C to + 105°C) Parameter Symbol Pin name Value Min Conditions Max Unit ADTG Input pulse width tINH, tINL FRCKx ICxx DTTIxX INTxx, NMIX WKUPx Remarks A/D converter trigger input 1 - 2tCYCP* *2 *3 *4 2tCYCP* 1 2tCYCP + 100* 500 500 1 - ns - ns ns ns ns Free-run timer input clock Input capture Waveform generator External interrupt NMI Deep standby wake up *1: tCYCP indicates the APB bus clock cycle time. About the APB bus number which the A/D converter, Multi-function Timer, External interrupt are connected to, see “Block Diagram” in this data sheet. *2: When in Run mode, in Sleep mode. *3: When in Stop mode, in RTL mode, in Timer mode. *4: When in Deep Standby RTC mode, in Deep Standby Stop mode. Document Number: 002-05652 Rev.*A Page 75 of 108 MB9B320M Series 12.4.11 Quadrature Position/Revolution Counter timing (VCC = 2.7V to 5.5V, VSS = 0V, TA = - 40°C to + 105°C) Parameter Symbol AIN pin H width AIN pin L width BIN pin H width BIN pin L width BIN rising time from AIN pin H level AIN falling time from BIN pin H level BIN falling time from AIN pin L level AIN rising time from BIN pin L level AIN rising time from BIN pin H level BIN falling time from AIN pin H level AIN falling time from BIN pin L level BIN rising time from AIN pin L level ZIN pin H width ZIN pin L width AIN/BIN rising and falling time from determined ZIN level Determined ZIN level from AIN/BIN rising and falling time Value Conditions tAHL tALL tBHL tBLL - tAUBU PC_Mode2 or PC_Mode3 tBUAD PC_Mode2 or PC_Mode3 tADBD PC_Mode2 or PC_Mode3 tBDAU PC_Mode2 or PC_Mode3 tBUAU PC_Mode2 or PC_Mode3 tAUBD PC_Mode2 or PC_Mode3 tBDAD PC_Mode2 or PC_Mode3 tADBU PC_Mode2 or PC_Mode3 tZHL tZLL QCR:CGSC=0 QCR:CGSC=0 tZABE QCR:CGSC=1 tABEZ QCR:CGSC=1 Min Max 2tCYCP* - Unit ns *: tCYCP indicates the APB bus clock cycle time. About the APB bus number which the Quadrature Position/Revolution Counter is connected to, see “Block Diagram” in this data sheet. tALL tAHL AIN tAUBU tADBD tBUAD tBDAU BIN tBHL Document Number: 002-05652 Rev.*A tBLL Page 76 of 108 MB9B320M Series tBLL tBHL BIN tBUAU tBDAD tAUBD tADBU AIN tAHL tALL ZIN ZIN AIN/BIN Document Number: 002-05652 Rev.*A Page 77 of 108 MB9B320M Series 12.4.12 I2C Timing (VCC = 2.7V to 5.5V, VSS = 0V, TA = - 40°C to + 105°C) Parameter SCL clock frequency (Repeated) START condition hold time SDA ↓ → SCL ↓ SCL clock L width SCL clock H width (Repeated) START condition setup time SCL ↑ → SDA ↓ Data hold time SCL ↓ → SDA ↓ ↑ Data setup time SDA ↓ ↑ → SCL ↑ STOP condition setup time SCL ↑ → SDA ↑ Bus free time between STOP condition and START condition Noise filter Symbol Standardmode Min Max Conditions Fastmode Min Max Un it fSCL 0 100 0 400 kH z tHDSTA 4.0 - 0.6 - μs tLOW tHIGH 4.7 4.0 - 1.3 0.6 - μs μs 4.7 - 0.6 - μs 0 3.45* 0 0.9* tSUDAT 250 - 100 - ns tSUSTO 4.0 - 0.6 - μs tBUF 4.7 - 1.3 - μs - 2 tCYCP* - ns tSUSTA tHDDAT tSP CL = 30 pF, 1 R = (VP/IOL)* - 2 tCYCP* 4 2 4 3 Remarks μs *1: R and CL represent the pull-up resistor and load capacitance of the SCL and SDA lines, respectively. VP indicates the power supply voltage of the pull-up resistor and IOL indicates VOL guaranteed current. *2: The maximum tHDDAT must satisfy that it does not extend at least L period (tLOW) of device's SCL signal. *3: A Fast mode I2C bus device can be used on a Standard mode I2C bus system as long as the device satisfies the requirement of “tSUDAT ≥ 250 ns”. *4: tCYCP is the APB bus clock cycle time. About the APB bus number that I2C is connected to, see “Block Diagram” in this data sheet. To use Standard-mode, set the APB bus clock at 2 MHz or more To use Fast-mode, set the APB bus clock at 8 MHz or more. SDA SCL Document Number: 002-05652 Rev.*A Page 78 of 108 MB9B320M Series 12.4.13 JTAG Timing (VCC = 2.7V to 5.5V, VSS = 0V, TA = - 40°C to + 105°C) Parameter Symbol Pin name Value Conditions TMS, TDI setup time tJTAGS TCK, TMS, TDI VCC ≥ 4.5 V TMS, TDI hold time tJTAGH TCK, TMS, TDI VCC ≥ 4.5 V TDO delay time tJTAGD TCK, TDO Min Max Unit 15 - ns 15 - ns VCC ≥ 4.5 V - 25 VCC < 4.5 V - 45 VCC < 4.5 V VCC < 4.5 V Remarks ns Note: When the external load capacitance CL = 30 pF. TCK TMS/TDI TDO Document Number: 002-05652 Rev.*A Page 79 of 108 MB9B320M Series 12.5 12-bit A/D Converter Electrical characteristics for the A/D converter (VCC = AVCC = 2.7V to 5.5V, VSS = AVSS = AVRL = 0V, TA = - 40°C to + 105°C) Parameter Pin name Symbol Resolution Integral Nonlinearity Differential Nonlinearity Zero transition voltage Full-scale transition voltage VZT VFST ANxx ANxx Conversion time - - tS - tCCK - State transition time to operation permission tSTT Analog input capacity Sampling time* 2 Compare clock cycle* 3 Value Typ Min - Unit Max ± 1.5 ± 1.7 ± 10 AVRH ± 5 12 ± 4.5 ± 2.5 ± 15 AVRH ± 15 bit LSB LSB mV mV μs AVCC ≥ 4.5 V AVCC < 4.5 V 10 μs AVCC ≥ 4.5 V AVCC < 4.5 V 1000 ns 0.8* 1 - - 1.0* 1 - - 0.24 - 0.3 - 40 - 50 - - - - 1.0 μs CAIN - - - 9.7 pF Analog input resistor RAIN - - - Interchannel disparity Analog port input current - ANxx - - 2.4 4 5 Analog input voltage - ANxx AVSS - AVRH V AVRH 2.7 - AVCC V - AVRL AVSS - AVSS V Reference voltage Remarks 1.7 kΩ AVRH = 2.7 V to 5.5 V AVCC ≥ 4.5 V AVCC < 4.5 V AVCC ≥ 4.5 V AVCC < 4.5 V LSB μA *1: The conversion time is the value of sampling time (tS) + compare time (tC). The condition of the minimum conversion time is the following. AVCC ≥ 4.5 V, HCLK=50 MHz sampling time: 240 ns, compare time: 560 ns. AVCC < 4.5 V, HCLK=40 MHz sampling time: 300 ns, compare time: 700 ns Ensure that it satisfies the value of the sampling time (tS) and compare clock cycle (tCCK). For setting of the sampling time and compare clock cycle, see “Chapter 1-1: A/D Converter” in “FM3 Family Peripheral Manual Analog Macro Part”. The register settings of the A/D Converter are reflected in the operation according to the APB bus clock timing. For the number of the APB bus to which the A/D Converter is connected, see “Block Diagram”. The base clock (HCLK) is used to generate the sampling time and the compare clock cycle. *2: A necessary sampling time changes by external impedance. Ensure that it sets the sampling time to satisfy (Equation 1). *3: The compare time (tC) is the value of (Equation 2). Document Number: 002-05652 Rev.*A Page 80 of 108 MB9B320M Series REXT ANxx Analog input pin Comparator RAIN Analog signal source CAIN (Equation 1) tS ≥ ( RAIN + REXT ) × CAIN × 9 tS: Sampling time RAIN: input resistor of A/D = 1.5 kΩ at 4.5 V < AVCC < 5.5 V ch.0 to ch.7 input resistor of A/D = 1.6 kΩ at 4.5 V < AVCC < 5.5 V ch.8 to ch.15 input resistor of A/D = 1.7 kΩ at 4.5 V < AVCC < 5.5 V ch.16 to ch.26 input resistor of A/D = 2.2 kΩ at 2.7 V < AVCC < 4.5 V ch.0 to ch.7 input resistor of A/D = 2.3 kΩ at 2.7 V < AVCC < 4.5 V ch.8 to ch.15 input resistor of A/D = 2.4 kΩ at 2.7 V < AVCC < 4.5 V ch.16 to ch.26 CAIN: input capacity of A/D = 9.7 pF at 2.7 V < AVCC < 5.5 V REXT: Output impedance of external circuit (Equation 2) tC = tCCK × 14 tC: Compare time tCCK: Compare clock cycle Document Number: 002-05652 Rev.*A Page 81 of 108 MB9B320M Series Definition of 12-bit A/D Converter Terms Resolution : Analog variation that is recognized by an A/D converter. Integral Nonlinearity : Deviation of the line between the zero-transition point (0b000000000000 ←→ 0b000000000001) and the full-scale transition point (0b111111111110 ←→ 0b111111111111) from the actual conversion characteristics. : Deviation from the ideal value of the input voltage that is required to change the output code by 1 LSB. Differential Nonlinearity Integral Nonlinearity Differential Nonlinearity 0xFFF Actual conversion characteristics 0xFFE Actual conversion characteristics 0x(N+1) {1 LSB(N-1) + VZT} VFST VNT 0x004 (Actuallymeasured value) (Actually-measured value) 0x003 Digital output Digital output 0xFFD 0xN Ideal characteristics (Actually-measured value) Actual conversion characteristics Ideal characteristics 0x002 VNT (Actually-measured value) 0x(N-2) 0x001 VZT (Actually-measured value) AVRL Actual conversion characteristics AVRH AVRL Analog input Integral Nonlinearity of digital output N = Differential Nonlinearity of digital output N = 1LSB = N: VZT: VFST: VNT: V(N+1)T 0x(N-1) AVRH Analog input VNT - {1LSB × (N - 1) + VZT} 1LSB V(N + 1) T - VNT 1LSB [LSB] - 1 [LSB] VFST - VZT 4094 A/D converter digital output value. Voltage at which the digital output changes from 0x000 to 0x001. Voltage at which the digital output changes from 0xFFE to 0xFFF. Voltage at which the digital output changes from 0x(N − 1) to 0xN. Document Number: 002-05652 Rev.*A Page 82 of 108 MB9B320M Series 12.6 10-bit D/A Converter Electrical Characteristics for the D/A Converter (VCC = AVCC = 2.7V to 5.5V, VSS = AVSS = AVRL = 0V, TA = - 40°C to + 105°C) Parameter Resolution Symbol Integral Nonlinearity* 1, 2 Differential Nonlinearity* * tC20 tC100 INL DNL Output Voltage offset VOFF Analog output impedance RO Output undefined period tR Conversion time 1 Pin name DAx Min 0.47 2.37 - 4.0 - 0.9 - 20.0 3.10 2.0 - Value Typ 0.58 2.90 3.80 - Max 10 0.69 3.43 + 4.0 + 0.9 10.0 + 5.4 4.50 70 Unit bit μs μs LSB LSB mV mV kΩ MΩ ns Remarks Load 20 pF Load 100 pF Code is 0x000 Code is 0x3FF D/A operation D/A stop *1: No-load *2: Generates the max current by the CODE about 0x200 Document Number: 002-05652 Rev.*A Page 83 of 108 MB9B320M Series 12.7 USB Characteristics (VCC = 2.7V to 5.5V, USBVCC = 3.0V to 3.6V, VSS = 0V, TA = - 40°C to + 105°C) Parameter Symbol Input H level voltage Pin name Value Conditions Min Max Unit Remarks VIH - 2.0 USBVCC + 0.3 V *1 VIL - VSS - 0.3 0.8 V *1 VDI - 0.2 - V *2 Different common mode range VCM - 0.8 2.5 V *2 Output H level voltage VOH 2.8 3.6 V *3 Output L level voltage VOL 0.0 0.3 V *3 1.3 4 4 90 28 75 75 80 2.0 20 20 111.11 44 300 300 125 V ns ns % Ω ns ns % *4 *5 *5 *5 *6 *7 *7 *7 Input Input L level voltage charact-eris Differential input sensitivity tics Crossover voltage Output charact-eris Rising time Falling time tics Rising/ falling time matching Output impedance Rising time Falling time Rising/ falling time matching VCRS tFR tFF tFRFM ZDRV tLR tLF tLRFM UDP0, UDM0 External pull-down resistor = 15kΩ External pull-up resistor = 1.5kΩ Full-Speed Full-Speed Full-Speed Full-Speed Low-Speed Low-Speed Low-Speed *1: The switching threshold voltage of the Single-End-Receiver of USB I/O buffer is set as within VIL (Max) = 0.8 V, VIH (Min) = 2.0 V (TTL input standard). There are some hysteresis to lower noise sensitivity. Minimum differential input sensitivity [V] *2: Use the differential-Receiver to receive the USB differential data signal. The Differential-Receiver has 200 mV of differential input sensitivity when the differential data input is within 0.8 V to 2.5 V to the local ground reference level. The voltage range above is said to be the common mode input voltage range. Common mode input voltage [V] *3: The output drive capability of the driver is below 0.3 V at Low-State (VOL) (to 3.6 V and 1.5 kΩ load), and 2.8 V or above (to ground and 15 kΩ load) at High-State (VOH). *4: The cross voltage of the external differential output signal (D + /D − ) of USB I/O buffer is within 1.3 V to 2.0 V. VCRS specified range Document Number: 002-05652 Rev.*A Page 84 of 108 MB9B320M Series *5: They indicate rising time (Trise) and falling time (Tfall) of the full-speed differential data signal. They are defined by the time between 10% and 90% of the output signal voltage. For full-speed buffer, Tr/Tf ratio is regulated as within ± 10% to minimize RFI emission. Rising time Document Number: 002-05652 Rev.*A Falling time Page 85 of 108 MB9B320M Series *6: USB Full-speed connection is performed via twist pair cable shield with 90 Ω ± 15% characteristic impedance (Differential Mode). USB standard defines that output impedance of USB driver must be in range from 28 Ω to 44 Ω. So, discrete series resistor (Rs) addition is defined in order to satisfy the above definition and keep balance. When using this USB I/O, use it with 25 Ω to 30 Ω (recommendation value 27 Ω) Series resistor Rs. 28Ω to 44Ω Equiv. Imped. 28Ω to 44Ω Equiv. Imped. Mount it as external resistor. Rs series resistor 25Ω to 30Ω Series resistor of 27Ω (recommendation value) must be added. And, use "resistance with an uncertainty of 5% by E24 sequence". *7: They indicate rising time (Trise) and falling time (Tfall) of the low-speed differential data signal. They are defined by the time between 10% and 90% of the output signal voltage. Rising time Falling time See “Low-Speed Load (Compliance Load)” for conditions of the external load. Document Number: 002-05652 Rev.*A Page 86 of 108 MB9B320M Series Low-Speed Load (Upstream Port Load) - Reference 1 CL = 50pF to 150pF CL = 50pF to 150pF Low-Speed Load (Downstream Port Load) - Reference 2 CL = 200pF to 600pF CL = 200pF to 600pF Low-Speed Load (Compliance Load) CL = 200pF to 450pF CL = 200pF to 450pF Document Number: 002-05652 Rev.*A Page 87 of 108 MB9B320M Series 12.8 Low-Voltage Detection Characteristics 12.8.1 Low-Voltage Detection Reset (TA = - 40°C to + 105°C) Parameter Symbol Conditions 1 Value Typ Min Max Unit Detected voltage Released voltage Detected voltage Released voltage Detected voltage Released voltage Detected voltage Released voltage Detected voltage Released voltage Detected voltage Released voltage Detected voltage Released voltage Detected voltage Released voltage Detected voltage Released voltage Detected voltage Released voltage Detected voltage Released voltage VDL VDH VDL VDH VDL VDH VDL VDH VDL VDH VDL VDH VDL VDH VDL VDH VDL VDH VDL VDH VDL VDH SVHR* = 00000 1 SVHR* = 00001 1 SVHR* = 00010 1 SVHR* = 00011 1 SVHR* = 00100 1 SVHR* = 00101 1 SVHR* = 00110 1 SVHR* = 00111 1 SVHR* = 01000 1 SVHR* = 01001 1 SVHR* = 01010 2.25 2.45 2.65 2.30 2.50 2.70 2.39 2.60 2.81 Same as SVHR = 00000 value 2.48 2.70 2.92 Same as SVHR = 00000 value 2.58 2.80 3.02 Same as SVHR = 00000 value 2.76 3.00 3.24 Same as SVHR = 00000 value 2.94 3.20 3.46 Same as SVHR = 00000 value 3.31 3.60 3.89 Same as SVHR = 00000 value 3.40 3.70 4.00 Same as SVHR = 00000 value 3.68 4.00 4.32 Same as SVHR = 00000 value 3.77 4.10 4.43 Same as SVHR = 00000 value 3.86 4.20 4.54 Same as SVHR = 00000 value V V V V V V V V V V V V V V V V V V V V V V LVD stabilization wait time tLVDW - - - 8160 × 2 tCYCP* μs LVD detection delay time tLVDDL - - - 200 μs Remarks When voltage drops When voltage rises When voltage drops When voltage rises When voltage drops When voltage rises When voltage drops When voltage rises When voltage drops When voltage rises When voltage drops When voltage rises When voltage drops When voltage rises When voltage drops When voltage rises When voltage drops When voltage rises When voltage drops When voltage rises When voltage drops When voltage rises *1: The SVHR bit of Low-Voltage Detection Voltage Control Register (LVD_CTL) is initialized to "00000" by Low-Voltage Detection Reset. *2: tCYCP indicates the APB2 bus clock cycle time. Document Number: 002-05652 Rev.*A Page 88 of 108 MB9B320M Series 12.8.2 Interrupt of Low-Voltage Detection (TA = - 40°C to + 105°C) Parameter Symbol Detected voltage VDL Released voltage VDH Detected voltage VDL Released voltage VDH Detected voltage VDL Released voltage VDH Detected voltage VDL Released voltage VDH Detected voltage VDL Released voltage VDH Detected voltage VDL Released voltage VDH Detected voltage VDL Released voltage VDH Detected voltage VDL Released voltage VDH Conditions SVHI = 00011 SVHI = 00100 SVHI = 00101 SVHI = 00110 SVHI = 00111 SVHI = 01000 SVHI = 01001 SVHI = 01010 Value Typ Min Max Unit Remarks 2.58 2.80 3.02 V When voltage drops 2.67 2.90 3.13 V When voltage rises 2.76 3.00 3.24 V When voltage drops 2.85 3.10 3.35 V When voltage rises 2.94 3.20 3.46 V When voltage drops 3.04 3.30 3.56 V When voltage rises 3.31 3.60 3.89 V When voltage drops 3.40 3.70 4.00 V When voltage rises 3.40 3.70 4.00 V When voltage drops 3.50 3.80 4.10 V When voltage rises 3.68 4.00 4.32 V When voltage drops 3.77 4.10 4.43 V When voltage rises 3.77 4.10 4.43 V When voltage drops 3.86 4.20 4.54 V When voltage rises 3.86 4.20 4.54 V When voltage drops 3.96 4.30 4.64 V When voltage rises μs μs LVD stabilization wait time tLVDW - - - 8160 × tCYCP* LVD detection delay time tLVDDL - - - 200 *: tCYCP indicates the APB2 bus clock cycle time. Document Number: 002-05652 Rev.*A Page 89 of 108 MB9B320M Series 12.9 Flash Memory Write/Erase Characteristics 12.9.1 Write / Erase time (VCC = 2.7V to 5.5V, TA = - 40°C to + 105°C) Value Parameter Typ Unit Max Large Sector 1.1 2.7 Small Sector 0.3 0.9 Half word (16-bit) write time 16 Chip erase time 6.8 Sector erase time Remarks s Includes write time prior to internal erase 310 μs Not including system-level overhead time 18 s Includes write time prior to internal erase *: The typical value is immediately after shipment, the maximam value is guarantee value under 10,000 cycle of erase/write. 12.9.2 Write cycles and data hold time Erase/write cycles (cycle) Data hold time (year) 1,000 20* 10,000 10* Remarks *: At average + 85°C Document Number: 002-05652 Rev.*A Page 90 of 108 MB9B320M Series 12.10 Return Time from Low-Power Consumption Mode 12.10.1 Return Factor: Interrupt/WKUP The return time from Low-Power consumption mode is indicated as follows. It is from receiving the return factor to starting the program operation. Return Count Time (VCC = 2.7V to 5.5V, TA = - 40°C to + 105°C) Parameter Value Symbol Sleep mode High-speed CR Timer mode, Main Timer mode, PLL Timer mode Typ Max* 40 80 μs 340 680 μs 680 860 μs 268 503 μs 308 268 583 503 μs μs tICNT Sub Timer mode RTC mode, Stop mode Deep Standby RTC mode Deep Standby Stop mode Remarks μs tCYCC Low-speed CR Timer mode Unit When RAM is off When RAM is on *: The maximum value depends on the accuracy of built-in CR. Operation example of return from Low-Power consumption mode (by external interrupt*) External interrupt Interrupt factor accept Active tICNT CPU Operation Interrupt factor clear by CPU Start *: External interrupt is set to detecting fall edge. Document Number: 002-05652 Rev.*A Page 91 of 108 MB9B320M Series Operation example of return from Low-Power consumption mode (by internal resource interrupt*) Internal resource interrupt Interrupt factor accept Active tICNT CPU Operation Interrupt factor clear by CPU Start *: Internal resource interrupt is not included in return factor by the kind of Low-Power consumption mode. Notes: • The return factor is different in each Low-Power consumption modes. See “Chapter 6: Low Power Consumption Mode” and “Operations of Standby Modes” in FM3 Family Peripheral Manual. • When interrupt recoveries, the operation mode that CPU recoveries depends on the state before the Low-Power consumption mode transition. See “Chapter 6: Low Power Consumption Mode” in “FM3 Family Peripheral Manual”. Document Number: 002-05652 Rev.*A Page 92 of 108 MB9B320M Series 12.10.2 Return Factor: Reset The return time from Low-Power consumption mode is indicated as follows. It is from releasing reset to starting the program operation. Return Count Time (VCC = 2.7V to 5.5V, TA = - 40°C to + 105°C) Parameter Value Symbol Sleep mode High-speed CR Timer mode, Main Timer mode, PLL Timer mode Low-speed CR Timer mode Typ Max* 148 263 μs 148 263 μs 248 463 μs 312 496 μs 268 503 μs 308 268 583 503 μs μs tRCNT Sub Timer mode RTC mode, Stop mode Deep Standby RTC mode Deep Standby Stop mode Unit Remarks When RAM is off When RAM is on *: The maximum value depends on the accuracy of built-in CR. Operation example of return from Low-Power consumption mode (by INITX) INITX Internal reset Reset active Release tRCNT CPU Operation Document Number: 002-05652 Rev.*A Start Page 93 of 108 MB9B320M Series Operation example of return from low power consumption mode (by internal resource reset*) Internal resource reset Internal reset Reset active Release tRCNT CPU Operation Start *: Internal resource reset is not included in return factor by the kind of Low-Power consumption mode. Notes: • The return factor is different in each Low-Power consumption modes. See “Chapter 6: Low Power Consumption Mode” and “Operations of Standby Modes” in FM3 Family Peripheral Manual. • When interrupt recoveries, the operation mode that CPU recoveries depends on the state before the Low-Power consumption mode transition. See “Chapter 6: Low Power Consumption Mode” in “FM3 Family Peripheral Manual”. • The time during the power-on reset/low-voltage detection reset is excluded. See “12.4.7. Power-on Reset Timing in 12.4. AC Characteristics in 12.Electrical Characteristics” for the detail on the time during the power-on reset/low -voltage detection reset. • When in recovery from reset, CPU changes to the high-speed CR run mode. When using the main clock or the PLL clock, it is necessary to add the main clock oscillation stabilization wait time or the Main PLL clock stabilization wait time. • The internal resource reset means the watchdog reset and the CSV reset. Document Number: 002-05652 Rev.*A Page 94 of 108 MB9B320M Series 13. Ordering Information Part number On-chip Flash memory On-chip SRAM MB9BF321KQN-G-AVE2 Main: 64 Kbyte Work: 32 Kbyte 16 Kbyte MB9BF322KQN-G-AVE2 Main: 128 Kbyte Work: 32 Kbyte 16 Kbyte MB9BF324KQN-G-AVE2 Main: 256 Kbyte Work: 32 Kbyte 32 Kbyte MB9BF321KPMC-G-JNE2 Main: 64 Kbyte Work: 32 Kbyte 16 Kbyte MB9BF322KPMC-G-JNE2 Main: 128 Kbyte Work: 32 Kbyte 16 Kbyte MB9BF324KPMC-G-JNE2 Main: 256 Kbyte Work: 32 Kbyte 32 Kbyte MB9BF321LQN-G-AVE2 Main: 64 Kbyte Work: 32 Kbyte 16 Kbyte MB9BF322LQN-G-AVE2 Main: 128 Kbyte Work: 32 Kbyte 16 Kbyte MB9BF324LQN-G-AVE2 Main: 256 Kbyte Work: 32 Kbyte 32 Kbyte MB9BF321LPMC1-G-JNE2 Main: 64 Kbyte Work: 32 Kbyte 16 Kbyte MB9BF322LPMC1-G-JNE2 Main: 128 Kbyte Work: 32 Kbyte 16 Kbyte MB9BF324LPMC1-G-JNE2 Main: 256 Kbyte Work: 32 Kbyte 32 Kbyte MB9BF321LPMC-G-JNE2 Main: 64 Kbyte Work: 32 Kbyte 16 Kbyte MB9BF322LPMC-G-JNE2 Main: 128 Kbyte Work: 32 Kbyte 16 Kbyte MB9BF324LPMC-G-JNE2 Main: 256 Kbyte Work: 32 Kbyte 32 Kbyte MB9BF321MPMC-G-JNE2 Main: 64 Kbyte Work: 32 Kbyte 16 Kbyte MB9BF322MPMC-G-JNE2 Main: 128 Kbyte Work: 32 Kbyte 16 Kbyte MB9BF324MPMC-G-JNE2 Main: 256 Kbyte Work: 32 Kbyte 32 Kbyte MB9BF321MPMC1-G-JNE2 Main: 64 Kbyte Work: 32 Kbyte 16 Kbyte MB9BF322MPMC1-G-JNE2 Main: 128 Kbyte Work: 32 Kbyte 16 Kbyte MB9BF324MPMC1-G-JNE2 Main: 256 Kbyte Work: 32 Kbyte 32 Kbyte MB9BF321MBGL-GE1 Main: 64 Kbyte Work: 32 Kbyte 16 Kbyte MB9BF322MBGL-GE1 Main: 128 Kbyte Work: 32 Kbyte 16 Kbyte MB9BF324MBGL-GE1 Main: 256 Kbyte Work: 32 Kbyte 32 Kbyte Document Number: 002-05652 Rev.*A Package Packing Plastic・QFN (0.5 mm pitch), 48-pin (LCC-48P-M73) Plastic・LQFP (0.5 mm pitch), 48-pin (FPT-48P-M49) Plastic・QFN (0.5 mm pitch), 64-pin (LCC-64P-M24) Plastic・LQFP (0.5 mm pitch), 64-pin (FPT-64P-M38) Tray Plastic・LQFP (0.65 mm pitch), 64-pin (FPT-64P-M39) Plastic・LQFP (0.5 mm pitch), 80-pin (FPT-80P-M37) Plastic・LQFP (0.65 mm pitch), 80-pin (FPT-80P-M40) Plastic・PFBGA (0.5 mm pitch), 96-pin (BGA-96P-M07) Tray Page 95 of 108 MB9B320M Series 14. Package Dimensions 80-pin plastic LQFP Lead pitch 0.50 mm Package width × package length 12.00 mm × 12.00 mm Lead shape Gullwing Lead bend direction Normal bend Sealing method Plastic mold Mounting height 1.70 mm MAX Weight 0.47 g (FPT-80P-M37) 80-pin plastic LQFP (FPT-80P-M37) Note 1) * : These dimensions do not include resin protrusion. Note 2) Pins width and pins thickness include plating thickness. Note 3) Pins width do not include tie bar cutting remainder. 14.00± 0.20(.551 ± .008)SQ *12.00± 0.10(.472 ± .004)SQ 60 0.145± 0.055 (.006 ± .002) 41 Details of "A" part 61 40 +0.20 1.50 –0.10 (Mounting height) .059 +.008 –.004 0.25(.010) 0~8° 0.08(.003) INDEX 80 0.50 ± 0.20 (.020 ± .008) 0.60 ± 0.15 (.024 ± .006) 0.10 ± 0.05 (.004 ± .002) (Stand off) 21 "A" 1 20 0.50(.020) 0.22± 0.05 (.009± .002) C 0.08(.003) 2009-2010 FUJITSU SEMICONDUCTOR LIMITED F80037S-c-1-2 Document Number: 002-05652 Rev.*A M Dimensions in mm (inches). Note: The values in parentheses are reference values. Page 96 of 108 MB9B320M Series Document Number: 002-05652 Rev.*A Page 97 of 108 MB9B320M Series 64-pin plastic LQFP Lead pitch 0.50 mm Package width × package length 10.00 mm × 10.00 mm Lead shape Gullwing Lead bend direction Normal bend Sealing method Plastic mold Mounting height 1.70 mm MAX Weight 0.32 g (FPT-64P-M38) 64-pin plastic LQFP (FPT-64P-M38) Note 1) * : These dimensions do not include resin protrusion. Note 2) Pins width and pins thickness include plating thickness. Note 3) Pins width do not include tie bar cutting remainder. 12.00±0.20(.472±.008)SQ *10.00±0.10(.394±.004)SQ 48 0.145 ± 0.055 (.006 ± .002) 33 49 Details of "A" part 32 +0.20 0.08(.003) 1.50 –0.10 (Mounting height) .059 +.008 –.004 0.25(.010) 0~8° INDEX 64 1 0.22±0.05 (.009±.002) 0.08(.003) 2010 FUJITSU SEMICONDUCTOR LIMITED F64038S-c-1-2 Document Number: 002-05652 Rev.*A 0.10 ± 0.10 (.004±.004) (Stand off) "A" 16 0.50(.020) C 0.50±0.20 (.020±.008) 0.60 ± 0.15 (.024±.006) 17 M Dimensions in mm (inches). Note: The values in parentheses are reference values. Page 98 of 108 MB9B320M Series 64-pin plastic LQFP Lead pitch 0.65 mm Package width × package length 12.00 mm × 12.00 mm Lead shape Gullwing Sealing method Plastic mold Mounting height 1.70 mm MAX Weight 0.47 g (FPT-64P-M39) 64-pin plastic LQFP (FPT-64P-M39) Note 1) Pins width and pins thickness include plating thickness. 14.00±0.20(.551±.008)SQ 12.00±0.10(.472±.004)SQ 48 0.145±0.055 (.006±.002) 33 Details of "A" part 49 32 +0.20 1.50 –0.10 .059 +.008 –.004 0.10(.004) INDEX 64 16 0.65(.026) C 0.50±0.20 (.020±.008) 0.60±0.15 (.024±.006) 17 1 0.32±0.05 (.013±.002) 0.10±0.10 (.004±.004) 0.25(.010)BSC "A" 0.13(.005) M 2010-2011 FUJITSU SEMICONDUCTOR LIMITED HMbF64-39Sc-2-2 Document Number: 002-05652 Rev.*A 0~8˚ Dimensions in mm (inches). Note: The values in parentheses are reference values. Page 99 of 108 MB9B320M Series 64-pin plastic QFN Lead pitch 0.50 mm Package width × package length 9.00 mm × 9.00 mm Sealing method Plastic mold Mounting height 0.90 mm MAX Weight - (LCC-64P-M24) 64-pin plastic QFN (LCC-64P-M24) 9.00±0.10 (.354±.004) 6.00±0.10 (.236±.004) 9.00±0.10 (.354±.004) 0.25±0.05 (.010±.002) 6.00±0.10 (.236±.004) INDEX AREA 0.45 (.018) 1PIN ID (0.20R (.008R)) 0.85±0.05 (.033±.002) 0.05 (.002) MAX C 0.40±0.05 (.016±.002) (0.20 (.008)) 2011 FUJITSU SEMICONDUCTOR LIMITED HMbC64-24Sc-2-1 Document Number: 002-05652 Rev.*A 0.50 (.020) (TYP) Dimensions in mm (inches). Note: The values in parentheses are reference values. Page 100 of 108 MB9B320M Series 48-pin plastic LQFP Lead pitch 0.50 mm Package width × package length 7.00 mm × 7.00 mm Lead shape Gullwing Lead bend direction Normal bend Sealing method Plastic mold Mounting height 1.70 mm MAX Weight 0.17 g (FPT-48P-M49) 48-pin plastic LQFP (FPT-48P-M49) Note 1) * : These dimensions do not include resin protrusion. Note 2) Pins width and pins thickness include plating thickness. Note 3) Pins width do not include tie bar cutting remainder. 9.00 ± 0.20(.354 ± .008)SQ *7.00± 0.10(.276 ± .004)SQ 36 0.145± 0.055 (.006 ± .002) 25 37 24 0.08(.003) Details of "A" part +0.20 1.50 –0.10 (Mounting height) +.008 .059 –.004 INDEX 48 13 "A" 0°~8° 1 0.50(.020) C 12 0.22 ± 0.05 (.008 ± .002) 0.08(.003) 2010 FUJITSU SEMICONDUCTOR LIMITED HMbF48-49Sc-1-2 Document Number: 002-05652 Rev.*A 0.10 ± 0.10 (.004 ± .004) (Stand off) 0.25(.010) M 0.60 ± 0.15 (.024 ± .006) Dimensions in mm (inches). Note: The values in parentheses are reference values. Page 101 of 108 MB9B320M Series Document Number: 002-05652 Rev.*A Page 102 of 108 MB9B320M Series Document Number: 002-05652 Rev.*A Page 103 of 108 MB9B320M Series 15. Major Changes Spansion Publication Number: MB9B320M_DS706-00049 Page Section Change Results Revision 1.0 Features 3 A/D Converter (Max 26channels) Uniqueid 6 Product Lineup 7 Function List Of Pin Functions 16 to 18 List Of Pin Numbers List Of Pin Functions 33 I/O Circuit Type 39 Block Diagram 46 55 57 58, 59 62 63 Electrical Characteristics 1. Absolute Maximum Ratings 2. Recommended Operating Conditions 3. Dc Characteristics (1) Current Rating 4. Ac Characteristics (3) Built-In Cr Oscillation Characteristics (4-2) Operating Conditions Of Main PLL (In The Case Of Using Built-In High-Speed CR For Input Clock Of Main PLL) 5. 12-Bit A/D Converter Electrical Characteristics For The A/D Converter 79 82 87 Revised the Condition of "Operating temperature". Revised the value of "TBD". Added "Flash memory write/erase current". Revised the Condition. Revised the footnote. Revised the value of "TBD". Deleted "(Preliminary value)". Revised the conversion time. Min: 1.0μs → 0.8μs 6. 10-Bit D/A Converter 8. Low-Voltage Detection Characteristics Revised the value of "TBD". 9. Mainflash Memory Write/Erase Characteristics Revised the value of "TBD". Revised the value of "Sector erase time". - Large Sector Typ: 1.065s → 1.1s - Small Sector Typ: 0.606s → 0.3s Revised the value of "Chip erase time". Typ: 9.11s → 6.8s Deleted "(targeted value)". Revision 1.1 Revision 2.0 Features On-Chip Memories [Flash Memory] 2 USB Interface [USB Function] 2 Multi-Function Serial Interface [I C] General-Purpose I/O Port 4 Corrected the I/O circuit type. Corrected the Pin state type. Corrected the Pin function. Added the "Type: L". Corrected the figure. - TIOA: input → input/output - TIOB: output → input Revised the value of "TBD". Revised the value of "Compare clock cycle (AVCC ≥ 4.5V)". Min: 50ns → 40ns Revised the footnote. Deleted "(Preliminary value)". 88 3 Preliminary → Data Sheet Revised the conversion time: 1.0μs → 0.8μs Added the "Unique ID". Added the "Unique ID". Multi-Function Timer Document Number: 002-05652 Rev.*A Company name and layout design change Revised the features of Dual operation Flash memory Added the size of each endpoint. Corrected the mode. High speed mode → Fast mode Revised the features of 5V tolerant I/O. Corrected the number of A/D activating compare channels. 3ch. → 2ch. Page 104 of 108 MB9B320M Series Page Section Change Results Product Lineup Function Corrected the number of A/D activating compare channels. 3ch. → 2ch. Revised Built-in CR . High-speed: 4MHz(± 2%) → 4MHz Low-speed: 100kHz(Typ) → 100kHz Revised the footnote. 21 List Of Pin Functions List Of Pin Numbers Corrected the pin number of ZIN1_1. 24 29 31 List Of Pin Functions 37 I/O Circuit Type 44 Handling Devices Sub Crystal Oscillator Added the descriptions. 47 Block Diagram Corrected the figure. -A/D Activation Compare: 3ch → 2ch 49 Memory Map Memory Map (2) Added the explanatory note. 7 8 54 55 Pin Status In Each Cpu State List Of Pin Status 58 Electrical Characteristics 2. Recommended Operating Conditions 59 3. Dc Characteristics (1) Current Rating 63 64 66 4. Ac Characteristics (2) Sub Clock Input Characteristics (3) Built-In CR Oscillation Characteristics Built-In High-Speed CR (6) Power-On Reset Timing 68 (8) Csio Timing 70,72,74 79 81 2 (11) I c Timing 5. 12-Bit A/D Converter Electrical Characteristics For The A/D Converter 82 83 Difinition Of 12-Bit A/D Converter Terms 84 6. 10-Bit D/A Converter Electrical Characteristics For The D/A Converter Document Number: 002-05652 Rev.*A Corrected the pin number of ADTG_2. Corrected pin numbers of SIN0_1 and SOT0_1. Corrected the pin number of DTTI0X_2. Corrested the I/O circuit figure. TYPE H : GPIO Digital input → GPIO Digital output Added the pin function of selected Analog output about type L. Corrected the footnote. Sub CR timer→ Low-speed CR tim Added the note and footnote. Corrected the value of Analog reference voltage “AVRH”. Min.: AVss → 2.7 Added notes and footnotes. Added the remarks of Icc. Added the frequency of main clock crystal oscillator in remarks Added the footnote. Added "Frequency stabilization time" Added notes and footnotes. Added "Timing until releaseing Power-on reset" Added the timing chart Corrected the title. UART Timing → CSIO Timing Corrected the notefoot. UART → Multi-function serial Corrected the notefoot. UART → Multi-function serial Revised the Condition. Revised the footnote. Changed the name of parameter. •Non Linearity error → Integral Nonlinearity •Differential linearity error → Differential Nonlinearity Changed the Symbol. Of Zero transition voltage. VoT → VZT Changed the pin name. AN00 to AN26 → ANxx Corrected the value of V0T, VFST, Ts, Tstt, and reference voltage. Revides footnotes. Change the figure. AN00 to AN26 → ANxx •Linearity error → Integral Nonlinearity •Differential linearity error → Differential Nonlinearity V0T → VZT •Revised the remark of IDDA. D/A operation → D/A 1unit operation Changed the name of parameter. •Linearity error → Integral Nonlinearity •Differential linearity error → Differential Nonlinearity Page 105 of 108 MB9B320M Series Page Section 89 8. Low-Voltage Detection Characteristics (1) Low-Voltage Detection Reset 90 (2) Interrupt Of Low-Voltage Detection 91 9. Flash Memory Write/Erase Characteristics 92 10. Return Time Low-Power Consumption Mode Revision 3.0 Features 2 Usb Interface 36, 37 I/O Circuit Type Memory Map 49 · Memory Map(2) PIN STATUS IN EACH CPU STAE 54 · List Of Pin Status Electrical Characteristics 56, 57 1. Absolute Maximum Ratings 59-61 66 69-76 77 Electrical Characteristics 3. DC Characteristics (1) Current Rating Electrical Characteristics 4. AC Characteristics (4-1) Operating Conditions Of Main And USB PLL (4-2) Operating Conditions Of Main PLL Electrical Characteristics 4. Ac Characteristics (7) Csio/Uart Timing Electrical Characteristics 4. Ac Characteristics (9) External Input Timing 82 Electrical Characteristics 5. 12bit A/D Converter 97, 98 Ordering Information Change Results Corrected the condition and the value. Added the note and the footnote. Added “LVD detection delay time”. Corrected the condition and the value. Added “LVD detection delay time”. Changed the title of Chapter. Main Flash Memory Write/Erase Characteristics → Flash Memory Write/Erase Characteristics Added the Chapter “Return Time from Low-Power Consumption Mode”. Added The Description Of Pll For Usb Added About +B Input Added The Summary Of Flash Memory Sector And The Note Changed The Pin Status Of I-Type · Added The Clamp Maximum Current · Added About +B Input · Changed The Table Format · Added Main TIMER Mode Current · Moved A/D Converter Current · Moved D/A Converter Current · Added The Figure Of Main PLL Connection And USB PLL Connection · Modified From Uart Timing To Csio/Uart Timing · Changed From Internal Shift Clock Operation To Master Mode · Changed From External Shift Clock Operation To Slave Mode Added Input Pulse Width Of Wkupx Pin · Added The Typical Value Of Integral Nonlinearity, Differential Nonlinearity, Zero Transition Voltage And Full-Scale Transition Voltage · Added Conversion Time At Avcc < 4.5V Change To Full Part Number Note: Please see “Document History” about later revised information. Document Number: 002-05652 Rev.*A Page 106 of 108 MB9B320M Series Document History Document Title: MB9B320M Series 32-Bit ARM® Cortex®-M3, FM3 Microcontroller Document Number: 002-05652 Orig. of Submission Change Date – TOYO 09/13/2012 5166569 TOYO Revision ECN ** *A Description of Change Migrated to Cypress and assigned document number 002-05652. No change to document contents or format. Document Number: 002-05652 Rev.*A 03/08/2016 Updated to Cypress format. Page 107 of 108 MB9B320M Series Sales, Solutions, and Legal Information Worldwide Sales and Design Support Cypress maintains a worldwide network of offices, solution centers, manufacturer’s representatives, and distributors. To find the office closest to you, visit us at Cypress Locations. PSoC® Solutions Products ARM® Cortex® Microcontrollers Automotive Clocks & Buffers Interface Lighting & Power Control Memory PSoC Touch Sensing USB Controllers Wireless/RF cypress.com/arm cypress.com/automotive cypress.com/clocks cypress.com/interface cypress.com/powerpsoc cypress.com/memory cypress.com/psoc psoc.cypress.com/solutions PSoC 1 | PSoC 3 | PSoC 4 | PSoC 5LP Cypress Developer Community Community | Forums | Blogs | Video | Training Technical Support cypress.com/go/support cypress.com/touch cypress.com/usb cypress.com/wireless ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries. © Cypress Semiconductor Corporation 2012-2016. This document is the property of Cypress Semiconductor Corporation and its subsidiaries, including Spansion LLC ("Cypress"). This document, including any software or firmware included or referenced in this document ("Software"), is owned by Cypress under the intellectual property laws and treaties of the United States and other countries worldwide. Cypress reserves all rights under such laws and treaties and does not, except as specifically stated in this paragraph, grant any license under its patents, copyrights, trademarks, or other intellectual property rights. If the Software is not accompanied by a license agreement and you do not otherwise have a written agreement with Cypress governing the use of the Software, then Cypress hereby grants you under its copyright rights in the Software, a personal, non-exclusive, nontransferable license (without the right to sublicense) (a) for Software provided in source code form, to modify and reproduce the Software solely for use with Cypress hardware products, only internally within your organization, and (b) to distribute the Software in binary code form externally to end users (either directly or indirectly through resellers and distributors), solely for use on Cypress hardware product units. Cypress also grants you a personal, non-exclusive, nontransferable, license (without the right to sublicense) under those claims of Cypress's patents that are infringed by the Software (as provided by Cypress, unmodified) to make, use, distribute, and import the Software solely to the minimum extent that is necessary for you to exercise your rights under the copyright license granted in the previous sentence. Any other use, reproduction, modification, translation, or compilation of the Software is prohibited. CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS DOCUMENT OR ANY SOFTWARE, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Cypress reserves the right to make changes to this document without further notice. Cypress does not assume any liability arising out of the application or use of any product or circuit described in this document. Any information provided in this document, including any sample design information or programming code, is provided only for reference purposes. It is the responsibility of the user of this document to properly design, program, and test the functionality and safety of any application made of this information and any resulting product. Cypress products are not designed, intended, or authorized for use as critical components in systems designed or intended for the operation of weapons, weapons systems, nuclear installations, life-support devices or systems, other medical devices or systems (including resuscitation equipment and surgical implants), pollution control or hazardous substances management, or other uses where the failure of the device or system could cause personal injury, death, or property damage ("Unintended Uses"). A critical component is any component of a device or system whose failure to perform can be reasonably expected to cause the failure of the device or system, or to affect its safety or effectiveness. Cypress is not liable, in whole or in part, and Company shall and hereby does release Cypress from any claim, damage, or other liability arising from or related to all Unintended Uses of Cypress products. Company shall indemnify and hold Cypress harmless from and against all claims, costs, damages, and other liabilities, including claims for personal injury or death, arising from or related to any Unintended Uses of Cypress products. Cypress, the Cypress logo, Spansion, the Spansion logo, and combinations thereof, PSoC, CapSense, EZ-USB, F-RAM, and Traveo are trademarks or registered trademarks of Cypress in the United States and other countries. For a more complete list of Cypress trademarks, visit cypress.com. Other names and brands may be claimed as property of their respective owners. Document Number: 002-05652 Rev.*A March 8, 2016 Page 108 of 108