regarding the change of names mentioned in the document, such as mitsubishi electric and mitsubishi xx, to renesas technology corp. the semiconductor operations of hitachi and mitsubishi electric were transferred to renesas technology corporation on april 1st 2003. these operations include microcomputer, logic, analog and discrete devices, and memory chips other than drams (flash memory, srams etc.) accordingly, although mitsubishi electric, mitsubishi electric corporation, mitsubishi semiconductors, and other mitsubishi brand names are mentioned in the document, these names have in fact all been changed to renesas technology corp. thank you for your understanding. except for our corporate trademark, logo and corporate statement, no changes whatsoever have been made to the contents of the document, and these changes do not constitute any alteration to the contents of the document itself. note : mitsubishi electric will continue the business operations of high frequency & optical devices and power devices. renesas technology corp. customer support dept. april 1, 2003 to all our customers
2002-07-12 rev.1.0 mitsubishi microcomputers 32180 group under development single-chip 32-bit cmos microcomputer description the 32180 group is a 32-bit, single-chip risc microcom- puter with built-in flash memory, which was developed for use in general industrial and household equipment. to ac- complish high-precision arithmetic operations, it incorpo- rates a fully ieee754 compliant, single-precision fpu. this microcomputer contains a variety of peripheral func- tions ranging from two independent blocks of 16-channel a- d converters to 64-channel multifunction timers, 10-channel dmacs, 6-channel serial i/os, and 1-channel real-time de- bugger. also included are 2-channel full-can modules and jtag (boundary scan facility). with the software necessary to run these numerous peripheral functions stored in its large-capacity flash memory, this microcomputer meets the needs of application systems for high functionality, high- performance arithmetic capability, and sophisticated control. with lower power consumption and low noise characteris- tics also considered, these microcomputers are ideal for embedded equipment applications. features m32r-fpu core uses the m32r family risc cpu core (m32r family common instruction set + single-precision fpu/extended instructions) five-stage pipelined processing sixteen 32-bit general-purpose registers 16-bit/32-bit instructions implemented dsp function instructions (sum-of-products calculation using 56-bit accumulator) built-in single-precision fpu (fully compliant with ieee754 standard: four rounding modes, etc.) bit manipulation extended instructions built-in flash memory .....................1m bytes (1024k bytes) built-in flash programming boot program built-in ram ....................................................... 48k bytes pll clock generating circuit.............. built-in x 8 pll circuit oscillation stop detection function maximum operating frequency of the cpu clock type name frequency temperature range m32180f8vfp 64mhz -40c to +125c m32180f8tfp 80mhz -40c to +85c single power supply: 5 v (+ 0.5 v) or 3.3 v (+ 0.3 v) 64-channel multijunction timers (mjt) multifunction timers are incorporated that support various purposes of use. 16-bit output related timers (top) ................... 11 channels 16-bit input/output related timers (tio)............ 10 channels 16-bit input related timers (tms) ....................... 8 channels 16-bit input related up/down-timers (tid) .......... 3 channels 24-bit output related timers (tou) ................... 24 channels 32-bit input related timers (tml) ....................... 8 channels flexible configuration is possible through interconnection of timers. the internal dmac and a-d converter can be started by a timer. built-in pwm output cut function for motor control (tou) real-time debugger includes dedicated clock-synchronized serial i/o that can read and write the contents of the internal ram independ- ently of the cpu. can look up and update the data table in real time while the program is running. can generate a dedicated interrupt based on rtd com- munication. abundant internal peripheral functions in addition to the timers and real-time debugger, the micro- computer contains the following peripheral functions. dmac ............................................................. 10 channels a-d converters (sample & hold mode, disconnection de- tector assist function, injection current bypass circuit) ................................16 channels 10-bit converter x 2 serial i/o ........................................................... 6 channels interrupt controller: 32 interrupt sources, 8 priority levels wait controller full can (can specification 2.0b active)......... 2 channels virtual-flash emulation function .......... 4k bytes x 8 banks jtag (boundary scan function, mitsubishi original sdi debug function) port input threshold level select function designed to operate at high temperatures to meet the need for use at high temperatures, m32180f8vfp is designed to be able to operate in the temperature range of -40 to +125c when cpu clock oper- ating frequency = 64 mhz. m32180f8tfp is designed to be able to operate in the temperature range of ?40 to +85c when cpu clock operating frequency = 80 mhz. applications automobile equipment control (e.g., engine, abs, and at), industrial equipment system control, and high-function oa equipment (e.g., ppc)
2002-07-12 rev.1.0 mitsubishi microcomputers 32180 group under development single-chip 32-bit cmos microcomputer 2 p174/txd2 p175/rxd2 p176/txd3 p177/rxd3 p173/tin25 p172/tin24 fp mod0 mod1 excvdd vss excvcc vdde vss vcce vcc-bus p17/db15 p16/db14 p15/db13 p14/db12 p13/db11 p12/db10 p11/db9 p10/db8 p07/db7 p06/db6 p05/db5 p04/db4 p03/db3 p02/db2 p01/db1 p00/db0 vss p73/hack# p72/hreq# p71/wait# p70/bclk/wr# p43/rd# p42/bhw#/bhe# p41/blw#/ble# vcc-bus vss ad1in15 ad1in14 ad1in13 ad1in12 ad1in11 ad1in10 ad1in9 ad1in8 avss1 ad1in7 ad1in6 ad1in5 ad1in4 ad1in3 ad1in2 ad1in1 ad1in0 vref1 p82/txd0 p83/rxd0 p84/sclki0/sclko0 p85/txd1 p86/rxd1 p87/sclki1/sclko1 p65/sclki4/sclko4 p66/sclki5/sclko5 p67 p210/to37 p211/to38 p212/to39 p213/to40 p214/to41 p215/to42 p216/to43 p217/to44 p160/to21 p161/to22 p162/to23 p163/to24 p164/to25 p165/to26 p166/to27 p167/to28 vss vcce vcc-bus p226/cs2# p227/cs3# p44/cs0# p45/cs1# p224/a11/cs2# p225/a12/cs3# p46/a13 p47/a14 p30/a15 p31/a16 p32/a17 p33/a18 p34/a19 p35/a20 p36/a21 p37/a22 vss p20/a23 p21/a24 p22/a25 p23/a26 p24/a27 p25/a28 p26/a29 p27/a30 vcc-bus vss vcce p93/to16 p94/to17 p95/to18 p96/to19 m32180f8vfp m32180f8tfp 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 package 240p6y-a(0.5mm pitches) avcc1 vss vcce p150/tin0 p151/tin1 p152/tin2 p153/tin3 p154/tin4 p155/tin5 p156/tin6 p157/tin7 p200/txd4 p201/rxd4 p202/txd5 p203/rxd5 p130/tin16/pwmoff0 p131/tin17/pwmoff1 p132/tin18 p133/tin19 p134/tin20 p135/tin21 p136/tin22 p137/tin23 p220/ctx0 p221/crx0 p222/ctx1 p223/crx1 vcce osc-vss vcnt osc-vcc xin osc-vss xout reset# p180/to29 p181/to30 p182/to31 p183/to32 p184/to33 p185/to34 p186/to35 p187/to36 p74/rtdtxd p75/rtdrxd p76/rtdack p77/rtdclk jtdi jtdo jtrst jtck jtms p100/to8 p101/to9/txd3 p102/to10/ctx1 p103/to11 p104/to12 p105/to13 p106/to14 p107/to15 p97/to20 p117/to7 p116/to6 p115/to5 p114/to4 p113/to3 p112/to2 p111/to1 p110/to0 p147/tin15 p146/tin14 p145/tin13 p144/tin12 p143/tin11 p142/tin10 p141/tin9 p140/tin8 p197/tin33/pwmoff2 p196/tin32 p195/tin31 p194/tin30 p193/tin29 p192/tin28 p191/tin27 p190/tin26 p127/tclk3 p126/tclk2 p125/tclk1 p124/tclk0 excvcc vss vcce vss vss vss sbi# p63 p62 p61 ad0in15 ad0in14 ad0in13 ad0in12 ad0in11 ad0in10 ad0in9 ad0in8 avss0 ad0in7 ad0in6 ad0in5 ad0in4 ad0in3 ad0in2 ad0in1 ad0in0 vref0 avcc0 vss vcce note: it is shown that the pin (signal) with which "#" sticks to the last of a pin name (signal name) is "l" active pin (signal). pin assignment(top view) figure 1. pin layout diagram
2002-07-12 rev.1.0 mitsubishi microcomputers 32180 group under development single-chip 32-bit cmos microcompute r 3 pll clock generation circuit internal bus interface address data internal ram (48k bytes) internal flash memory (1m bytes=1024k bytes) m32r-fpu core (max. 80mhz) multiplier accumulator (32x16+56) dmac (10 channels) input/output timer (64 channels) serial i/o (6 channels) a-d converter x 2 (a-d0 : 10-bit,16 channels) (a-d1 : 10-bit,16 channels) wait controller interupt controller (8 priority levels) real-time debugger (rtd) external bus interface internal 32-bit bus input/output port 158 ports full can (2 channels) single-precision fpu (fully ieee754 compliant) internal 16-bit bus internal 32-bit bus internal power supply generation circuit (vdc) figure 2. block diagram
2002-07-12 rev.1.0 mitsubishi microcomputers 32180 group under development single-chip 32-bit cmos microcompute r 4 table 1. outline performance functional block features m32r-fpu core m32r family cpu core, internally configured in 32-bit built-in multiplier-accumulator (32 x 16 + 56) basic bus cycle m32180f8vfp: 15.625 ns (cpu clock frequency at 64 mhz, internal peripheral clock frequency at 16mhz) m32180f8tfp: 12.5 ns (cpu clock frequency at 80 mhz, internal peripheral clock frequency at 20mhz) logical address space: 4g bytes, linear general-purpose register: 32-bit register x 16, control register: 32-bit register x 6 accumulator: 56-bit external data bus 16-bit data bus instruction set 16-bit/32-bit instruction formats 100 discrete instructions in six addressing modes internal flash memory 1024k bytes rewrite durability: 100 times internal ram 48k bytes dmac 10 channels (dma transfers between internal peripheral i/os, between internal peripheral i/o and internal ram, and between internal rams) channels can be cascaded and can operate in combination with internal peripheral i/o multijunction timer 64 channels of multijunction timers. top : 16-bit output related timer, 11 channels (single-shot, delayed single-shot, and continuous) tio : 16-bit input/output related timer, 10 channels (measure clear/measure free-run/noise processing input, pwm/ single-shot/delayed single-shot/continuous output) tms : 16-bit input related timer, 8 channels (measure input) tid : 16-bit input related up/down-timer, 3 channels (fixed period, event count, up/down event count, x4 count) tou : 24-bit output related timer, 24 channels (pwm, single-shot pwm, delayed single-shot, single-shot, con- tinuous) note: functions as a 16-bit timer when in pwm or one-shot pwm mode tml : 32-bit input related timer, 8 channels (measure input) flexible timer configuration is possible through interconnection of channels using the clock bus or event bus. a-d converter 2 independent 10-bit multifunction a-d converters input 16 channels x 2 scan-based conversion can be switched between n (n = 1 to 16) channels capable of interrupt conversion during scan 8-bit/10-bit readout function available with sample & hold mode disconnection detector assist function injection current bypass circuit serial i/o 6 channels (the serial i/os can be set for synchronous serial i/o or uart. sio2, sio3 are uart mode only) real-time debugger (rtd) 1-channels dedicated clock-synchronized serial h?0080 4000 to h?0080 ffff: internal ram area can access the internal ram for read/rewrite from outside independently of the cpu, and also generate an exclu- sive-use interrupt. interrupt controller controls interrupts from internal peripheral i/os (priority can be set to one of 8 levels including interrupt disabled) wait controller controls wait when accessing external extended area (chip selects for four external extended areas each can have access extended for 0?7 wait cycles plus wait# signal entered from external source) (note1) can two channels, each having 16-channel message slots jtag boundary-scan function, built-in sdi debugger function in mitsubishi clock m32180f8vfp: cpu clock: maximum 64 mhz (for cpu, internal rom, and internal ram access) internal peripheral clock (bclk): maximum 16 mhz (for peripheral module access) external input clock (xin): maximum 8.0 mhz, built-in x8 pll circuit m32180f8tfp: cpu clock: maximum 80 mhz (for cpu, internal rom, and internal ram access) internal peripheral clock (bclk): maximum 20 mhz (for peripheral module access) external input clock (xin): maximum 10.0 mhz, built-in x8 pll circuit power supply voltage 5 v (+ 0.5 v) or 3.3 v (+ 0.3 v) [t.b.d]: single power supply voltage (the internal logic operates with 2.5 v, how- ever) operating temperature range m32180f8vfp: -40 to +125c (cpu clock 64mhz, internal peripheral clock 16mhz) (note2) m32180f8tfp: -40 to +85c (cpu clock 80mhz, internal peripheral clock 20mhz) package 0.5mm pitches / 240-pin qfp package (240p6y-a) note 1: wait cycle by the external wait# input is not received when 0wait is selected. moreover, as for all idol setup after th e wait / strike robe / recovery / lead of cs block, only operation by "nothing" setup is guaranteed when 0wait is selected. note 2: this does not mean that the microcomputer is guaranteed for continuous operation at 125c. if 125c applications are desired, please consult mitsubishi.
2002-07-12 rev.1.0 mitsubishi microcomputers 32180 group under development single-chip 32-bit cmos microcompute r 5 m32180f8vfp, m32180f8tfp port15 port16 port13 port14 port12 port4 p45/cs1# xin xout vcnt osc-vcc osc-vss p70/bclk/wr# reset# mod0 mod1 fp p220/ctx0 8 p221/crx0 p224/a11/cs2# p225/a12/cs3# p222/ctx1 p223/crx1 p226/cs2# p227/cs3# p150/tin0-p157/tin7 p160/to21-p167/to28 p180/to29-p187/to36 p190/tin26-p196/tin32 p210/to37-p217/to44 p197/tin33/pwmoff2 p130/tin16/pwmoff0 p131/tin17/pwmoff1 p132/tin18-p137/tin23 p140/tin8-p147/tin15 p124/tclk0-p127/tclk3 p93/to16-p97/to20 p100/to8 p101/to9/txd3 p102/to10/ctx1 p103/to11-p107/to15 p110/to0-p117/to7 ad1in0-ad1in15 ad0in0-ad0in15 avcc0, avcc1 avss0, avss1 vref0, vref1 p61-p63 p65/sclki4/sclko4 p66/sclki5/sclko5 p67 sbi# vcce excvcc vss p44/cs0# p43/rd# p42/bhw#/bhe# p41/blw#/ble# p71/wait# p72/hreq# p73/hack# p20/a23-p27/a30 p30/a15-p37/a22 p46/a13, p47/a14 p00/db0-p07/db7 p10/db8-p17/db15 p82/txd0 p83/rxd0 p84/sclki0/sclko0 p85/txd1 p86/rxd1 p87/sclki1/sclko1 p174/txd2 p175/rxd2 p172/tin24, p173/tin25 p176/txd3 p177/rxd3 p200/txd4 p201/rxd4 p202/txd5 p203/rxd5 p74/rtdtxd p75/rtdrxd p76/rtdack p77/rtdclk jtms jtck jtrst jtdo jtdi vdde excvdd vcc-bus bus control bus control address bus address bus bus control data bus serial i/o serial i/o serial i/o serial i/o serial i/o rtd port2 port3 port21 port22 port0 port1 port17 port18 port19 port20 port7 port8 jtag port11 port10 port9 multijunc- tion timer clock reset mode can can a-d converter interrupt controller port6 8 8 8 2 5 5 8 4 6 8 8 8 2 8 7 8 13 7 2 2 3 16 16 2 2 2 4 note: it is shown that the pin (signal) with which "#" sticks to the last of a pin name (signal name) is "l" active pin (signal ). multijunc- tion timer multijunc- tion timer figure 3. pin function diagram
2002-07-12 rev.1.0 mitsubishi microcomputers 32180 group under development single-chip 32-bit cmos microcompute r 6 table 2. description of pin function (1/3) type pin name description input/output function vcce power supply - power supply (5.0v + 0.5v or 3.3 v + 0.3v). excvcc external capaci- tance connect - external capacitance connecting pin. vcc-bus bus power supply - power supply for the bus control pins (5.0v + 0.5v or 3.3 v + 0.3v). vdde ram power supply - internal ram backup power supply (5.0v + 0.5v or 3.3 v + 0.3v). excvdd external capaci- tance connect - backup power supply for the internal ram, external capacitance con- necting pin. power supply vss ground - connect all vss pins to ground (gnd). xin clock input input xout clock output output clock input/output pins. these pins contain a pll-based frequency multiply-by-8, so input the clock whose frequency is 1/8 the operating frequency. (xin input = 10 mhz when cpu clock operates at 80 mhz) bclk system clock output outputs a clock twice the externally sourced clock frequency, xin (when the internal cpu memory clock is 80 mhz, bclk output = 20 mhz). use this output when external sync design is desired. osc-vcc clock power supply - power supply to the pll circuit. connect osc-vcc to the power supply osc-vss clock ground - connect osc-vss to ground. clock vcnt pll control input this pin controls the pll circuit. connect a resistor and capacitor to this pin. reset reset# reset input this pin resets the internal circuits. these pins set an operation mode. mod0 mod1 mode 0 0 single-chip mode 0 1 expanded external mode 1 0 processor mode (boot mode) (note1) mode mod0, mod1 mode input 1 1 (do not select) flash only fp flash protect input this pin protects the flash memory against e/w in hardware. address bus a11-a30 address bus output to allow four blocks of up to 2 mb memory space each to be added externally, 20-bit address (a11-a30) is provided. a31 is not output. data bus db0-db15 data bus input/output this is a 16-bit data bus connecting to an external device. during write cycle, the microcomputer outputs bhw# or blw# to indicate the valid byte write position of the 16-bit data bus. during read cycle, the micro- computer always reads the full 16-bit data bus. transferred to the inter- nal circuit of the m32r, however, is the data at only the valid byte posi- tion. cs0#-cs3# chip select output chip select signals for external devices. rd# read output this signal is output when reading external devices. wr# write output this signal is output when writing external devices. bhw# byte high write output blw# byte low write output indicates the byte positions to which valid are transferred when writing to external devices. bhw#/bhe# and blw#/ble# correspond to the upper address side (db0-db7 effective) and the lower address side (db8-db15 effective), respectively. bhe# byte high enable output for external device access, it indicates that the upper byte data (db0- db7) is valid. ble# byte low enable output for external device access, it indicates that the lower byte data (db8- db15) is valid. wait# wait input if wait# input is low when the m32r accesses external devices, the wait cycle extended. hreq# hold request input this pin is used by an external device to request control of the external bus. the m32r goes to a hold state when hreq# input is pulled low. bus control hack# hold acknowledge output this signal indicates to the external device that the m32r has entered a hold state and relinquished control of the external bus. note 1: in boot mode, the fp pin must be at the high level.
2002-07-12 rev.1.0 mitsubishi microcomputers 32180 group under development single-chip 32-bit cmos microcompute r 7 table 2. description of pin function (2/3) type pin name description input/output function tin0 -tin33 timer input input input pin for multijunction timer to0 -to44 timer output output output pin for multijunction timer multijunction timer tclk0 -tclk3 timer clock input clock input pin for multijunction timers. avcc0, avcc1 analog power sup- ply - avcc0 and avcc1 are the power supply for the a-d0 converter and a- d1 converter, respectively. connect avcc0 and avcc1 to the power supply rail. avss0, avss1 analog ground - avss0 is the analog ground for the a-d0 converters. avss1 is the analog ground for the a-d1 converters. connect avss0, 1 to ground. ad0in0 -ad0in15 ad1in0 -ad1in15 analog input input 16-channel analog input pins for the a-d0 converter in the first block. 16-channel analog input pins for the a-d1 converter in the second block. a-d converter vref0, vref1 reference voltage input input vref0 and vref1 are the reference voltage input pin for the a-d0 converter and a-d1 converter, respectively. interrupt controller sbi# system break inter- rupt input system break interrupt (sbi) input pin of the interrupt controller sclki0/ sclko0 uart trans- mit/receive clock output or csio transmit/receive clock input/output input/output when channel 0 is in uart mode: clock output derived from brg output by dividing it by 2 when channel 0 is in csio mode: transmit/receive clock input when external clock is selected transmit/receive clock output when internal clock is selected sclki1/ sclko1 uart trans- mit/receive clock output or csio transmit/receive clock input/output input/output when channel 1 is in uart mode: clock output derived from brg output by dividing it by 2 when channel 1 is in csio mode: transmit/receive clock input when external clock is selected transmit/receive clock output when internal clock is selected sclki 4/ sclko4 uart trans- mit/receive clock output or csio transmit/receive clock input/output input/output when channel 4 is in uart mode: clock output derived from brg output by dividing it by 2 when channel 4 is in csio mode: transmit/receive clock input when external clock is selected transmit/receive clock output when internal clock is selected sclki5/ sclko5 uart trans- mit/receive clock output or csio transmit/receive clock input/output input/output when channel 5 is in uart mode: clock output derived from brg output by dividing it by 2 when channel 5 is in csio mode: transmit/receive clock input when external clock is selected transmit/receive clock output when internal clock is selected txd0 transmit data output transmit data output pin of serial i/o channel 0 rxd0 receive data input receive data input pin of serial i/o channel 0 txd1 transmit data output transmit data output pin of serial i/o channel 1 rxd1 receive data input receive data input pin of serial i/o channel 1 txd2 transmit data output transmit data output pin of serial i/o channel 2 rxd2 receive data input receive data input pin of serial i/o channel 2 txd3 transmit data output transmit data output pin of serial i/o channel 3 rxd3 receive data input receive data input pin of serial i/o channel 3 txd4 transmit data output transmit data output pin of serial i/o channel 4 rxd4 receive data input receive data input pin of serial i/o channel 4 txd5 transmit data output transmit data output pin of serial i/o channel 5 serial i/o rxd5 receive data input receive data input pin of serial i/o channel 5
2002-07-12 rev.1.0 mitsubishi microcomputers 32180 group under development single-chip 32-bit cmos microcompute r 8 table 2. description of pin function (3/3) type pin name description input/output function rtdtxd transmit data output serial data output pin of the real-time debugger rtdrxd receive data input serial data input pin of the real-time debugger rtdclk clock input input serial data transmit/receive clock input pin of the real-time debugger real-time debugger rtdack acknowledge output this pin outputs a low pulse synchronously with the real-time debug- ger?s first clock of serial data output word. the low pulse width indicates the type of the command/data the real-time debugger has received. ctx0.ctx1 transmit data output data output pin from can module. can crx0, crx1 receive data input data input pin to can module. jtms test mode input test select input for controlling the test circuit?s state transition jtck clock input clock input to the debugger module and test circuit. jtrst test reset input test reset input for initializing the test circuit asynchronously. jtdo serial output output serial output of test instruction code or test data. jtag jtdi serial input input serial input of test instruction code or test data. p00-p07 input/output port0 input/output programmable input/output port. p10-p17 input/output port 1 input/output programmable input/output port. p20-p27 input/output port 2 input/output programmable input/output port. p30-p37 input/output port 3 input/output programmable input/output port. p41-p47 input/output port 4 input/output programmable input/output port. p61-p67 input/output port 6 input/output programmable input/output port. (however, p64 is an input-only port) p70-p77 input/output port 7 input/output programmable input/output port. p82-p87 input/output port 8 input/output programmable input/output port. p93-p97 input/output port 9 input/output programmable input/output port. p100- p107 input/output port 10 input/output programmable input/output port. p110- p117 input/output port 11 input/output programmable input/output port. p124 -p127 input/output port 12 input/output programmable input/output port. p130 -p137 input/output port 13 input/output programmable input/output port. p140 -p147 input/output port 14 input/output programmable input/output port. p150 -p157 input/output port 15 input/output programmable input/output port. p160 -p167 input/output port 16 input/output programmable input/output port. p172 -p177 input/output port 17 input/output programmable input/output port. p180 -p187 input/output port 18 input/output programmable input/output port. p190 -p197 input/output port 19 input/output programmable input/output port. p200 -p203 input/output port 20 input/output programmable input/output port. p210 -p217 input/output port 21 input/output programmable input/output port. input/output port (note1) p220 -p227 input/output port 22 input/output programmable input/output port. (however, p93, p97 is an input-only port) note 1: input/output port 5 is reserved for future use.
2002-07-12 rev.1.0 mitsubishi microcomputers 32180 group under development single-chip 32-bit cmos microcompute r 9 outline of the cpu core the 32180 group is built around the m32r risc cpu core, and has the instruction set common to all of the m32r fam- ily microcomputers. to achieve high-precision arithmetic operation, this microcomputer additionally incorporates a fully ieee754 compliant, single-precision fpu. instructions are processed in five pipelined stages consist- ing of instruction fetch, decode, execution, memory access, and write back. thanks to its ?out-of-order-completion? mechanism, the m32r cpu allows clock cycle to realize efficient instruction execution control. the m32r cpu internally contains sixteen 32-bit general- purpose registers. the instruction set consists of 100 dis- crete instructions, which come in either 16-bit or 32-bit in- struction format. use of the 16-bit instruction format helps to reduce the program code size. also, the availability of 32-bit instructions facilitates programming and increases the per- formance at the same clock speed, as compared to archi- tectures with segmented address spaces. multiply-accumulate instructions comparable to dsp the m32r-fpu contains a multiplier/accumulator that can execute 32-bit x 16-bit in one cycle. therefore, it executes a 32-bit x 32-bit integer multiplication instruction in three cy- cles. also, the m32r-fpu supports the following four sum-of- products instructions (or multiplication instructions) for dsp function use. (1) 16 high-order register bits x 16 high-order register bits (2) 16 low-order register bits x 16 low-order register bits (3) all 32 register bits x 16 high-order register bits (4) all 32 register bits x 16 low-order register bits furthermore, the m32r-fpu has instructions for rounding the value stored in the accumulator to 16 or 32-bit, and in- structions for shifting the accumulator value to adjust digits before storing in a register. because these instructions also can be executed in one cycle, dsp comparable data proc- essing capability can be obtained by using them in combi- nation with high-speed data transfer instructions such as load & address update or store & address update. fpu instructions (12 instructions) the m32r-fpu supports single-precision, floating-point arithmetic operations fully compliant with ieee754 standard. more specifically, it supports all of the following five excep- tions and four rounding modes. because the general- purpose registers are used for floating-point arithmetic, data transfer overhead is reduced. five exceptions (invalid operation, division by zero, over- flow, underflow, and precision error) four rounding modes (round toward nearest, round to- ward zero, round toward + , round toward - ) also included are the sum-of-product (fmadd) and differ- ence-of-product (fmsub) instructions suitable for butterfly operation in fft. extended instructions (5 instructions) the m32r-fpu has several instructions implemented in it as extended instructions such as those to set, clear, and test bits, those to set and clear data in the processor status register, and those to automatically increment the address in which to store a halfword. address space the 32180 group?s logical address is always handled in width of 32-bit, providing a linear address space of up to 4g bytes. the 32180 group?s address space is divided into the following spaces. user space a 2g-byte area from h?0000 0000 to h?7fff ffff is the user space. located in this space are the user rom area, external extended area, internal ram area, and sfr (spe- cial function register) area (internal peripheral i/o regis- ters). of these, the user rom area and external extended area are located differently depending on mode settings. system space a 2g-byte area from h?8000 0000 to h?ffff ffff is the system area. this space is reserved for use by develop- ment tools such as an in-circuit emulator and debug monitor, and cannot be used by the user. built-in flash memory and ram the m32180f8vfp, m32180f8tfp group contains 1m bytes (= 1,024k bytes) flash memory and 48k bytes ram. the internal flash memory can be programmed while being mounted on the printed circuit board (on-board program- ming). use of flash memory allows the same chip as those used in mass production to be used beginning with the de- velopment stage. this means that system development can be proceeded without having to change the printed circuit boards during the entire course, from prototype to mass production.
2002-07-12 rev.1.0 mitsubishi microcomputers 32180 group under development single-chip 32-bit cmos microcompute r 10 logical address single-chip mode logical address processor mode external extended mode h?0000 0000 h?0000 0000 16m bytes internal rom (1m bytes) h?000f ffff internal rom h?0010 0000 (16m bytes) h?001f ffff cs0 area cs0 area h?0020 0000 2g bytes user space ghost area in units of 16 bytes h?003f ffff cs1 area cs1 area h?0040 0000 (16m bytes) h?7fff ffff (16m bytes) h?005f ffff cs2 area cs2 area h?8000 0000 h?0060 0000 h?007f ffff cs3 area cs3 area h?0080 0000 sfr area (16k bytes) h?0080 3fff sfr area sfr area h?0080 4000 2g bytes system space ram area (48k bytes) h?0080 ffff ram area ram area h?0081 0000 reserved area (64k bytes) h?0081 ffff reserved area reserved area h?0082 0000 ghost area in units of 128k bytes h?ffff ffff h?00ff ffff *the maximum 8m bytes of extended area figure 4. address space
2002-07-12 rev.1.0 mitsubishi microcomputers 32180 group under development single-chip 32-bit cmos microcompute r 11 +0 address +1 address +0 address +1 address h?0080 0000 h?0080 078c h?0080 078e mjt (tid0) h?0080 0790 h?0080 007e interrupt controller (icu) h?0080 0080 h?0080 07e2 mjt (tou0) multijun ction timer (mjt) h?0080 00ee a-d0 converter h?0080 0a00 h?0080 0100 h?0080 0a26 serial i/o4, 5 h?0080 0146 serial i/o0-3 h?0080 0180 h?0080 0a80 h?0080 0186 wait controller h?0080 0aee ad1 converter h?0080 01e0 h?0080 01f8 flash control h?0080 0b8c h?0080 0b8e mjt (tid1) h?0080 0200 h?0080 0b90 h?0080 023e mjt (common part) h?0080 0be2 mjt (tou1) h?0080 0240 h?0080 02fe mjt (top) h?0080 0300 h?0080 0c8c h?0080 0c8e mjt (tid2) h?0080 0c90 h?0080 03be mjt (tio) h?0080 03c0 h?0080 0ce2 mjt (tou2) h?0080 03d8 mjt (tms) multi- junction timer (mjt) multijun ction timer (mjt) h?0080 03e0 h?0080 03fe mjt (tml0) h?0080 0400 h?0080 0fe0 h?0080 0ffe mjt (tml1) h?0080 0478 dmac h?0080 1000 h?0080 11fe can0 h?0080 0700 h?0080 077f input/output port h?0080 1400 h?0080 15fe can1 figure 5. sfr area
2002-07-12 rev.1.0 mitsubishi microcomputers 32180 group under development single-chip 32-bit cmos microcompute r 12 built-in 64-channel multijunction timers (mjt) the microcomputer contains a total of 64 channels of multijunction timers consisting of 11 channels of 16-bit output related timers, 10 channels of 16-bit input/output related timers, eight channels of 16-bit input related timers, eight channels of 32-bit input related timers, three chan- nels of 16-bit input related up/down-timers, and 24 chan- nels of 24-bit output related timers. each timer has multi- ple operation modes to choose from, depending on the purposes of use. also, the multijunction timers internally have a clock bus, input event bus, and an output event bus, so that multiple timers can be used in combination allowing for a flexible timer configuration. the output related timers have a cor- recting function which allows the timer?s count value to be incremented or decremented as necessary while count is in progress, making real time output control possible. table 3. outline of the mjt name type number of channels contents top (timer out put) output related 16-bit timer (down-counter) 11 one of three output modes is selected in software. single-shot output mode delayed single-shot output mode continuous output mode tio (timer input output) input/output related 16-bit timer (down- counter) 10 one of three input modes and four output modes is selected in software. measure clear input mode measure free-run input mode noise processing input mode
We use cookies to deliver the best possible
web experience and assist with our advertising efforts. By continuing to use
this site, you consent to the use of cookies. For more information on
cookies, please take a look at our Privacy Policy.