![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
mb9a110k series 32-b it arm ? cortex ? -m 3 fm3 microcontroller cypress semiconductor corporation ? 198 champion court ? san jose , ca 95134- 1709 ? 408 -943-2600 document number: 002 -05627 rev. *b revised march 22, 2017 the mb9a110k series are a highly integrated 32-bit microcontrollers dedicated for embedded controllers with high -performance and low cost. th ese series are based on the arm ? cortex ? -m3 processor with on-chip flash memory and sram, and has peripheral functions such as motor control timers, adcs and communication interfaces (uart, csio, i 2 c, lin). the products which are described in this datasheet are placed into type5 product categories in "fm3 family peripheral manual". features 32 -bit arm ? cortex ? -m3 core ? processor version: r2p1 ? up to 40 mhz frequency operation ? 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] this series are based on two independent on-chip flash memories. ? mainflash ? up to 128 kb ? read cycle: 0 wait-cycle ? security function for code protection ? workflash ? 32 kb ? read cycle: 0 wait-cycle ? security function is shared with code protection [sram] this series contain a total of up to 16 kb on -chip sram. this 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. ? sram0: 8 kb ? sram1 : 8 kb multi-function serial interface (max 4 channels) ? 2 channels with 16-steps 9-bits fifo (ch.0, ch.1), 2 channels without fifo (ch.3, ch.5) ? operation mode is selectable from the followings for each channel. (in ch.5, only uart and lin are available.) ? uart ? csio ? lin ? i 2 c [uart] ? full-duplex double buffer ? selection with or without parity supported ? built-in dedicated baud rate generator ? external clock available as a serial clock ? hardware flow control: automatically control the transmission by cts/rts (only ch.4) ? various error detect functions available (parity errors, framing errors, and overrun errors) [csio] ? full-duplex double buffer ? built-in dedicated baud rate generator ? overrun error detect function available
document number: 002 - 05627 rev. *b page 2 of 81 mb9a110k series [lin] ? lin protocol rev.2.1 supported ? full - duplex double buffer ? master/slave mode supported ? lin break field generate (can be changed 13 to 16 - bit length) ? lin break delimiter generate (can be changed 1 to 4 - bit length) ? various error detect functions available (parity errors, framing errors, and overrun errors) [i 2 c] standard mode (max 100 kbps) / fast - mode (max 400 kbps) supported dma controller ( 4 channels) dma controller has an independent bus for 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 g b ) ? transfer mode: block transfer/burst transfer/demand transfer ? transfer data type: byte/half - word/word ? transfer block count: 1 to 16 ? number of transfers: 1 to 65536 a/d converter (ma x 8 channels) [ 12 - bit a/d converter ] ? successive approximation register type ? built - in 2 unit ? conversion time: 1.0 v @ 5 v ? priority conversion available (priority at 2 levels) ? scanning conversion mode ? built - in fifo for conversion data storage (for scan conversion: 16 steps, for priority conversion: 4 steps) base timer (max 8 channels) operation mode is selectable from the followings for each channel . ? 16 - bit pwm timer ? 16 - bit ppg timer ? 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 external bus or peripherals. moreover, the port relocate function is built in . it can set which i/o port the peripheral function can be allocated. ? capable of pull - up control per pin ? capable of reading pin level directly ? built - in the port relocate function ? up 36 fast general purpose i/o ports ? some pin is 5 v tolerant i/o. s ee " pin description " to confirm the corresponding pins. multi - function t imer the multi - function ti mer is composed of the following blocks. ? 16 - bit free - run timer 3 ch. ? input capture 4 ch. ? output compare 6 ch. ? a/d activating compare 3 ch. ? waveform generator 3 ch. ? 16 - bit ppg timer 3 ch. the following function can be used to achieve the motor control. ? pwm signal output function ? dc chopper waveform output function ? dead time function ? input capture function ? a/d convertor activate function ? dtif (motor emergency stop) interrupt function real - time clock (rtc) the real - time clock can count year/month/day/hour/minute/second/a day of the week from 00 to 99. ? interrupt function with specifying date and time (year/month/day/hour/minute) is available. this function is also available by specifying only year, month, day, hour or minute. ? timer interr upt function after set time or each set time . ? capable of rewriting the time with continuing the time count. ? leap year automatic count is available. document number: 002 - 05627 rev. *b page 3 of 81 mb9a110k series quadrature position/revolution counter (qprc) the quadrature position/revolution counter (qprc) is used to measure the position of the position encoder. moreover, it is possible to use 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 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 watch counter the watch counter is used for wake up from low power consumption mode. interval timer: up to 64 s (max) @ sub clock: 32.768 khz external interrupt controller unit ? up to 6 external interrupt input pin ? include one non - maskable interrupt (nmi) watchdog t imer (2 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. " hardware " watchdog timer is clocked by low - speed internal cr oscillator. therefore hardware" watchdog is active in any power saving mode except rtc and stop and deep stand - by rtc and deep stand - by stop. crc (cyclic redundancy check) accelerator the crc accelerator helps a verify data transmission or storage integrity. ccitt c rc16 and ieee - 802.3 crc32 are supported. ? ccitt crc16 generator polynomial: 0x1021 ? ieee - 802.3 crc32 generator polynomial: 0x04c11db7 clock and reset [clocks] five clock sources (2 external oscillator s, 2 internal cr oscillator , and main pll) that are dynamically selectable. ? main clock: 4 mhz to 48 mhz ? sub clock : 32.768 khz ? high - speed internal cr clock : 4 mhz ? low - speed internal cr clock: 100 khz ? main pll clock [resets] ? reset requests from initx pin ? power on reset ? software reset ? watchdog timers reset ? low - voltage detector reset ? clock supervisor reset clock super visor (csv) clocks generated by internal cr oscillators are used to supervise abnormality of the external clocks. ? external osc clock failure (clock stop) is detected, reset is asserted. ? externa l osc frequency anomaly is detected, interrupt or reset is asserted. low - voltage detector (lvd) this series include 2 - stage monitoring of voltage on the vcc pins. when the voltage falls below the voltage has been set, low - voltage detector generates an inte rrupt or reset. ? lvd1: error reporting via interrupt ? lvd2: auto - reset operation low power consumption m ode six low power consumption modes supported. ? sleep ? timer ? rtc ? stop ? deep stand - by rtc ? deep stand - by stop debug serial wire jtag debug port (swj - dp) power supply wide range voltage: vcc = 2.7 v to 5.5 v document number: 002 - 05627 rev. *b page 4 of 81 mb9a110k series contents 1. product lineup ................................ ................................ ................................ ................................ ................................ .. 6 2. packages ................................ ................................ ................................ ................................ ................................ ........... 7 3. pin assignment ................................ ................................ ................................ ................................ ................................ . 8 4. list of pin functions ................................ ................................ ................................ ................................ ....................... 11 5. i/o circuit type ................................ ................................ ................................ ................................ ................................ 21 6. handling precautions ................................ ................................ ................................ ................................ ..................... 26 6.1 precautions for product design ................................ ................................ ................................ ................................ ... 26 6.2 precautions for package mounting ................................ ................................ ................................ .............................. 27 6.3 precautions for use environment ................................ ................................ ................................ ................................ 28 7. handling devices ................................ ................................ ................................ ................................ ............................ 29 8. block diagram ................................ ................................ ................................ ................................ ................................ . 31 9. memory si ze ................................ ................................ ................................ ................................ ................................ .... 31 10. memory map ................................ ................................ ................................ ................................ ................................ .... 32 11. pin status in each cpu state ................................ ................................ ................................ ................................ ........ 35 12. electrical characteristics ................................ ................................ ................................ ................................ ............... 40 12.1 absolute maximum ratings ................................ ................................ ................................ ................................ ......... 40 12.2 recommended operating conditions ................................ ................................ ................................ .......................... 42 12.3 dc characteristics ................................ ................................ ................................ ................................ ....................... 43 12.3 .1 current rating ................................ ................................ ................................ ................................ .............................. 43 12.3.2 pin characteristics ................................ ................................ ................................ ................................ ....................... 46 12.4 ac characteristics ................................ ................................ ................................ ................................ ....................... 47 12.4.1 main clock input characteristics ................................ ................................ ................................ ................................ .. 47 12.4.2 sub clock input characteristics ................................ ................................ ................................ ................................ ... 48 12.4.3 internal cr oscillation characteristics ................................ ................................ ................................ ......................... 48 12.4.4 operating conditions of main pll (in the case of using main clock for input of pll) ................................ .................. 49 12.4.5 operating conditions of main pll (in the case of using high - speed internal cr) ................................ ........................ 49 12.4.6 reset input characteristics ................................ ................................ ................................ ................................ .......... 50 12.4.7 power - on reset timing ................................ ................................ ................................ ................................ ................ 50 12.4.8 base timer input timing ................................ ................................ ................................ ................................ .............. 51 12.4.9 csio/uart timing ................................ ................................ ................................ ................................ ...................... 52 12.4.10 external input timing ................................ ................................ ................................ ................................ ................ 60 12.4.11 quadrature position/revolution counter timing ................................ ................................ ................................ ........ 61 12.4.12 i 2 c timing ................................ ................................ ................................ ................................ ................................ . 63 12.4.13 jtag timing ................................ ................................ ................................ ................................ ............................. 64 12.5 12 - bit a/d converter ................................ ................................ ................................ ................................ .................... 65 12 .6 low - voltage detection characteristics ................................ ................................ ................................ ........................ 68 12.6.1 low - voltage detection reset ................................ ................................ ................................ ................................ ....... 68 12.6.2 interrupt of low - voltage detection ................................ ................................ ................................ ............................... 68 12.7 main flash memory write/erase characteristics ................................ ................................ ................................ .......... 69 12.7.1 write / erase time ................................ ................................ ................................ ................................ ......................... 69 12.7.2 erase/write cycles and data hold time ................................ ................................ ................................ .......................... 69 12.8 workflash memory write/erase characteristics ................................ ................................ ................................ ......... 69 12.8.1 write / erase time ................................ ................................ ................................ ................................ ......................... 69 12 .8.2 erase/write cycles and data hold time ................................ ................................ ................................ .......................... 69 12.9 return time from low - power consumption mode ................................ ................................ ................................ ...... 70 12.9.1 return factor: interrupt/wkup ................................ ................................ ................................ ................................ .... 70 12.9.2 return factor: reset ................................ ................................ ................................ ................................ .................... 72 document number: 002 - 05627 rev. *b page 5 of 81 mb9a110k series 13. ordering information ................................ ................................ ................................ ................................ ...................... 74 14. package dimensions ................................ ................................ ................................ ................................ ...................... 75 15. major changes ................................ ................................ ................................ ................................ ................................ 78 document h istory ................................ ................................ ................................ ................................ ................................ . 80 sales, solutions, and legal information ................................ ................................ ................................ ............................. 81 document number: 002 - 05627 rev. *b page 6 of 81 mb9a110k series 1. p roduct l ineup memory s ize product name mb9 a f 1 11k mb9 a f 1 12k on - chip flash memory mainflash 64 k b 128 k b workflash 32 k b 32 k b on - chip s ram sram0 8 k b 8 k b sram1 8 k b 8 k b total 16 k b 16 k b function product name mb9af111k mb9af112k pin count 48 /52 cpu cortex - m3 freq. 40 mhz power supply voltage range 2.7 v to 5.5 v dmac 4 ch. (max) m ulti - function serial interface (uart/csio/lin/i 2 c) 4 ch. (max) with 16 - steps 9 - bits fifo : ch.0, ch.1 without fifo : ch.3 , ch.5 (in ch.5 , only uart and lin are available.) base timer (pwc/ reload timer/pwm/ppg) 8 ch. (max) mf - timer a/d activation compare 3 ch. 1 unit (max) input capture 4 ch. free - run timer 3 ch. output compare 6 ch. waveform generator 3 ch. ppg 3 ch. qprc 1 ch. (max) dual timer 1 unit real - time clock 1 unit watch counter 1 unit crc accelerator yes watchdog timer 1 ch . (sw) + 1 ch . (hw) external interrupts 6 pins (max) + nmi 1 general purpose i/o ports 36 pins ( max ) 12 - bit a/d converter 8 ch . (2 units) csv (clock super visor) yes lvd (low - voltage detector) 2 ch . built - in osc high - speed 4 mhz low - speed 100 khz debug function swj - dp 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 general i/o port according to your function use. see 12 . electrical characteristics 12.4 . ac characteristics 12.4.3 . internal cr oscillation characteristics for accuracy of built - in cr. document number: 002 - 05627 rev. *b page 7 of 81 mb9a110k series 2. packages product name p ackage mb9af111k mb9af112k lqfp: lqa048 (0.5 mm pitch) ? qfn : vna048 (0. 5 mm pitch) ? lqfp: lqc052 (0. 6 5 mm pitch) ? ? : supported note: see 14 . package dimensions for detailed information on each package. document number: 002 - 05627 rev. *b page 8 of 81 mb9a110k series 3. pin assignment lqa048 (top view) 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 . vss p81 p80 vcc p60/sin5_0/tioa2_2/int15_1/ic00_0/wkup3 p61/sot5_0/tiob2_2/uhconx/dtti0x_2 p0f/nmix/crout_1/rtcco_0/subout_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 vcc 1 36 p21/sin0_0/int06_1/wkup2 p50/int00_0/ain0_2/sin3_1 2 35 p22/an07/sot0_0/tiob7_1 p51/int01_0/bin0_2/sot3_1 3 34 p23/an06/sck0_0/tioa7_1 p52/int02_0/zin0_2/sck3_1 4 33 avss p39/dtti0x_0/adtg_2 5 32 avrh p3a/rto00_0/tioa0_1/rtcco_2/subout_2 6 31 avcc p3b/rto01_0/tioa1_1 7 30 p15/an05/sot0_1/ic03_2 p3c/rto02_0/tioa2_1 8 29 p14/an04/sin0_1/int03_1/ic02_2 p3d/rto03_0/tioa3_1 9 28 p13/an03/sck1_1/ic01_2/rtcco_1/subout_1 p3e/rto04_0/tioa4_1 10 27 p12/an02/sot1_1/ic00_2 p3f/rto05_0/tioa5_1 11 26 p11/an01/sin1_1/int02_1/frck0_2/ic02_0/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 p4a/tiob1_0 pe0/md1 md0 pe2/x0 pe3/x1 vss lqfp - 48 document number: 002 - 05627 rev. *b page 9 of 81 mb9a110k series vna048 (top view) 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 . vss p81 p80 vcc p60/sin5_0/tioa2_2/int15_1/ic00_0/wkup3 p61/sot5_0/tiob2_2/uhconx/dtti0x_2 p0f/nmix/crout_1/rtcco_0/subout_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 vcc 1 36 p21/sin0_0/int06_1/wkup2 p50/int00_0/ain0_2/sin3_1 2 35 p22/an07/sot0_0/tiob7_1 p51/int01_0/bin0_2/sot3_1 3 34 p23/an06/sck0_0/tioa7_1 p52/int02_0/zin0_2/sck3_1 4 33 avss p39/dtti0x_0/adtg_2 5 32 avrh p3a/rto00_0/tioa0_1/rtcco_2/subout_2 6 31 avcc p3b/rto01_0/tioa1_1 7 30 p15/an05/sot0_1/ic03_2 p3c/rto02_0/tioa2_1 8 29 p14/an04/sin0_1/int03_1/ic02_2 p3d/rto03_0/tioa3_1 9 28 p13/an03/sck1_1/ic01_2/rtcco_1/subout_1 p3e/rto04_0/tioa4_1 10 27 p12/an02/sot1_1/ic00_2 p3f/rto05_0/tioa5_1 11 26 p11/an01/sin1_1/int02_1/frck0_2/ic02_0/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 p4a/tiob1_0 pe0/md1 md0 pe2/x0 pe3/x1 vss qfn - 48 document number: 002 - 05627 rev. *b page 10 of 81 mb9a110k series lqc052 (top view) 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 p ort function register (epfr) to select the pin . vss p81 p80 vcc p60/sin5_0/tioa2_2/int15_1/ic00_0/wkup3 p61/sot5_0/tiob2_2/uhconx/dtti0x_2 p0f/nmix/crout_1/rtcco_0/subout_0/wkup0 p04/tdo/swo p03/tms/swdio p02/tdi p01/tck/swclk p00/trstx nc 52 51 50 49 48 47 46 45 44 43 42 41 40 vcc 1 39 p21/sin0_0/int06_1/wkup2 p50/int00_0/ain0_2/sin3_1 2 38 p22/an07/sot0_0/tiob7_1 p51/int01_0/bin0_2/sot3_1 3 37 p23/an06/sck0_0/tioa7_1 p52/int02_0/zin0_2/sck3_1 4 36 nc nc 5 35 avss p39/dtti0x_0/adtg_2 6 34 avrh p3a/rto00_0/tioa0_1/rtcco_2/subout_2 7 33 avcc p3b/rto01_0/tioa1_1 8 32 p15/an05/sot0_1/ic03_2 p3c/rto02_0/tioa2_1 9 31 p14/an04/sin0_1/int03_1/ic02_2 p3d/rto03_0/tioa3_1 10 30 p13/an03/sck1_1/ic01_2/rtcco_1/subout_1 p3e/rto04_0/tioa4_1 11 29 p12/an02/sot1_1/ic00_2 p3f/rto05_0/tioa5_1 12 28 p11/an01/sin1_1/int02_1/frck0_2/ic02_0/wkup1 vss 13 27 p10/an00 14 15 16 17 18 19 20 21 22 23 24 25 26 c vcc p46/x0a p47/x1a initx p49/tiob0_0 p4a/tiob1_0 nc pe0/md1 md0 pe2/x0 pe3/x1 vss lqfp - 52 document number: 002 - 05627 rev. *b page 11 of 81 mb9a110k 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 pin name i/o circuit type pin state type lqfp - 48 qfn - 48 lqfp - 52 1 1 vcc - 2 2 p50 i * 1 h int00_0 ain0_2 sin3_1 3 3 p51 i * 1 h int01_0 bin0_2 sot3_1 4 4 p52 i * 1 h int02_0 zin0_2 sck3_1 - 5 nc - 5 6 p39 e i dtti0x_0 adtg_2 6 7 p3a g i rto00_0 tioa0_1 rtcco_2 subout_2 7 8 p3b g i rto01_0 tioa1_1 8 9 p3c g i rto02_0 tioa2_1 9 10 p3d g i rto03_0 tioa3_1 10 11 p3e g i rto04_0 tioa4_1 document number: 002 - 05627 rev. *b page 12 of 81 mb9a110k series pin no pin name i/o circuit type pin state type lqfp - 48 qfn - 48 lqfp - 52 11 12 p3f g i rto05_0 tioa5_1 12 13 vss - 1 3 14 c - 14 15 vcc - 15 16 p46 d m x0a 16 17 p47 d n x1a 17 18 initx b c 18 19 p49 e i tiob0_0 19 20 p4a e i tiob1_0 - 21 nc - 20 22 pe0 c p md1 21 23 md0 j d 22 24 pe2 a a x0 23 25 pe3 a b x1 24 26 vss - 25 27 p10 f k an00 26 28 p11 f f an01 sin1_1 int02_1 frck0_2 ic02_0 wkup1 27 29 p12 f k an02 sot1_1 ic00_2 document number: 002 - 05627 rev. *b page 13 of 81 mb9a110k series pin no pin name i/o circuit type pin state type lqfp - 48 qfn - 48 lqfp - 52 28 30 p13 f k an03 sck1_1 ic01_2 rtcco_1 subout_1 29 31 p14 f l an04 sin0_1 int03_1 ic02_2 30 32 p15 f k an05 sot0_1 ic03_2 31 33 avcc - 32 34 avrh - 33 35 avss - - 36 nc - 34 37 p23 f k an06 sck0_0 tioa7_1 35 38 p22 f k an07 sot0_0 tiob7_1 36 39 p21 e g sin0_0 int06_1 wkup2 - 40 nc - 37 41 p00 e e trstx 38 42 p01 e e tck swclk 39 43 p02 e e tdi 40 44 p03 e e tms swdio 41 45 p04 e e tdo swo document number: 002 - 05627 rev. *b page 14 of 81 mb9a110k series pin no pin name i/o circuit type pin state type lqfp - 48 qfn - 48 lqfp - 52 42 46 p0f e j nmix crout_1 rtcco_0 subout_0 wkup0 43 47 p61 e i sot5_0 tiob2_2 uhconx dtti0x_2 44 48 p60 i [1] g sin5_0 tioa2_2 int15_1 ic00_0 wkup3 45 49 vcc - 46 50 p80 h o 47 51 p81 h o 48 52 vss - * 1 : 5 v tolerant i/o document number: 002 - 05627 rev. *b page 15 of 81 mb9a110k 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 (e pfr) to select the pin . module pin name function pin no lqfp - 48 qfn - 48 l qfp - 52 adc adtg_2 a/d converter external trigger input pin 5 6 an00 a/d converter analog input pin . anxx describes adc ch.xx . 25 27 an01 26 28 an02 27 29 an03 28 30 an04 29 31 an05 30 32 an06 34 37 an07 35 38 base timer 0 tioa0_1 base timer ch.0 tioa pin 6 7 tiob0_0 base timer ch.0 tiob pin 18 19 base timer 1 tioa1_1 base timer ch.1 tioa pin 7 8 tiob1_0 base timer ch.1 tiob pin 19 20 base timer 2 tioa2_1 base timer ch.2 tioa pin 8 9 tioa2_2 44 48 tiob2_2 base timer ch.2 tiob pin 43 47 base timer 3 tioa3_1 base timer ch.3 tioa pin 9 10 base timer 4 tioa4_1 base timer ch.4 tioa pin 10 11 base timer 5 tioa5_1 base timer ch.5 tioa pin 11 12 base timer 7 tioa7_1 base timer ch.7 tioa pin 34 37 tiob7_1 base timer ch.7 tiob pin 35 38 debugger swclk serial wire debug interface clock input pin 38 42 swdio serial wire debug interface data input/output pin 40 44 swo serial wire viewer output pin 41 45 tck jtag test clock input pin 38 42 tdi jtag test data input pin 39 43 tdo jtag debug data output pin 41 45 tms jtag test mode state input/output pin 40 44 trstx jtag test reset input pin 37 41 external interrupt int00_0 external interrupt request 00 input pin 2 2 int01_0 external interrupt request 01 input pin 3 3 int02_0 external interrupt request 02 input pin 4 4 int02_1 26 28 int03_1 external interrupt request 03 input pin 29 31 int06_1 external interrupt request 06 input pin 36 39 int15_1 external interrupt request 15 input pin 44 48 nmix non - maskable interrupt input pin 42 46 document number: 002 - 05627 rev. *b page 16 of 81 mb9a110k series module pin name function pin no lqfp - 48 qfn - 48 l qfp - 52 gpio p00 general - purpose i/o port 0 37 41 p01 38 42 p02 39 43 p03 40 44 p04 41 45 p0f 42 46 p10 general - purpose i/o port 1 25 27 p11 26 28 p12 27 29 p13 28 30 p14 29 31 p15 30 32 p21 general - purpose i/o port 2 36 39 p22 35 38 p23 34 37 p39 general - purpose i/o port 3 5 6 p3a 6 7 p3b 7 8 p3c 8 9 p3d 9 10 p3e 10 11 p3f 11 12 p46 general - purpose i/o port 4 15 16 p47 16 17 p49 18 19 p4a 19 20 p50 general - purpose i/o port 5 2 2 p51 3 3 p52 4 4 p60 general - purpose i/o port 6 44 48 p61 43 47 p80 general - purpose i/o port 8 46 50 p81 47 51 pe0 general - purpose i/o port e 20 22 pe2 22 24 pe3 23 25 document number: 002 - 05627 rev. *b page 17 of 81 mb9a110k series module pin name function pin no. lqfp - 48 qfn - 48 l qfp - 52 multi - f unction serial 0 sin0_0 multi - function serial interface ch.0 input pin 36 39 sin0_1 29 31 sot0_0 (sda0_0) 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 ) and as sda0 when it is used in an i 2 c (operation mode 4). 35 38 sot0_1 (sda0_1) 30 32 sck0_0 (scl0_0) multi - function serial interface ch.0 clock i/o pin. this pin operates as sck0 when it is used in a csio (operation modes 2) and as scl0 when it is used in an i 2 c (operation mode 4). 34 37 multi - f unction serial 1 sin1_ 1 multi - function serial interface ch.1 input pin 26 28 sot1_ 1 (sda1_ 1 ) multi - function serial interface ch.1 output pin. this pin operates as sot1 when it is used in a uart/csio /lin (operation modes 0 to 3 ) and as sda1 when it is used in an i 2 c (operation mode 4). 27 29 sck1_ 1 (scl1_ 1 ) multi - function serial interface ch.1 clock i/o pin. this pin operates as sck1 when it is used in a csio (operation modes 2) and as scl1 when it is used in an i 2 c (operation mode 4). 28 30 multi - f unction serial 3 sin 3 _ 1 multi - function serial interface ch.3 input pin 2 2 sot 3 _ 1 (sda 3 _ 1 ) 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 ) and as sda3 when it is used in an i 2 c (operation mode 4). 3 3 sck 3 _ 1 (scl 3 _ 1 ) multi - function serial interface ch.3 clock i/o pin. this pin operates as sck3 when it is used in a csio (operation modes 2) and as scl3 when it is used in an i 2 c (operation mode 4). 4 4 multi - f unction serial 5 sin 5 _ 0 multi - function serial interface ch.5 input pin 44 48 sot 5 _ 0 multi - function serial interface ch.5 output pin. this pin operates as sot5 when it is used in a uart/ lin (operation modes 0 , 1, 3 ). 43 47 document number: 002 - 05627 rev. *b page 18 of 81 mb9a110k series module pin name function pin no lqfp - 48 qfn - 48 l qfp - 52 multi - f unction timer 0 dtti0x_0 input signal controlling wave form generator outputs rto00 to rto05 of multi - function timer 0. 5 6 dtti0x_ 2 43 47 frck0_ 2 16 - bit free - run timer ch.0 external clock input pin 26 28 ic00_0 16 - bit input capture ch.0 input pin of multi - function timer 0 . icxx describes chan n el number. 44 48 ic00_ 2 27 29 ic01_ 2 28 30 ic02_0 26 28 ic02_ 2 29 31 ic03_ 2 30 32 rto00_0 (ppg00_0) wave form generator output pin of multi - function timer 0 . this pin operates as ppg00 when it is used in ppg0 output modes. 6 7 rto01_0 (ppg00_0) wave form generator output pin of multi - function timer 0 . this pin operates as ppg00 when it is used in ppg0 output modes. 7 8 rto02_0 (ppg02_0) wave form generator output pin of multi - function timer 0 . this pin operates as ppg02 when it is used in ppg0 output modes. 8 9 rto03_0 (ppg02_0) wave form generator output pin of multi - function timer 0 . this pin operates as ppg02 when it is used in ppg0 output modes. 9 10 rto04_0 (ppg04_0) wave form generator output pin of multi - function timer 0 . this pin operates as ppg04 when it is us ed in ppg0 output modes. 10 11 rto05_0 (ppg04_0) wave form generator output pin of multi - function timer 0 . this pin operates as ppg04 when it is used in ppg0 output modes. 11 12 document number: 002 - 05627 rev. *b page 19 of 81 mb9a110k series module pin name function pin no lqfp - 48 qfn - 48 l qfp - 52 quadrature position/ revolution counter 0 ain0_ 2 qprc ch.0 ain input pin 2 2 bin0_ 2 qprc ch.0 bin input pin 3 3 zin0_ 2 qprc ch.0 zin input pin 4 4 real - time clock rtcco_0 0.5 seconds pulse output pin of real - time clock pin 42 46 rtcco_1 28 30 rtcco_2 6 7 subout_0 sub clock output pin 42 46 subout_1 28 30 subout_2 6 7 low power consumption mode wkup0 deep stand - by mode return signal input pin 0 42 46 wkup1 deep stand - by mode return signal input pin 1 26 28 wkup2 deep stand - by mode return signal input pin 2 36 39 wkup3 deep stand - by mode return signal input pin 3 44 48 document number: 002 - 05627 rev. *b page 20 of 81 mb9a110k series module pin name function pin no lqfp - 48 qfn - 48 l qfp - 52 r eset initx external reset input. a reset is valid when initx="l". 17 18 mode md0 mode 0 pin. during normal operation, md0="l" must be input. during serial programming to flash memory, md0="h" must be input. 21 23 md1 mode 1 pin. during serial programming to flash memory, md1="l" must be input. 20 22 p ower vcc power supply pin 1 1 vcc power supply pin 14 15 vcc power supply pin 45 49 gnd vss gnd pin 12 13 vss gnd pin 24 26 vss gnd pin 48 52 c lock x0 main clock (oscillation) input pin 22 24 x0a sub clock (oscillation) input pin 15 16 x1 main clock (oscillation) i/o pin 23 25 x1a sub clock (oscillation) i/o pin 16 17 crout_1 built - in high - speed cr - osc clock output port 42 46 analog p ower avcc a/d converter analog power pin 31 33 avrh a/d converter analog reference voltage input pin 32 34 analog gnd avss a/d converter gnd pin 33 35 c pin c power stabilization capacity pin 13 14 nc pin nc nc pin. nc pin should be kept open. - 5 nc nc pin. nc pin should be kept open. - 21 nc nc pin. nc pin should be kept open. - 36 nc nc pin. nc pin should be kept open. - 40 note: while this device contains a test access port (tap) based on the ieee 1149.1 - 2001 jtag standard, it is not fully compliant to all requirements of that standard. this device may contain a 32 - bit device id that is the same as the 32 - bit device id in other devices with different functionality. the tap pins may also be configurable for purposes other than access to the tap controller. document number: 002 - 05627 rev. *b page 21 of 81 mb9a110k series 5. i/o circuit type type circuit remarks a it is possible to select the main oscillation / gpio function when the main oscillation is selected. oscillation feedback resistor : approximately 1 0 with standby mode control when the gpio is selected. cmos level output. cmos level hysteresis input with pull - up resistor control with standby mode control pull - up resistor : approximately 50 k i oh = - 4 ma, i ol = 4 ma b cmos level hysteresis input pull - up resistor : approximately 50 k x0 x1 p - ch p - ch n - ch r r p - ch p - ch n - ch pull - up resistor feedback resistor pull - up resistor digital output digital output pull - up resistor control digital input standby mode control clock input standby mode control digital input standby mode control digital output digital output pull - up resistor control pull - up resistor digital in put document number: 002 - 05627 rev. *b page 22 of 81 mb9a110k series type circuit remarks c open drain output cmos level hysteresis input d it is possible to select the sub oscillation / gpio function when the sub oscillation is selected. oscillation feedback resistor : approximately 5 m with standby mode control when the gpio is selected. cmos level output. cmos level hysteresis input with pull - up resistor control with standby mode control pull - up resistor : approximately 50 k i oh = - 4 ma, i ol = 4 ma x0 a x1 a p - ch p - ch n - ch r r p - ch p - ch n - ch pull - up resistor feedback resistor pull - up resistor digital input digital out put digital output digital output pull - up resistor control digital input standby mode control clock input standby mode control digital input standby mode control digital output digital output pull - up resistor control n-ch document number: 002 - 05627 rev. *b page 23 of 81 mb9a110k series type circuit remarks e cmos level output cmos level hysteresis input with pull - up resistor control with standby mode control pull - up resistor : approximately 50 k i oh = - 4 ma, i ol = 4 ma when this pin is used as an i 2 c pin, the digital output p - ch transistor is always off +b input is available f 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 i oh = - 4 ma, i ol = 4 ma when this pin is used as an i 2 c pin, the digital output p - ch transistor is always off +b input is available digital output digital output pull - up resistor control digital input standby mode control digital output digital output pull - up resistor control digital input standby mode control analog input input control p-ch p-ch n-ch r p-ch p-ch n-ch r document number: 002 - 05627 rev. *b page 24 of 81 mb9a110k 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 i oh = - 12 ma, i ol = 12 ma +b input is available h cmos level output cmos level hysteresis input with standby mode control i oh = - 20.5 ma, i ol = 18.5 ma digital output digital output pull - up resistor control digital input standby mode control digital output digital output digital input standby mode control p-ch p-ch n-ch r p-ch n-ch r document number: 002 - 05627 rev. *b page 25 of 81 mb9a110k series type circuit remarks i 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 i oh = - 4 ma, i ol = 4 ma available to control of pzr registers. j cmos level hysteresis input digital output digital output pull - up resistor control digital input standby mode control mode input p-ch p-ch n-ch r document number: 002 - 05627 rev. *b page 26 of 81 mb9a110k series 6. handling precautions any semiconductor devices have inherently a certain rate of failure. the possibility of failure is greatly affected by the co nditions in which they are used (circuit conditions, environmental conditions, etc.). this page describe s 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 r atings 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 ra tings. recommended operating c onditions 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 combinati ons not represented on the data sheet. users considering application outside the listed conditions are advised to contact their sales representative beforehand . processing and p r otection of p ins 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 dev ice, 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 curre nt 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 operat ion. 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 maxi mum 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 s tandards most countries in the world have established stan dards 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 d esign any semiconductor devices have inherently a certa in 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 op erating conditions . document number: 002 - 05627 rev. *b page 27 of 81 mb9a110k series precautions related to usage of d evices 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 u se 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 (s uch 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 app roval . 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 solderin g, you should only mount under cypress recommended conditions. for detailed information ab out mount conditions, contact your sales representative. lead i nsertion t ype mounting of lead insertion type packages onto printed circuit boards may be done by two methods: direct soldering on the boar d, 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 stre ss 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 lead s be verified before mounting. surface mount t ype 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 op en 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 p ackaging 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 d evices because plastic chip packages a re 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 cau sing 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. pro ducts should be stored below 70% relative humidity, and at temperatures between 5c and 30c. when you open dry package that recommends humidity 40% to 70% relative humidity. 3. when necessary, cypress packages semiconductor devices in highly moisture - resist ant 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 moist ure may be de - moisturized by baking (heat drying). follow the cypress recommended conditions for baking. condition: 125 c /24 h document number: 002 - 05627 rev. *b page 28 of 81 mb9a110k series static e lectricity 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 periphe ral equipment. 3. eliminate static body electricity by the use of rings or bracelets connected to ground through high resistance (on the level r i 0 wearing of conductive clothing and shoes, use of conductive floor mats and other measures to minimize sh ock 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 o f 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 processi ng 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 expos ure 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 dev ices 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 - 05627 rev. *b page 29 of 81 mb9a110k series 7. handling devices power supply pins in products with multiple v cc and v ss pins, respective pins at the same potential are interconnected within the device in or der 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 ri se in the ground level, and to conform to the total output current rating. moreover, connect the current supply source with each power supply pins and gnd pins of this device at low impedance. it is a lso advisable that a ceramic capacitor of approximately 0.1 f be connected as a bypass capacitor between each power supply pins and gnd pins , between avcc pin and avss 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 y d o x h l q w k h u h f r p p h q g h g r s h u d w l q j f r q g l w l r q v d q g w k h w u d q v l h q w i o x f w x d w l r q u d w h g r h v q r w h [ f h h g 9 v z k h q w k h u h l v d momentary fluctuation on switching the power supply. crystal oscillator circuit noise near t he x0 /x1 and x0a/ x1 a pins may cause the device to malfunction. design the printed circuit board so that x0 / x1, x0a/x1a pins, the crystal oscillator (or ceramic 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/ x1 a 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. using an external clock when using an external clock, the clock signal should be input to the x0 , x0a pin only and the x1 , x1a pin should be kept open. handling when using multi - function serial pin as i 2 c pin if it is using multi - function serial pin as i 2 c pins, p - ch transistor of digital output is always disable. however, i 2 c pins need to keep the electrical characteristic like other pins and not to connect to external i 2 c bus system with power off. y example of using an external clock device x0(x0a) x1(x1a) open document number: 002 - 05627 rev. *b page 30 of 81 mb9a110k series c p in this series contains the regulator. be sure to connect a smoothing capacitor (c s ) 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 varia tion due to thermal fluctuation (f characteristics and y5v characteristics). please select the capacitor that meets the specifications in the operating condi tions to use by evaluating the temperature characteristics of a capacitor. a smoothing capacitor o f about 4.7 ) z r x o g e h u h f r p p h q g h g i r u w k l v v h u l h v mode pins (md0) connect the md pin (md0) directly to v cc or v ss 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 v cc pins or v ss 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 d evice erroneously switching to test mode due to noise. nc pins nc pin should be kept open. notes on power - on turn power on/off in the following order or at the same time. if not using the a/d converter, connect avcc =vcc and avss = vss. turning on: 9 & |