Part Number Hot Search : 
2SA2094 21008 FR102GP A58009 2SK2128 HER207 L4988 GLZ20
Product Description
Full Text Search
 

To Download SAB-C513AO-2RN Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  microcomputer components 8-bit cmos microcontroller c513ao data sheet 02.00 ds 1 htt p : / / w ww. i n f ine on . c om/ c513ao_ds_0200.frm page -1 wednesday, august 30, 2000 12:45 pm
edition 02.00 published by infineon technologies ag, st.-martin-strasse 53, d-81541 mnchen ? infineon technologies ag 2000. all rights reserved. attention please! the information herein is given to describe certain components and shall not be considered as warranted characteristics. terms of delivery and rights to technical change reserved. we hereby disclaim any and all warranties, including but not limited to warranties of non-infringement, regarding circuits, descriptions and charts stated herein. infineon technologies is an approved cecc manufacturer. information for further information on technology, delivery terms and conditions and prices please contact your nearest infineon technologies office in germany or our infineon technologies representatives worldwide (see address list). warnings due to technical requirements components may contain dangerous substances. for information on the types in question please contact your nearest infineon technologies office. infineon technologies components may only be used in life-support devices or systems with the express written approval of infineon technologies, if a failure of such components can reasonably be expected to cause the failure of that life-support device or system, or to affect the safety or effectiveness of that device or system. life support devices or systems are intended to be implanted in the human body, or to support and/or maintain and sustain and/or protect human life. if they fail, it is reasonable to assume that the health of the user or other persons may be endangered. for questions on technology, delivery and prices please contact the infineon technologies offices in germany or the infineon technologies companies and representatives worldwide: see our webpage at http://www.infineon.com enhanced hooks technology tm is a trademark and patent of metalink corporation licensed to infineon technologies. c513ao data sheet revision history : current version: 02.00 previous releases: (original version) c513ao_ds_0200.frm page 0 wednesday, august 30, 2000 12:45 pm
data sheet 1 02.00 8-bit cmos microcontroller advance information c513ao ? full upward compatibility with standard 8051 microcontroller ? up to 16 mhz external operating frequency C 750 ns instruction cycle at 16 mhz operation ? on-chip program memory C c513ao-2r: 16 kbytes rom (with optional rom protection) C c513ao-2e: 16 kbytes otp C c513ao-l: version without on-chip program memory (romless) ? up to 64k byte external data memory ?256 8 ram ?256 8 xram ? four 8-bit digital i/o ports ? three 16-bit timers/counters (timer 2 with up/down and 16-bit auto-reload features) ? full duplex serial interface (usart) ? synchronous serial channel (ssc) ? seven interrupt sources with two priority levels ? on-chip emulation support logic (enhanced hooks emulation technology ? ) (further features are on next page) figure 1 c513ao functional units mcb04006 i/o i/o i/o i/o on-chip emulation support module watchdog timer ssc interface timer 2 oscillator watchdog xram 256 x 8 xram 256 x 8 t0 t1 rom/otp 16 k x 8 port 3 port 2 port 1 port 0 8-bit usart c500 core c513ao_ds_0200.frm page 1 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 2 02.00 features (continued): ? programmable 15-bit watchdog timer ? oscillator watchdog ? fast power on reset ? power saving modes C slow-down mode C idle mode C software power-down mode with optional wake up capability through pin p3.2/int0 ? available in p-dip40-2, p-lcc-44-1 and p-mqfp-44-2 packages ? fully pin-compatible with c501, c504, c505c, c505ca and c511/c513-devices. ? temperature ranges: sab-c513ao t a : 0 to 70 c saf-c513ao t a : C 40 to 85 c ordering information the ordering code for siemens microcontrollers provides an exact reference to the required product. this ordering code identifies: ? the derivative itself, i.e. its function set ? the specified temperature range ? the package and the type of delivery for the available ordering codes for the c513ao please refer to the product information microcontrollers , which summarizes all available microcontroller variants. note: the ordering codes for the mask-rom versions are defined for each product after the verification of the respective rom code. c513ao_ds_0200.frm page 2 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 3 02.00 figure 2 logic symbol mcl04007 c513ao port 0 8-bit digital i/o port 1 8-bit digital i/o port 2 8-bit digital i/o port 3 8-bit digital i/o xtal1 xtal2 reset ea ale psen v dd v ss c513ao_ds_0200.frm page 3 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 4 02.00 figure 3 p-dip-40-2 package pin configuration (top view) c513ao v dd 40 39 p0.0/ad0 38 p0.1/ad1 37 p0.2/ad2 36 p0.3/ad3 35 p0.4/ad4 34 p0.5/ad5 33 p0.6/ad6 32 p0.7/ad7 ea 31 ale 30 psen 29 28 27 p2.7/a15 p2.6/a14 26 p2.5/a13 p2.4/a12 25 p2.3/a11 24 p2.2/a10 23 p2.1/a9 22 p2.0/a8 21 20 v ss 19 xtal1 18 xtal2 17 p3.7/rd 16 p3.6/wr 15 p3.5/t1 14 p3.4/t0 13 p3.3/int1 12 11 p3.1/txd 10 p3.0/rxd 9 reset 8 p1.7 7 p1.6 6 p1.5/sls 5 p1.4/sto 4 p1.3/sri 3 p1.2/sclk 2 p1.1/t2ex 1 p1.0/t2 p3.2/int0 mcp04008 c513ao_ds_0200.frm page 4 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 5 02.00 figure 4 p-lcc-44-1 package pin configuration (top view) c513ao 28 p2.4/a12 27 26 25 24 23 22 21 20 19 18 p2.3/a11 p2.2/a10 p2.1/a9 p2.0/a8 v dd v ss xtal1 xtal2 p3.7/rd p3.6/wr p3.5/t1 17 p3.4/t0 16 p3.3/int1 15 p3.2/int0 14 p3.1/txd 13 n.c. 12 p3.0/rxd 11 reset 10 p1.7 9 p1.6 8 p1.5/sls 7 4041424344123456 p0.3/ad3 p0.2/ad2 p0.1/ad1 p0.0/ad0 v dd v ss p1.0/t2 p1.1/t2ex p1.2/sclk p1.3/sri p1.4/sto p0.4/ad4 p0.5/ad5 p0.6/ad6 p0.7/ad7 ea n.c. ale psen p2.7/a15 p2.6/a14 p2.5/a13 29 30 31 32 33 34 35 36 37 38 39 mcp04009 c513ao_ds_0200.frm page 5 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 6 02.00 figure 5 p-mqfp-44-2 package pin configuration (top view) c513ao 33 34 22 1 p0.4/ad4 p0.5/ad5 p0.6/ad6 p0.7/ad7 ea n.c. ale psen p2.7/a15 p2.6/a14 p2.5/a13 p2.4/a12 p2.3/a11 p2.2/a10 p2.1/a9 p2.0/a8 v dd v ss xtal1 xtal2 p3.7/rd p3.6/wr p3.5/t1 p3.4/t0 p3.3/int1 p3.2/int0 p3.1/txd n.c. p3.0/rxd reset p1.7 p1.6 p1.5/sls p1.4/sto p1.3/sri p1.2/sclk p1.1/t2ex p1.0/t2 v ss v dd p0.0/ad0 p0.1/ad1 p0.2/ad2 p0.3/ad3 32 31 30 29 28 27 26 25 24 23 21 20 19 18 17 16 15 14 13 12 35 36 37 38 39 40 41 42 43 44 234567891011 mcp04010 c513ao_ds_0200.frm page 6 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 7 02.00 table 1 pin definitions and functions symbol pin number i/o *) function p- dip -40 p-lcc- 44 p-mqfp- 44 p1.7- p1.0 8-1 1 2 3 4 5 6 9-2 2 3 4 5 6 7 3-1, 44-40 40 41 42 43 44 1 i/o port 1 port 1 is an 8-bit quasi-bidirectional port with internal pull-up arrangement. port 1 pins that have 1s written to them are pulled high by the internal pull-up transistors and in that state can be used as inputs. as inputs, port 1 pins being externally pulled low will source current ( i il , in the dc characteristics) because of the internal pull-up transistors. the output latch corresponding to a secondary function must be programmed to 1 for that function to operate. for the outputs of the synchronous serial channel (ssc), sclk and sto, special circuitry is implemented providing true push-pull capability. the sto output, in addition, will have true tristate capability. when used for ssc inputs, the pull-up transistors will be switched off and the inputs float (high ohm inputs). the secondary functions are assigned to the pins of port 1 as follows: p1.0 / t2 input to counter 2 p1.1 / t2ex capture/reload trigger of timer 2 up-down count p1.2 / sclk ssc master clock output ssc slave clock input p1.3 / sri ssc receive input p1.4 / sto ssc transmit output p1.5 / sls slave select input *) i = input o = output c513ao_ds_0200.frm page 7 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 8 02.00 p3.0- p.3.7 10-17 10 11 12 13 14 15 16 17 11, 13-19 11 13 14 15 16 17 18 19 5, 7-13 5 7 8 9 10 11 12 13 i/o port 3 port 3 is an 8-bit quasi-bidirectional port with internal pull-up arrangement. port 3 pins that have 1s written to them are pulled high by the internal pull-up transistors and in that state can be used as inputs. as inputs, port 3 pins being externally pulled low will source current ( i il , in the dc characteristics) because of the internal pull-up transistors. the output latch corresponding to a secondary function must be programmed to a 1 for that function to operate (except for txd and wr ). the secondary functions are assigned to the pins of port 3 as follows: p3.0 / rxd receiver data input (asynch.) or data input/output (synch.) of serial interface p3.1 / txd transmitter data output (asynch.) or clock output (synch.) of serial interface p3.2 / int0 external interrupt 0 input / timer 0 gate control input p3.3 / int1 external interrupt 1 input / timer 1 gate control input p3.4 / t0 timer 0 counter input p3.5 / t1 timer 1 counter input p3.6 / wr wr control output; latches the data byte from port 0 into the external data memory p3.7 / rd rd control output; enables the external data memory to port 0 reset 9 10 4 i reset a high level on this pin for the duration of two machine cycles while the oscillator is running resets the device. an internal diffused resistor to v ss permits power-on reset using only an external capacitor to v dd . *) i = input o = output table 1 pin definitions and functions (contd) symbol pin number i/o *) function p- dip -40 p-lcc- 44 p-mqfp- 44 c513ao_ds_0200.frm page 8 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 9 02.00 xtal2 18 20 14 o xtal2 output of the inverting oscillator amplifier. xtal1 19 21 15 i xtal1 input to the inverting oscillator amplifier and input to the internal clock generator circuits. to drive the device from an external clock source, xtal1 should be driven, while xtal2 is left unconnected. there are no requirements on the duty cycle of the external clock signal, since the input to the internal clocking circuitry is divided down by a divide-by-two flip-flop. minimum and maximum high and low times as well as rise/fall times specified in the ac characteristics must be observed. p2.0- p2.7 21-28 24-31 18-25 i/o port 2 port 2 is a an 8-bit quasi-bidirectional i/o port with internal pull-up arrangement. port 2 pins that have 1s written to them are pulled high by the internal pull-up transistors, and in that state can be used as inputs. as inputs, port 2 pins being externally pulled low will source current ( i il , in the dc characteristics) because of the internal pullup transistors. port 2 emits the high-order address byte during fetches from external program memory and during accesses to external data memory that use 16-bit addresses (movx @dptr). in this application it uses strong internal pullup transistors when issuing 1s. during accesses to external data memory that use 8-bit addresses (movx @ri), port 2 issues the contents of the p2 special function register and uses only the internal pull-up transistors. psen 29 32 26 o program store enable this is a control signal that enables output of the external program memory to the bus during external fetch operations. it is activated every three oscillator periods except during external data memory accesses. it remains high during internal program execution. this pin should not be driven during reset operation. *) i = input o = output table 1 pin definitions and functions (contd) symbol pin number i/o *) function p- dip -40 p-lcc- 44 p-mqfp- 44 c513ao_ds_0200.frm page 9 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 10 02.00 ale 30 33 27 o address latch enable this output is used for latching the low-byte of the address into external memory during normal operation. it is activated every six oscillator periods except during an external data memory access. when instructions are executed from internal program memory (ea = 1) the ale generation can be disabled by bit eale in sfr syscon. this pin should not be driven during reset operation. ea 31 35 29 i external access enable when held at high level, instructions are fetched from the internal program memory when the pc is less than 4000 h . when held at low level, the c513ao fetches all instructions from external program memory. this pin should not be driven during reset operation. note: for the c513ao-l this pin must be tied low. p0.0- p0.7 32-39 43-36 37-30 i/o port 0 port 0 is an 8-bit open-drain bidirectional i/o port. port 0 pins that have 1s written to them float, and in that state can be used as high-impendance inputs. port 0 is also the multiplexed low-order address and data bus during accesses to external program or data memory. in this application, it uses strong internal pull-up transistors when issuing 1s. external pull-up resistors are required during program verification. v ss 20 22, 1 16, 39 C ground (0 v) v dd 40 44, 23 38, 17 C power supply (+ 5 v) n.c. C 12, 34 6, 28 C no connection . these pins should not be connected. *) i = input o = output table 1 pin definitions and functions (contd) symbol pin number i/o *) function p- dip -40 p-lcc- 44 p-mqfp- 44 c513ao_ds_0200.frm page 10 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 11 02.00 figure 6 block diagram of the c513ao mcb04011 oscillator watchdog osc & timing cpu timer 0 timer 1 timer 2 interrupt unit usart ssc xram 256 byte ram 256 byte rom/otp 16 k x 8 port 0 port 1 port 2 port 3 emulation support logic port 0 8-bit digital i/o c513ao v dd v ss xtal1 xtal2 reset ale psen ea port 1 8-bit digital i/o port 2 8-bit digital i/o port 3 8-bit digital i/o c513ao_ds_0200.frm page 11 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 12 02.00 cpu the c513ao is efficient both as a controller and as an arithmetic processor. it has extensive facilities for binary and bcd arithmetic and excels in its bit-handling capabilities. efficient use of program memory results from an instruction set consisting of 44% one-byte, 41% two-byte, and 15% three-byte instructions. with a 16-mhz crystal, 58% of the instructions execute in 750 ns. special function register psw (address d0 h ) reset value: 00 h bit function cy carry flag used by arithmetic instruction. ac auxiliary carry flag used by instructions which execute bcd operations. f0 general purpose flag 0 rs1 rs0 register bank select control bits these bits are used to select one of the four register banks. ov overflow flag used by arithmetic instruction. f1 general purpose flag 1 p parity flag set/cleared by hardware after each instruction to indicate an odd/even number of one bits in the accumulator, i.e. even parity. cy ac f0 rs1 rs0 ov f1 p d0 h psw d7 h d6 h d5 h d4 h d3 h d2 h d1 h d0 h bit no. msb lsb rs1 rs0 function 0 0 bank 0 selected, data address 00 h -07 h 0 1 bank 1 selected, data address 08 h -0f h 1 0 bank 2 selected, data address 10 h -17 h 1 1 bank 3 selected, data address 18 h -1f h c513ao_ds_0200.frm page 12 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 13 02.00 memory organization the c513ao cpu manipulates operands in the following five address spaces: ? up to 64 kbytes of program memory (up to 16 kb on-chip program memory for the c513ao-2r/ 2e) ? up to 64 kbytes of external data memory ? 256 bytes of internal data memory ? 256 bytes of internal xram data memory ? one 128-byte special function register area figure 7 illustrates the memory address spaces of the c513ao. figure 7 c513ao memory map mca04012 special function regs. ff h 80 h direct addr. indirect addr. 80 h ff h internal ram 00 h 7f h internal ram "internal data space" internal xram (256 byte) ffff h ff00 h ext. data memory 0000 h feff h ext. data memory "data space" 4000 h ffff h ext. "code space" ext. (ea = 0) 3fff h 0000 h int. (ea = 1) c513ao_ds_0200.frm page 13 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 14 02.00 reset and system clock the reset input is an active high input. an internal schmitt-trigger is used at the input for noise rejection. since the reset is synchronized internally, the reset pin must be held high for at least two machine cycles (24 oscillator periods) while the oscillator is running. with the oscillator running, the internal reset is executed during the second machine cycle and is repeated every cycle until reset goes low again. figure 8 shows the possible reset circuitries. figure 8 reset circuitries c513ao reset v dd + c513ao reset c513ao reset & + v dd a) b) c) mcs03291 c513ao_ds_0200.frm page 14 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 15 02.00 figure 9 shows the recommended oscillator circiutries for crystal and external clock operation. figure 9 recommended oscillator circuitry in this application, the on-chip oscillator is used as a crystal-controlled, positive-reactance oscillator (a more detailed schematic is given in figure 10 ). lt is operated in its fundamental response mode as an inductive reactor in parallel resonance with a capacitor external to the chip. the crystal specifications and capacitances are non-critical. in this circuit, 20 pf can be used as single capacitance at any frequency together with a good quality crystal. a ceramic resonator can be used in place of the crystal in cost-critical applications. if a ceramic resonator is used, the two capacitors normally will have different values, dependent on the oscillator frequency. we recommend consulting the manufacturer of the ceramic resonator for value specifications of these capacitors. mcs04014 xtal2 c513ao xtal1 3.5-16 mhz c c c = 20 pf 10 pf for crystal operation c513ao_ds_0200.frm page 15 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 16 02.00 figure 10 on-chip oscillator circuitry to drive the c513ao with an external clock source, the external clock signal must be applied to xtal1, as shown in figure 11 . xtal2 must be left unconnected. a pull-up resistor is suggested to increase the noise margin, but is optional if v oh of the driving gate corresponds to the v ih2 specification of xtal1. figure 11 external clock source mcs04015 c513ao to internal timing circuitry ** ) * ) xtal2 xtal1 crystal or ceramic resonator resistor is only in the c513ao-2e * ) ** ) c 1 c 2 mcs04016 v dd external clock signal c513ao xtal2 xtal1 n.c. c513ao_ds_0200.frm page 16 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 17 02.00 enhanced hooks emulation concept the enhanced hooks emulation concept of the c500 microcontroller family is a new, innovative way to control the execution of c500 mcus and to gain extensive information on the internal operation of the controllers. emulation of on-chip rom based programs is possible, too. each production chip has built-in logic for the support of the enhanced hooks emulation concept. therefore, no costly bond-out chips are necessary for emulation. this also ensure that emulation and production chips are identical. the enhanced hooks technology tm 1) , which requires embedded logic in the c500 allows the c500 together with an eh-ic to function similar to a bond-out chip. this simplifies the design and reduces costs of an ice-system. ice-systems using an eh-ic and a compatible c500 are able to emulate all operating modes of the different versions of the c500 microcontrollers. this includes emulation of rom, rom with code rollover and romless modes of operation. it is also able to operate in single step mode and to read the sfrs after a break. figure 12 basic c500 mcu enhanced hooks concept configuration port 0, port 2 and some of the control lines of the c500 based mcu are used by enhanced hooks emulation concept to control the operation of the device during emulation and to transfer informations about the program execution and data transfer between the external emulation hardware (ice-system) and the c500 mcu. 1 enhanced hooks technology is a trademark and patent of metalink corporation licensed to infineon technologies. syscon pcon tcon reset ea ale psen port 0 port 2 port 1 port 3 opt. i/o ports c500 mcu 2 rpcon rtcon enhanced hooks interface circuit rsyscon 0 rport rport tea tale tpsen eh-ic ice-system interface to emulation hardware target system interface mcs03254 c513ao_ds_0200.frm page 17 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 18 02.00 special function registers the registers reside in the special function register area, with the exception of the program counter and the four general purpose register banks. the special function register area consists of two portions: the standard special function register area and the mapped special function register area. four special function registers of the c513ao (pcon1, vr0, vr1 & vr2) are located in the mapped special function register area. for accessing the mapped special function register area, bit rmap in special function register syscon must be set. all other special function registers of the c513ao are located in the standard special function register area. special function register syscon (address b1 h ) reset value: xx10xxx0 b if bit rmap is set, mapped special function registers can be accessed. this bit is not cleared by hardware automatically. the forty special function registers (sfrs) in the standard and mapped sfr area include pointers and registers that provide an interface between the cpu and the other on-chip peripherals. the sfrs of the c513ao are listed in table 2 and table 3 . in table 2 , they are organized in groups which refer to the functional blocks of the c513ao. table 3 illustrates the contents of the sfrs in numeric order of their addresses. bit function rmap special function register map bit rmap = 0: the access to the non-mapped (standard) special function register area is enabled. rmap = 1: the access to the mapped special function register area is enabled. C reserved bits for future use. read by cpu returns undefined values. 76543210 eale rmap C b1 h syscon bit no. msb lsb C CC xmap the functions of the shaded bits are not described in this section. C c513ao_ds_0200.frm page 18 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 19 02.00 table 2 special function registers - functional blocks block symbol name address contents after reset cpu acc b dph dpl psw sp syscon 2) vr0 4) 5) vr1 4) 5) vr2 4) 5) accumulator b-register data pointer, high byte data pointer, low byte program status word register stack pointer system control register version register 0 version register 1 6) version register 2 7) e0 h 1) f0 h 1) 83 h 82 h d0 h 1) 81 h b1 h fc h fd h fe h 00 h 00 h 00 h 00 h 00 h 07 h xx10xxx0 b 3) c5 h C C interrupt system ie ip interrupt enable register interrupt priority register a8 h 1) b8 h 1) 00 h x0000000 b 3) ports p0 p1 p2 p3 port 0 port 1 port 2 port 3 80 h 1) 90 h 1) a0 h 1) b0 h 1) ff h ff h ff h ff h serial channel (usart) pcon 2) sbuf scon power control register serial channel buffer register serial channel control register 87 h 99 h 98 h 1) 000x0000 b xx h 3) 00 h ssc interface ssccon stb srb scf scien sscmod 8) ssc control register ssc transmit register ssc receive register ssc flag register ssc interrupt enable register ssc mode test register e8 h 1) e9 h ea h f8 h 1) f9 h eb h 07 h xx h 3) xx h 3) xxxxxx00 b 3) xxxxxx00 b 3) 00 h timer 0/ timer 1 tcon th0 th1 tl0 tl1 tmod timer 0/1 control register timer 0, high byte timer 1, high byte timer 0, low byte timer 1, low byte timer mode register 88 h 1) 8c h 8d h 8a h 8b h 89 h 00 h 00 h 00 h 00 h 00 h 00 h 1) bit-addressable special function registers 2) this special function register is listed repeatedly since some bits of it also belong to other functional blocks. 3) x means that the value is undefined and the location is reserved 4) this sfr is a mapped sfr area. for accessing this sfr, bit rmap in sfr syscon must be set. 5) this sfr is read-only. 6) c513ao-l/2r: 13 h c513ao-2e: 83 h 7) this sfr varies with the step of the microcontroller: for example, 01 h for the first step 8) this register is only used for test purposes and must not be written during normal operation. unpredictable results may occur upon a write operation. c513ao_ds_0200.frm page 19 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 20 02.00 timer 2 t2con t2mod rc2h rc2l th2 tl2 timer 2 control register timer 2 mode register timer 2 reload/capture register, high byte timer 2 reload/capture register, low byte timer 2 high byte timer 2 low byte c8 h 1) c9 h cb h ca h cd h cc h 00 h xxxxxxx0 b 3) 00 h 00 h 00 h 00 h watchdog wdcon wdtrel watchdog timer control register watchdog timer reload register c0 h 1) 86 h xxxx0000 b 3) 00 h power save mode pcon 2) pcon1 4) power control register power control register 1 87 h 88 h 000x0000 b 3) 0xxxxxxx b 3) 1) bit-addressable special function registers 2) this special function register is listed repeatedly since some bits of it also belong to other functional blocks. 3) x means that the value is undefined and the location is reserved 4) this sfr is a mapped sfr area. for accessing this sfr, bit rmap in sfr syscon must be set. 5) this sfr is read-only. 6) c513ao-l/2r: 13 h c513ao-2e: 83 h 7) this sfr varies with the step of the microcontroller: for example, 01 h for the first step 8) this register is only used for test purposes and must not be written during normal operation. unpredictable results may occur upon a write operation. table 2 special function registers - functional blocks (contd) block symbol name address contents after reset c513ao_ds_0200.frm page 20 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 21 02.00 table 3 contents of the sfrs, sfrs in numeric order of their addresses addr. register content after reset 1) bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 80 h 2) p0 ff h .7 .6 .5 .4 .3 .2 .1 .0 81 h sp 07 h .7 .6 .5 .4 .3 .2 .1 .0 82 h dpl 00 h .7 .6 .5 .4 .3 .2 .1 .0 83 h dph 00 h .7 .6 .5 .4 .3 .2 .1 .0 86 h wdtrel 00 h wdt psel .6 .5 .4 .3 .2 .1 .0 87 h pcon 0xx0- 0000 b smod C C sd gf1 gf0 pde idle 88 h 2) 3) tcon 00 h tf1 tr1 tf0 tr0 ie1 it1 ie0 it0 88 h 3) pcon1 0xx0- xxxx b ewpd C C C C C C C 89 h tmod 00 h gate c/t m1 m0 gate c/t m1 m0 8a h tl0 00 h .7 .6 .5 .4 .3 .2 .1 .0 8b h tl1 00 h .7 .6 .5 .4 .3 .2 .1 .0 8c h th0 00 h .7 .6 .5 .4 .3 .2 .1 .0 8d h th1 00 h .7 .6 .5 .4 .3 .2 .1 .0 90 h 2) p1 ff h C C .sls sto sri sclk t2ex t2 98 h 2) scon 00 h sm0 sm1 sm2 ren tb8 rb8 ti ri 99 h sbuf xx h .7 .6 .5 .4 .3 .2 .1 .0 a0 h 2) p2 ff h .7 .6 .5 .4 .3 .2 .1 .0 a8 h 2) ie 00 h ea essc et2 es et1 ex1 et0 ex0 b0 h 2) p3 ff h rd wr t1 t0 int1 int0 txd rxd b1 h syscon xx10- xxx0 b C C eale rmap C C C xmap b8 h 2) ip x000- 0000 b C pssc pt2 ps pt1 px1 pt0 px0 c0 h 2) wdcon xxxx- 0000 b C C C C owds wdts wdt swdt 1) x means that the value is undefined and the location is reserved. 2) bit-addressable special function registers. 3) sfr is located in the mapped sfr area. for accessing this sfr, bit rmap in sfr syscon must be set. 4) these are read-only registers. 5) the content of this sfr varies with the actual step of the c513a0: for example, 01 h for the first step). 6) this register is only used for test purposes and must not be written during normal operation. unpredictable results may occur upon a write operation. c513ao_ds_0200.frm page 21 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 22 02.00 c8 h 2) t2con 00 h tf2 exf2 rclk tclk exen2 tr2 c/t2 cp/ rl2 c9 h t2mod xxxx- xxx0 b CCCCCCCdcen ca h rc2l 00 h .7 .6 .5 .4 .3 .2 .1 .0 cb h rc2h 00 h .7 .6 .5 .4 .3 .2 .1 .0 cc h tl2 00 h .7 .6 .5 .4 .3 .2 .1 .0 cd h th2 00 h .7 .6 .5 .4 .3 .2 .1 .0 d0 h 2) psw 00 h cy ac f0 rs1 rs0 ov f1 p e0 h 2) acc 00 h .7 .6 .5 .4 .3 .2 .1 .0 e8 h 2) ssccon 07 h scen ten mstr cpol cpha brs2 brs1 brs0 e9 h stb xx h .7 .6 .5 .4 .3 .2 .1 .0 ea h srb xx h .7 .6 .5 .4 .3 .2 .1 .0 eb h sscmod 00 h 6) loopbtrio00000lsbsm f0 h 2) b 00 h .7 .6 .5 .4 .3 .2 .1 .0 f8 h 2) scf xxxx- xx00 b C C C C C C wcol tc f9 h scien xxxx- xx00 b C C C C C C wcen tcen fc h 3) 4) vr0 c5 h .7 .6 .5 .4 .3 .2 .1 .0 fd h 3) 4) vr1 C 7) .7 .6 .5 .4 .3 .2 .1 .0 fe h 3) 4) vr2 C 5) .7 .6 .5 .4 .3 .2 .1 .0 1) x means that the value is undefined and the location is reserved 2) bit-addressable special function registers 3) sfr is located in the mapped sfr area. for accessing this sfr, bit rmap in sfr syscon must be set. 4) these sfrs are read-only registers. 5) the content of this sfr varies with the actual step of the c513a0: for example, 01 h for the first step) 6) this register is only used for test purposes and must not be written during normal operation. unpredictable results may occur upon a write operation. 7) c513ao-l/2r: 13 h c513ao-2e: 83 h table 3 contents of the sfrs, sfrs in numeric order of their addresses (contd) addr. register content after reset 1) bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 c513ao_ds_0200.frm page 22 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 23 02.00 parallel i/o port the c513ao has four 8-bit i/o ports. port 0 is an open-drain bidirectional i/o port, while ports 1, 2, and 3 are quasi-bidirectional i/o ports with internal pull-up resistors. thus, when configured as inputs, ports 1 to 3 will be pulled high and will source current when externally pulled low. port 0 will float when configured as input. the output drivers of port 0 and port 2 and the input buffers of port 0 are also used for accessing external memory. in this application, port 0 outputs the low byte of the external memory address, time multiplexed with the byte being written or read. port 2 outputs the high byte of the external memory address when the address is 16 bits wide. otherwise, the port 2 pins continue to emit the p2 sfr contents. in this case, port 0 is not an open-drain port, but uses a strong internal pull-up field effect transistors (fets). port 1 pins used for synchronous serial channel (ssc) outputs are true push-pull outputs. when used as ssc inputs, they float (no pull-up). c513ao_ds_0200.frm page 23 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 24 02.00 timer/counter 0 and 1 timer/counter 0 and 1 can be used in four operating modes as listed in table 4 : in the timer function (c/t = 0) the register is incremented every machine cycle. since a machine cycle consists of twelve oscillator periods, the count rate is 1/12th of the oscillator frequency. in counter function, the register is incremented in response to a 1-to-0 transition (falling edge) at its corresponding external input pin, t0 or t1 (alternate functions of p3.4 and p3.5, respectively). since it takes two machine cycles to detect a falling edge; therefore, the maximum count rate is 1/ 24th of the oscillator frequency. external inputs int0 and int1 (p3.2, p3.3) can be programmed to function as a gate to facilitate pulse width measurements. figure 13 illustrates the input clock logic. figure 13 timer/counter 0 and 1 input clock logic table 4 timer/counter 0 and 1 operating modes mode description tmod input clock m1 m0 internal external (max.) 0 8-bit timer/counter with a divide-by-32 prescaler 00 f osc /(12 32) f osc /(24 32) 1 16-bit timer/counter 1 1 f osc /12 f osc /24 2 8-bit timer/counter with 8-bit autoreload 10 3 timer/counter 0 used as one 8-bit timer/counter and one 8-bit timer timer 1 stops 11 12 12 f osc /12 mcs01768 osc f c/t tmod 0 control timer 0/1 input clock tcon tr 0/1 gate tmod & =1 1 p3.4/t0 p3.5/t1 max p3.2/int0 p3.3/int1 osc /24 f 1 _ < c513ao_ds_0200.frm page 24 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 25 02.00 timer/counter 2 with compare/capture/reload timer 2 is a 16-bit timer/counter with an up/down count feature. it has three operating modes: ? 16-bit auto-reload mode (up or down counting) ? 16-bit capture mode ? baudrate generator note: denotes a falling edge table 5 timer / counter 2 operating modes mode t2con t2mod t2con p1.1/ t2ex remarks input clock rclk or tclk cp/ rl2 tr2 dcen exen2 internal external (p1.0/ t2) 16-bit auto- reload 0 0 0 0 0 0 0 0 1 1 1 1 0 0 1 1 0 1 x x x 0 1 reload upon overflow reload trigger (falling edge) down counting up counting f osc /12 max f osc /24 16-bit capture 0 0 1 1 1 1 x x 0 1 x 16-bit timer/ counter (only up-counting) capture th2, tl2 ? rc2h, rc2l f osc /12 max f osc /24 baudrate generator 1 1 x x 1 1 x x 0 1 x no overflow interrupt request (tf2) extra external interrupt (timer 2) f osc /12 max f osc /24 off x x 0 x x x timer 2 stops C C c513ao_ds_0200.frm page 25 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 26 02.00 serial interface (usart) the serial port is a full duplex port capable of simultaneous transmit and receive functions. it is also receive-buffered; it can commence reception of a second byte before a previously-received byte has been read from the receive register. the serial port can operate in 4 modes (one synchronous and three asynchronous) as illustrated in table 6 . for clarification, some terms regarding the difference between baudrate clock and baudrate should be mentioned. the serial interface requires a clock rate which is 16 times the baudrate for internal synchronization. therefore, the baudrate generators must provide a baudrate clock to the serial interface which divides it by 16, thereby resulting in the actual baudrate. the baudrates in mode 1 and 3 are determined by the timer overflow rate. these baudrates can be determined by timer 1 or by timer 2 or both (one for transmit, the other for receive). table 6 usart operating modes mode scon description sm0 sm1 0 0 0 shift register mode serial data enters and exits through r d. t d outputs the shift clock. 8-bit data are transmitted/received (lsb first) at a fixed baudrate of 1 / 12 th of the oscillator frequency. 1 0 1 8-bit usart, variable baudrate 10 bits are transmitted (through t d) or received (at r d). 2 1 0 9-bit usart, fixed baudrate 11 bits are transmitted (through t d) or received (at r d). 3 1 1 9-bit usart, variable baudrate similar to mode 2, except for the variable baudrate. c513ao_ds_0200.frm page 26 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 27 02.00 figure 14 block diagram of baudrate generation for the serial interface table 7 lists the values/formulas for the baudrate calculation of the serial interface with its dependencies on the control bits smod (in sfr pcon), tclk and rclk (both in sfr t2con). table 7 serial interface - baudrate dependencies serial interface operating modes control bits baudrate calculation smod tclk/rclk mode 0 (shift register) CC f osc /12 mode 1 (8-bit uart) mode 3 (9-bit uart) x 0 determined by timer 1 overflow rate: (2 smod timer 1 overflow rate)/32 C 1 determined by timer 2 overflow rate: timer 2 overflow rate/16 mode 2 (9-bit uart) 0 1 C C f osc /64 f osc /32 mcs04017 scon.7/ scon.6 (sm0/ sm1) mode 1 mode 3 mode 2 mode 0 6 f osc /2 timer 1 overflow only one mode can be selected pcon.7 (smod) 2 baudrate clock 0 1 note: the switch configuration shows the reset state c513ao_ds_0200.frm page 27 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 28 02.00 ssc interface the synchronous serial channel (ssc) interface is compatible to the popular spi serial bus interface. it can be used for simple i/o expansion via shift registers, for connection with a variety of peripheral components (such as a/d converters, eeproms etc.), or interconnection of several microcontrollers in a master/slave structure. the ssc unit supports full-duplex or half-duplex operation and can run in master mode or slave mode. figure 15 shows the block diagram of the ssc. figure 15 ssc block diagram interrupt system the c513ao provides seven interrupt sources with two priority levels. five of the interrupts can be generated by the on-chip peripherals (timer 0, timer 1, timer 2, usart, and ssc) and three of the interrupts may be triggered externally (p1.1/t2ex, p3.2/int0, p3.3/int1). a non-maskable eighth interrupt is reserved for external wake-up from power-down mode. figure 16 gives a general overview of the interrupt sources and illustrates the request and the control flags. table 8 lists the vector addresses of each interrupt source. mcb02735 p1.2/sclk p1.3/sri p1.4/sto p1.5/sls pin control logic shift register receive buffer register stb clock selection clock divider srb f osc control register status register int. enable reg. scien ssccon scf control logic internal bus interrupt c513ao_ds_0200.frm page 28 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 29 02.00 figure 16 interrupt request sources c513ao_ds_0200.frm page 29 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 30 02.00 if two interrupt requests of different priority levels are received simultaneously, the request of higher priority is serviced. if requests of the same priority are received simultaneously, an internal polling sequence determines which request is serviced. thus, within each priority level there is a second priority structure determined by the polling sequence as shown in table 9 . a low-priority interrupt can be interrupted by a high-priority interrupt, but not by another low-priority interrupt. a high-priority interrupt cannot be interrupted by any other interrupt source. table 8 interrupt vector addresses interrupt source request flags vector address external interrupt 0 timer 0 interrupt external interrupt 1 timer 1 interrupt usart serial port interrupt timer 2 interrupt synchronous serial channel interrupt (ssc) wake-up from power-down mode ie0 tf0 ie1 tf1 ri + ti tf2 + exf2 wcol+tc C 0003 h 000b h 0013 h 001b h 0023 h 002b h 0043 h 007b h table 9 interrupt source structure interrupt source priority external interrupt 0 synchronous serial channel timer 0 interrupt external interrupt 1 timer 1 interrupt universal serial channel timer 2 interrupt ie0 wcol or tc tfo ie1 tf1 ri or ti tf2 or exf2 high low c513ao_ds_0200.frm page 30 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 31 02.00 fail save mechanisms the c513ao offers enhanced fail-safe mechanisms which allow automatic recovery from a software upset or a hardware failure: ? a programmable watchdog timer (wdt) has variable time-out period from 512 m s up to approx. 1.1 sec. at 12 mhz ? an oscillator watchdog (owd) monitors the on-chip oscillator and forces the microcontroller into reset state if the on-chip oscillator fails. it also provides the clock for a fast internal reset after power-on. the watchdog timer in the c513ao is a 15-bit timer which is incremented by a count rate of either f cycle /2 or f cycle /32 ( f cycle = f osc /12). that is, the machine clock is divided by a fixed divide-by-two prescaler and an optional divide-by-16 prescaler arranged in series. for programming of the watchdog timer overflow rate, the upper 7 bit of the watchdog timer can be written. figure 17 shows the block diagram of the watchdog timer unit. figure 17 block diagram of the watchdog timer the watchdog timer can be started by software (bit swdt in sfr wdcon); but, it cannot be stopped during active mode of the device. if the software fails to clear the watchdog timer, an internal reset will be initiated. the reset cause can be examined by software (status flag wdts in wdcon is set). a refresh of the watchdog timer is done by setting bits wdt (sfr wdcon) and swdt consecutively. this double instruction sequence has been implemented to increase system security. during a refresh, the content of the sfr wdtrel is transferred to sfr wdth, i.e. the upper 7-bit of the watchdog timer. it must be noted, however, that the watchdog timer is stopped during the idle mode and power down mode of the processor. c513ao_ds_0200.frm page 31 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 32 02.00 oscillator watchdog the oscillator watchdog (owd) unit is used for three functions: ? monitoring the on-chip oscillators function the watchdog supervises the on-chip oscillators frequency. if the frequency is lower than the frequency of the auxiliary rc oscillator in the watchdog unit, the internal clock is supplied by the rc oscillator and the device is brought into reset. if the failure condition disappears (that is, if the on-chip oscillator has a higher frequency than the rc oscillator), the device executes a final reset phase of typically 1 ms to allow the oscillator to stabilize. then, the oscillator watchdog reset is released and the device resumes program execution. ? fast internal reset after power-on the oscillator watchdog unit provides a clock supply for reset before the on-chip oscillator has started. the oscillator watchdog unit reset works identically to the monitoring function. ? control of external wake-up from software power-down mode when power-down mode is terminated by a low level at the int0 pin, the oscillator watchdog unit ensures that the microcontroller resumes operation (execution of the power-down wake-up interrupt) with the nominal clock rate. in power-down mode, the rc oscillator and the on-chip oscillator are stopped. both oscillators are started again when power-down mode is terminated. when the on-chip oscillator has a frequency higher than the rc oscillator, the microcontroller starts operation after a final delay of typ. 1 ms to allow the on-chip oscillator to stabilize. note: the oscillator watchdog unit is always enabled. figure 18 shows the block diagram of the oscillator watchdog unit. c513ao_ds_0200.frm page 32 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 33 02.00 figure 18 block diagram of the oscillator watchdog c513ao_ds_0200.frm page 33 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 34 02.00 power saving modes the c513ao provides three basic power-saving modes: idle mode, slow-down mode, and power- down mode. ? idle mode the cpu is gated off from the oscillator. all peripherals are still provided with the clock and are able to function. idle mode is entered by software and can be left by an interrupt or reset. ? slow down mode the controller keeps up the full operating functionality, but its normal clock frequency is internally divided by 32. this slows down all parts of the controller, the cpu and all peripherals, to 1/32nd of their normal operating frequency and also reduces power consumption. ? power down mode the operation of the c513ao is completely stopped and the oscillator is turned off. this mode is used to save the contents of the internal ram with a very low standby current. this power down mode is entered by software and can be left by reset or a short low pulse at pin p3.2/int0 . in the power down mode of operation, v dd can be reduced to minimize power consumption. it must be ensured, however, that v dd is not reduced before the power down mode is invoked, and that v dd is restored to its normal operating level, before the power down mode is terminated. table 10 gives a general overview of the entry and exit procedures of the power saving modes. table 10 power saving modes overview mode entering example leaving by remarks idle mode orl pcon, #01 h occurrence of an any enabled interrupt cpu clock is stopped; cpu maintains their data; peripheral units are active (if enabled) and provided with clock hardware reset slow down mode in normal mode: orl pcon,#10 h anl pcon,#0ef h or hardware reset internal clock rate is reduced to 1/32 of its nominal frequency with idle mode: orl pcon,#11 h occurrence of any enabled interrupt and the instruction anl pcon,#0ef h cpu clock is stopped; cpu maintains their data; peripheral units are active (if enabled) and provided with 1/32 of its nominal frequency hardware reset power down mode orl pcon, #02 h hardware reset oscillator is stopped; contents of on-chip ram and sfrs are maintained; short low pulse at pin p3.2/int0 c513ao_ds_0200.frm page 34 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 35 02.00 absolute maximum ratings note: stresses above those listed under absolute maximum ratings may cause permanent damage of the device. this is a stress rating only and functional operation of the device at these or any other conditions above those indicated in the operational sections of this specification is not implied. exposure to absolute maximum rating conditions for longer periods may affect device reliability. during absolute maximum rating overload conditions ( v in > v dd or v in < v ss ) the voltage on v dd pins with respect to ground ( v ss ) must not exceed the values defined by the absolute maximum ratings. operating conditions parameter symbol limit values unit notes min. max. storage temperature t st C 65 150 c C voltage on v dd pins with respect to ground ( v ss ) v dd C 0.5 6.5 v C voltage on any pin with respect to ground ( v ss ) v in C 0.5 v dd + 0.5 v C input current on any pin during overload condition C C 10 10 ma C absolute sum of all input currents during overload condition C C |100 ma| ma C power dissipation p diss Ct.b.d.wC parameter symbol limit values unit notes min. max. supply voltage v dd 4.25 5.5 v C ground voltage v ss 0vC ambient temperature sab-c513ao saf-c513ao t a t a 0 C40 70 85 c C cpu clock f cpu 3.5 16 mhz C c513ao_ds_0200.frm page 35 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 36 02.00 parameter interpretation the parameters listed in the following partly represent the characteristics of the c513ao and partly its demands on the system. to aid in interpreting the parameters right, when evaluating them for a design, they are marked in column symbol: cc ( c ontroller c haracteristics): the logic of the c513ao will provide signals with the respective characteristics. sr ( s ystem r equirement): the external system must provide signals with the respective characteristics to the c513ao. dc characteristics (operating conditions apply) parameter symbol limit values unit test condition min. max. input low voltage pins except ea , reset ea pin reset pin v il sr v il1 sr v il2 sr C 0.5 C 0.5 C 0.5 0.2 v dd C 0.1 0.2 v dd C 0.3 0.2 v dd + 0.1 v v v C C C input high voltage pins except xtal1, reset xtal1 pin reset pin v ih sr v ih1 sr v ih2 sr 0.6 v dd 0.7 v dd 0.6 v dd v dd + 0.5 v dd + 0.5 v dd + 0.5 v v v C C C output low voltage ports 1, 2, 3 (except p1.2, p1.4) port 0, ale, psen p1.2, p1.4 pull-up transistor resistance v ol cc v ol1 cc r dson cc C C C 0.45 0.45 120 v v w i ol = 1.6 ma 1) i ol = 3.2 ma 1) v ol = 0.45 v output high voltage ports 1, 2, 3 port 0 in external bus mode, ale, psen p1.2, p1.4 pull-up transistor resistance v oh cc v oh1 cc r dson cc 2.4 0.9 v dd 2.4 0.9 v dd C C C C C 120 v v v v w i oh = C 80 m a, i oh = C 10 m a i oh = C 800 m a, i oh = C 80 m a 2) v oh = 0.9 v dd logic 0 input current ports 1, 2, 3 i il sr C 10 C 70 m a v in = 0.45 v logical 0-to-1 transition current, ports 1, 2, 3 i tl sr C 65 C 650 m a v i n = 2 v input leakage current port 0, ea p1.2, p1.3, p1.5 as ssc inputs i li cc C 1 m a0.45< v in < v dd input high current to reset for reset i ih cc 5 100 m a0.6< v in < v dd c513ao_ds_0200.frm page 36 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 37 02.00 notes see next page. power supply current input low current to xtal1 i il2 cc CC 20 m a v in = 0.45 v pin capacitance c io cc C10 pf f c = 1 mhz, t a = 25 c overload current i ov sr C 5ma 8) 9) parameter symbol limit values unit test condition typ. 10) max. active mode c513ao-2e 12 mhz 16 mhz i dd i dd 10.3 13.1 13.0 16.6 ma ma 4) c513ao-2r 12 mhz 16 mhz i dd i dd 6.9 8.5 9.0 10.9 ma ma 4) idle mode c513ao-2e 12 mhz 16 mhz i dd i dd 5.7 6.8 7.2 8.7 ma ma 5) c513ao-2r 12 mhz 16 mhz i dd i dd 4.1 4.8 5.5 6.0 ma ma 5) active mode with slow-down enabled c513ao-2e 12 mhz 16 mhz i dd i dd 4.5 5.1 5.7 6.5 ma ma 6) c513ao-2r 12 mhz 16 mhz i dd i dd 3.3 3.6 4.1 4.5 ma ma 6) idle mode with slow-down enabled c513ao-2e 12 mhz 16 mhz i dd i dd 3.7 4.0 4.7 5.1 ma ma 7) c513ao-2r 12 mhz 16 mhz i dd i dd 2.6 2.8 3.3 3.5 ma ma 7) power-down mode c513ao-2e i pd 8.8 50 m a v dd =2 ? 5.5 v 3) c513ao-2r i pd 1.28 20 m a v dd =2 ? 5.5 v 3) dc characteristics (contd) (operating conditions apply) parameter symbol limit values unit test condition min. max. c513ao_ds_0200.frm page 37 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 38 02.00 notes: 1) capacitive loading on ports 0 and 2 may cause spurious noise pulses to be superimposed on the v ol of ale and port 3. the noise is due to external bus capacitance discharging into the port 0 and port 2 pins when these pins make 1-to-0 transitions during bus operation. in the worst case (capacitive loading > 100 pf), the noise pulse on ale line may exceed 0.8 v. in such cases it may be desirable to qualify ale with a schmitt-trigger, or use an address latch with a schmitt-trigger strobe input. 2) capacitive loading on ports 0 and 2 may cause the v oh on ale and psen to momentarily fall below the 0.9 v dd specification when the address lines are stabilizing. 3) i pd (power-down mode) is measured under following conditions: ea =port0= v dd ; reset = v ss ; xtal2 = n.c.; xtal1 = v ss ; all other pins are disconnected. i dd would be slightly higher if a crystal oscillator is used (appr. 1 ma). 4) i dd (active mode) is measured with: xtal2 driven with t clch , t chcl =5ns, v il = v ss +0.5v, v ih = v dd C 0.5 v; xtal1 = n.c.; ea = pe /swd = port 0 = port 6 = v dd ; hwpd = v dd ; reset = v dd ; all other pins are disconnected. i dd would be slightly higher if a crystal oscillator is used (appr. 1 ma). 5) i dd (idle mode) is measured with all output pins disconnected and with all peripherals disabled; xtal1 driven with t clch , t chcl =5ns, v il = v ss +0.5v, v ih = v dd C 0.5 v; xtal2 = n.c.; reset = ea = v ss ; port0 = v dd ; all other pins are disconnected. 6) i dd (active mode with slow-down mode) is measured with all output pins disconnected and with all peripherals disabled; xtal1 driven with t clch , t chcl =5ns, v il = v ss +0.5v, v ih = v dd C 0.5 v; xtal2 = n.c.; reset = ea = v ss ;port0= v dd ; all other pins are disconnected. 7) i dd (idle mode with slow-down mode) is measured with all output pins disconnected and with all peripherals disabled; xtal1 driven with t clch , t chcl =5ns, v il = v ss +0.5v, v ih = v dd C 0.5 v; xtal2 = n.c.; reset = ea = v ss ;port0= v dd ; all other pins are disconnected. 8) overload conditions occur if the standard operating conditions are exceeded, i.e. the voltage on any pin exceeds the specified range (i.e. v ov > v dd +0.5v or v ov < v ss C 0.5 v). the supply voltage v dd and v ss must remain within the specified limits. the absolute sum of input currents on all port pins may not exceed 50 ma. 9) not 100% tested, guaranteed by design characterization. 10)the typical i dd values are periodically measured at t a = + 25 c and v dd = 5 v but not 100% tested. c513ao_ds_0200.frm page 38 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 39 02.00 figure 19 i dd diagram mcd04314 2 0 f osc dd i mhz ma dd typ i i dd max active mode active mode idle mode idle mode 2.5 5 7.5 10 12.5 15 17.5 468 10 12 14 16 active + slow down mode idle + slow down mode c513ao-2e mcd04315 2 0 f osc dd i mhz ma dd typ i i dd max active mode active mode idle mode idle mode 2 4 6 8 10 12 14 468 10 12 14 16 active + slow down mode idle + slow down mode c513ao-2r c513ao_ds_0200.frm page 39 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 40 02.00 power supply current calculation formula note: f osc is the oscillator frequency in mhz. i dd values are given in ma. parameter symbol formula active mode c513-2e i dd typ i dd max 0.70 f osc + 1.8 0.91 f osc + 2.0 c513-2r i dd typ i dd max 0.40 f osc + 2.1 0.48 f osc + 3.2 idle mode c513-2e i dd typ i dd max 0.29 f osc + 2.2 0.36 f osc + 2.9 c513-2r i dd typ i dd max 0.18 f osc + 1.9 0.13 f osc + 3.9 active mode with slow-down enabled c513-2e i dd typ i dd max 0.15 f osc + 2.6 0.20 f osc + 2.9 c513-2r i dd typ i dd max 0.08 f osc + 2.4 0.10 f osc + 2.9 idle mode with slow-down enabled c513-2e i dd typ i dd max 0.09 f osc + 2.5 0.12 f osc + 3.2 c513-2r i dd typ i dd max 0.05 f osc + 2.0 0.05 f osc + 2.7 c513ao_ds_0200.frm page 40 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 41 02.00 ac characteristics (16 mhz) (operating conditions apply) ( c l for port 0, ale and psen outputs = 100 pf; c l for all other outputs = 80 pf) *) interfacing the c513ao to devices with float times up to 55 ns is permissible. this limited bus contention will not cause any damage to port 0 drivers. parameter symbol limit values unit 16 mhz clock variable clock 1/ t clcl = 3.5 mhz to 16 mhz min. max. min. max. program memory characteristics ale pulse width t lhll cc 85 C2 t clcl C 40 C ns address setup to ale t avll cc 33 C t clcl C 30 C ns address hold after ale t llax cc 28 C t clcl C 35 C ns ale low to valid instruction in t lliv sr C 150 C 4 t clcl C 100 ns ale to psen t llpl cc 38 C t clcl C 25 C ns psen pulse width t plph cc 153 C 3 t clcl C 35 C ns psen to valid instruction in t pliv sr C88C 3 t clcl C 100 ns input instruction hold after psen t pxix sr 0C0Cns input instruction float after psen t pxiz *) sr C43C t clcl C 20 ns address valid after psen t pxav *) cc 48 C t clcl C 8 C ns address to valid instr in t aviv sr C 198 C 5 t clcl C 115 ns address float to psen t azpl cc 0C0Cns c513ao_ds_0200.frm page 41 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 42 02.00 ac characteristics (16 mhz, contd) (operating conditions apply) ( c l for port 0, ale and psen outputs = 100 pf; c l for all other outputs = 80 pf) parameter symbol limit values unit 16 mhz clock variable clock 1/ t clcl = 3.5 mhz to 16 mhz min. max. min. max. external data memory characteristics rd pulse width t rlrh cc 275 C6 t clcl C 100 C ns wr pulse width t wlwh cc 275 C 6 t clcl C 100 C ns address hold after ale t llax2 cc 90 C 2 t clcl C 35 C ns rd to valid data in t rldv sr C 148 C 5 t clcl C 165 ns data hold after rd t rhdx sr 0C0 C ns data float after rd t rhdz sr C55C 2 t clcl C 70 ns ale to valid data in t lldv sr C 350 C 8 t clcl C 150 ns address to valid data in t avdv sr C 398 C 9 t clcl C 165 ns ale to wr or rd t llwl cc 138 238 3 t clcl C 50 3 t clcl + 50 ns address valid to wr or rd t avwl cc 120 C 4 t clcl C 130 C ns wr or rd high to ale high t whlh cc 23 103 t clcl C 40 t clcl + 40 ns data valid to wr transition t qvwx cc 13 C t clcl C 50 C ns data setup before wr t qvwh cc 288 C 7 t clcl C 150 C ns data hold after wr t whqx cc 13 C t clcl C 50 C ns address float after rd t rlaz cc C0C 0 ns c513ao_ds_0200.frm page 42 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 43 02.00 synchronous serial channel (ssc) interface characteristics external clock drive characteristics parameter symbol limit values unit 16 mhz clock min. max. clock cycle time: master mode slave mode t sclk cc t sclk sr 500 450 C C ns ns clock high time t sch cc/sr 1) 1) this parameter is cc in master mode, and sr in slave mode. 200 Cns clock low time t scl cc/sr 1) 200 C ns data output delay t dcc C 100 ns data output hold t ho cc 0Cns data input setup t ssr 80 C ns data input hold t hi sr 80 C ns tc bit set delay t dtc cc C 16 t clcl ns parameter symbol limit values unit variable clock freq. = 3.5 mhz to 16 mhz min. max. oscillator period t clcl sr 62.5 285 ns high time t chcx sr 15 t clcl C t clcx ns low time t clcx sr 15 t clcl C t chcx ns rise time t clch sr C15ns fall time t chcl sr C15ns c513ao_ds_0200.frm page 43 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 44 02.00 figure 20 program memory read cycle mct00096 ale psen port 2 lhll t a8 - a15 a8 - a15 a0 - a7 instr.in a0 - a7 port 0 t avll plph t t llpl t lliv t pliv t azpl t llax t pxiz t pxix t aviv t pxav c513ao_ds_0200.frm page 44 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 45 02.00 figure 21 data memory read cycle mct00097 ale psen port 2 whlh t port 0 rd t lldv t rlrh t llwl t rldv t avll t llax2 t rlaz t avwl t avdv t rhdx t rhdz a0 - a7 from ri or dpl from pcl a0 - a7 instr. in data in a8 - a15 from pch p2.0 - p2.7 or a8 - a15 from dph c513ao_ds_0200.frm page 45 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 46 02.00 figure 22 data memory write cycle mct00098 ale psen port 2 whlh t port 0 wr t wlwh t llwl t qvwx t avll t llax2 t qvwh t avwl t whqx a0 - a7 from ri or dpl from pcl a0 - a7 instr.in data out a8 - a15 from pch p2.0 - p2.7 or a8 - a15 from dph c513ao_ds_0200.frm page 46 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 47 02.00 figure 23 ssc timing figure 24 external clock drive on xtal1 mct02417 sclk sto sri tc t scl msb lsb msb lsb sch t t sclk s t hi t ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ d tt hd dtc t notes: shown is the data/clock relationship for cpol = cpha = 1. the timing diagram is valid for the other cases accordingly. in the case of slave mode and cpha = 0, the output delay for the msb applies to the falling edge of sls (if transmitter is enabled). in the case of master mode and cpha = 0, the msb becomes valid after the data has been written into the shift register, i.e. at least one half sclk clock cycle before the first clock transition. mct00033 t chcx t clcx chcl t clch t v dd t clcl - 0.5v 0.45v dd 0.7 v v - 0.1 dd 0.2 c513ao_ds_0200.frm page 47 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 48 02.00 otp memory characteristics (c513ao-2e only) programming mode timing characteristics (operating conditions apply) parameter symbol limit values unit min. max. pale pulse width t paw 35 Cns pmsel set-up to pale rising edge t pms 10 C C address set-up to pale, prog , or prd falling edge t pas 10 C ns address hold after pale, prog , or prd falling edge t pah 10 C ns address, data set-up to prog or prd t pcs 100 C ns address, data hold after prog or prd t pch 0Cns pmsel set-up to prog or prd t pms 10 C ns pmsel hold after prog or prd t pmh 10 C ns prog pulse width t pww 100 C m s prd pulse width t prw 100 C ns address to valid data out t pad C75ns prd to valid data out t prd C20ns data hold after prd t pdh 0Cns data float after prd t pdf C20ns prog high between two consecutive prog low pulses t pwh1 1C m s prd high between two consecutive prd low pulses t pwh2 100 C ns xtal clock period t clkp 62.5 286 ns c513ao_ds_0200.frm page 48 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 49 02.00 figure 25 programming code byte - write cycle timing a8-13 mct04318 pale pmsel1, 0 port 2 port 0 prog t pms t paw t pas t pah h, h a0-7 d0-7 t pwh t pww t pcs notes: prd must be high during a programming write cycle t pch c513ao_ds_0200.frm page 49 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 50 02.00 figure 26 verify code byte - read cycle timing a8-13 mct04319 pale pmsel1, 0 port 2 port 0 prd t pms t paw t pas t pah h, h a0-7 t pad d0-7 t pdh t prd t pwh t prw t pch t pcs notes: prog must be high during a programming read cycle t pdf c513ao_ds_0200.frm page 50 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 51 02.00 figure 27 lock bit access timing figure 28 version registers - read timing t pdr mct04320 t pcs t pms d0, d1 t pch t pmh t pww t prw t pms t prd t pmh t pdh h, l h, l d0, d1 pmsel1, 0 port 0 prog prd notes: pale should be low during a lock bit read/write cycle mct04321 t prw t pcs t pdh e.g. fd h d0-7 port 2 port 0 prd pmsel1, 0 l, h t pch t pmh t pdf t prd t pms notes: prog must be high during a programming read cycle c513ao_ds_0200.frm page 51 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 52 02.00 otp verification mode characteristics note: ale pin described below is not the otp programming mode pin pale figure 29 otp verification mode parameter symbol limit values unit min. typ max. ale pulse width t awd C2 t clcl Cns ale period t acy C 12 t clcl Cns data valid after ale t dva CC4 t clcl ns data stable after ale t dsa 8 t clcl CCns p3.5 set-up to ale low t as C t clcl Cns oscillator frequency 1/ t clcl 4C6mhz mct04322 ale port 0 p3.5 t acy t awd t dsa t dva t as data valid c513ao_ds_0200.frm page 52 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 53 02.00 figure 30 ac testing: input, output waveforms figure 31 ac testing: float waveforms ac inputs during testing are driven at v dd C 0.5 v for a logic 1 and 0.45 v for a logic 0. timing measurements are made at v ihmin for a logic 1 and v ilmax for a logic 0. 0.45 v v dd 0.2 -0.1 +0.9 0.2 dd v test points mct00039 v dd -0.5 v for timing purposes, a port pin is no longer floating when a 100 mv change from load voltage occurs and begins to float when a 100 mv change from the loaded v oh / v ol level occurs. i ol / i oh 3 20 ma. mct00038 v load v load -0.1 v +0.1 v load v timing reference points v oh -0.1 v +0.1 v ol v c513ao_ds_0200.frm page 53 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 54 02.00 figure 32 recommended oscillator circuits for crystal oscillator mcs04317 3.5-16 mhz c c crystal mode: c = 20 pf 10 pf (incl. stray capacitance) crystal oscillator mode external oscillator signal driving from external source xtal2 xtal1 n.c. xtal2 xtal1 c513ao_ds_0200.frm page 54 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 55 02.00 package outlines g p d 0 5 0 5 5 2.54 1.5 max 0.45 +0.1 1.3 3.7 0.3 0.5 min 5.1 max 40 21 120 50.9 -0.5 0.25 max 0.25 +0.1 14 -0.3 15.24 +1.2 15.24 0.2 index marking ~ ~ 0.25 40x plastic package, p-dip-40-2 (plastic dual in-line package) sorts of packing package outlines for tubes, trays etc. are contained in our data book package information. dimensions in mm smd = surface mounted device c513ao_ds_0200.frm page 55 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 56 02.00 g p l 0 5 1 0 2 plastic package, p-lcc-44-1 (plastic lead chip carrier) sorts of packing package outlines for tubes, trays etc. are contained in our data book package information. dimensions in mm smd = surface mounted device c513ao_ds_0200.frm page 56 wednesday, august 30, 2000 12:45 pm
c513ao data sheet 57 02.00 g p m 0 5 6 2 2 plastic package, p-mqfp-44-2 (plastic metric quad flat pack) sorts of packing package outlines for tubes, trays etc. are contained in our data book package information. dimensions in mm smd = surface mounted device c513ao_ds_0200.frm page 57 wednesday, august 30, 2000 12:45 pm


▲Up To Search▲   

 
Price & Availability of SAB-C513AO-2RN

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  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. X