![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
description the m pd7554a is a product of the m pd7554, 7564 sub-series which is a 4-bit single-chip microcomputer with a small number of ports in a small package, which is enabled to operate even at the super-low voltage of 2.0 v so that it is optimized for handy-type systems operating with dry cells. the m pd7554a is a low-order model in the m pd7500 series ( m pd7554a only). this device incorporates a serial interface, and serves as the sub-cpu for a high-order model of that series or the 8-bit microcomputer. it is optimized for distributed processing of the system. the m pd7554a has outputs to directly drive a triac and leds and allows selection among many types of input/ output circuits using their respective mask options, sharply reducing the number of external circuits required. details of functions are described in the users manual shown below. be sure to read in design. m pd7554, 7564 users manual: iem-1111d 4-bit single-chip microcomputer m pd7554a, 7554a(a) mos integrated circuit data sheet the mark h shows major revised points. the information in this document is subject to change without notice. features range of supply voltage 7554a : 2.0 to 6.0 v 7554a(a) : 2.7 to 6.0 v drive with two 1.5 v manganese cells 47 types of instructions (subset of m pd7500h set b) instruction cycle external clock : 2.86 m s (in operation at 700 khz, 5 v) rc oscillation : 4 m s (in operation at 500 khz, 5 v) program memory (rom) capacity: 1024 8 bits data memory (ram) capacity: 64 4 bits test source: one external source and two internal sources document no. ic-2419c (o. d. no. ic-7835c) date published january 1995 p printed in japan 1994 1989 application m pd7554a : sub-cpu including handy-type system, ppc, printer, vcr, audio equipments, etc. m pd7554a(a) : automotive and transportation equipments, etc. h the quality level and absolute maximum ratings of the m pd7554a and the m pd7554a(a) differ. except where specifically noted, explanations here concern the m pd7554a as a representative product. if you are using the m pd7554a(a), use the information presented here after checking the functional differences. 8-bit timer/event counter 16 i/o lines (total output current of all pins: 100 ma) ? can directly drive a triac and a led: p80 to p83 ? can directly drive leds: p100 to p103 and p110 to p113 ? mask option function provided for every port 8-bit serial interface standby (stop/halt) function low supply voltage data retaining function for data memory built-in ceramic oscillator for system clock rc oscillation with an external resistor r (incorporat- ing capacitor c) h
2 m pd7554a, 7554a(a) ordering information ordering code package quality grade m pd7554acs- 20-pin plastic shrink dip (300 mil) standard m pd7554ag- 20-pin plastic sop (300 mil) standard m pd7554acs(a)- 20-pin plastic shrink dip (300 mil) special m pd7554ag(a)- 20-pin plastic sop (300 mil) special caution be sure to specify a mask option when ordering this device. remarks " " is a rom code number. please rfer to quality grade on nec semiconductor devices (document number iei-1209) published by nec corporation to know the specification of quality grade on the devices and its recommended applications. h h pin configuration (top view) 1 2 3 4 5 6 7 8 9 10 20 19 18 17 16 15 14 13 12 11 v ss p113 p112 p111 p110 p103 p102 p101 p100 reset p00/int0 p01/sck p02/so p03/si p80 p81 p82 cl2(p83) cl1 v dd pd7554a m 3 m pd7554a, 7554a(a) block diagram of m pd7554a reset v dd v ss instruction decoder standby control system clock generator program memory 1024 8 bits program counter (10) p00/int0 cl clock control timer/event counter test control serial interface port0 buffer port8 latch buffer port10 latch buffer port11 latch buffer 4 p00?03 3 p80?82 p83 (cl2) 4 p100?103 4 p110?113 a (4) c h (2) l (2) stack pointer (6) data memory 64 4 bits alu int0 p01/sck p03/si p02/so f cl cl1 cl2(p83) cp general registers 4 m pd7554a, 7554a(a) contents 1. pin functions ............................................................................................................................... ............ 6 1.1 port functions ............................................................................................................................... .................. 6 1.2 other than ports ............................................................................................................................... ............. 6 1.3 pin mask option ............................................................................................................................... ................. 7 1.4 caution on use of p00/int0 pin and reset pin ..................................................................................... 8 1.5 pin input/output circuits ............................................................................................................................ 9 1.6 recommended connection of unused m pd7554a pins .................................................................... 12 1.7 operation of input/output ports .......................................................................................................... 13 2. internal block functions ............................................................................................................... 15 2.1 program counter (pc): 10 bits .................................................................................................................. 15 2.2 stack pointer (sp): 6 bits ............................................................................................................................ 16 2.3 program memory (rom): 1024 words 8 bits ..................................................................................... 17 2.4 general register ............................................................................................................................... ............ 17 2.5 data memory (ram): 64 4 bits ................................................................................................................. 18 2.6 accumulator (a): 4 bits ............................................................................................................................... 19 2.7 arithmetic logic unit (alu): 4 bits .......................................................................................................... 19 2.8 program status word (psw): 4 bits ...................................................................................................... 19 2.9 system clock generator ........................................................................................................................... 20 2.10 clock control circuit ............................................................................................................................... .. 21 2.11 timer/event counter ............................................................................................................................... .... 22 2.12 serial interface ............................................................................................................................... .............. 23 2.13 test control circuit ............................................................................................................................... ..... 25 3. standby functions .............................................................................................................................. 27 3.1 stop mode ............................................................................................................................... ........................... 27 3.2 halt mode ............................................................................................................................... ........................... 27 3.3 cancelling the standby mode ................................................................................................................. 28 4. reset functions ............................................................................................................................... ..... 29 4.1 details of initialization ............................................................................................................................. 2 9 5. m pd7554a instruction set ............................................................................................................... 30 6. electrical specifications .............................................................................................................. 35 7. characteristics curves .................................................................................................................. 47 8. m pd7554a applied circuits ............................................................................................................... 51 9. package information ....................................................................................................................... 52 10. recommended packaging pattern of plastic sop (reference) ..................................... 56 11. recommended soldering conditions ....................................................................................... 57 5 m pd7554a, 7554a(a) appendix a. comparison between sub-series product functions ..................................... 58 appendix b. development tools ........................................................................................................ 59 appendix c. related documents ........................................................................................................ 61 h 6 m pd7554a, 7554a(a) 1. pin functions 1.1 port functions pin name input/output dual-function function after reset input/output pin circuit p00 input int0 s p01 input/output sck input x p02 so w p03 input si s p80 to p82 output CC o p83 note output cl2 p100 to p103 input/output CC p p110 to p113 input/output CC note mask options are available to specify port functions only when the external clock (cl1) is used. 1.2 other than ports pin name input/output dual-function function after reset input/output pin circuit int0 input p00 edge detection testable input pin (rising edge) s sck input/output p01 serial clock input/output pin input x so output p02 serial data output pin input w si input p03 serial data input pin input s cl1 q cl2 p83 reset r v dd positive power supply pin v ss gnd potential pin 4-bit input port (port 0) p00 serves also as a count clock (event pulse) input. 4-bit output port (port 8) high current (15 ma), middle-high voltage (9 v) output 4-bit i/o port (port 10) middle-high current (10 ma), middle-high voltage (9 v) input/output 4-bit i/o port (port 11) middle-high current (10 ma), middle-high voltage (9 v) input/output high impedance high impedance or high-level output connection pin for resistor r for rc oscillator when an external clock is used, its input must be connected to cl1, and cl2 can be used as p83 using the mask option. system reset input pin (high-level active) a pull-down resistor can be incorporated using the mask option. 7 m pd7554a, 7554a(a) 1.3 pin mask option each pin is provided with the following mask options which can be selected for each bit according to the purpose: pin name mask options p00 no internally provided resistor pull-down resistor internally provided a pull-up resistor internally provided p01 no internally provided resistor pull-down resistor internally provided a pull-up resistor internally provided p02 no internally provided resistor pull-down resistor internally provided a pull-up resistor internally provided p03 no internally provided resistor pull-down resistor internally provided a pull-up resistor internally provided p80 n-channel open-drain output cmos (push-pull) output p81 n-channel open-drain output cmos (push-pull) output p82 n-channel open-drain output cmos (push-pull) output p83/cl2 used as cl2 or p83n-ch open-drain output pin. used as p83 pin (push-pull output). p100 n-channel open-drain i/o push-pull i/o a n-channel open-drain + i/o with pull-up resistor internally provided p101 n-channel open-drain i/o push-pull i/o a n-channel open-drain + i/o with pull-up resistor internally provided p102 n-channel open-drain i/o push-pull i/o a n-channel open-drain + i/o with pull-up resistor internally provided p103 n-channel open-drain i/o push-pull i/o a n-channel open-drain + i/o with pull-up resistor internally provided p110 n-channel open-drain i/o push-pull i/o a n-channel open-drain + i/o with pull-up resistor internally provided p111 n-channel open-drain i/o push-pull i/o a n-channel open-drain + i/o with pull-up resistor internally provided p112 n-channel open-drain i/o push-pull i/o a n-channel open-drain + i/o with pull-up resistor internally provided p113 n-channel open-drain i/o push-pull i/o a n-channel open-drain + i/o with pull-up resistor internally provided system clock note rc oscillation external clock reset pull-down resistor is not internally provided pull-down resistor is internally provided note when using rc oscillation, switch the p83/cl2 pin to the cl2 pin. there is no mask option for prom products. for more information, see the m pd75p54 data sheet (ic-2830). h 8 m pd7554a, 7554a(a) 1.4 caution on use of p00/int0 pin and reset pin in addition to the functions shown in 1.1, 1.2 and 1.3, the p00/int0 pin and reset pin have a function for setting the test mode in which the internal operation of the m pd7554a is tested (ic test only). when a potential greater than v ss is applied to either of these pins, the test mode is set. as a result, if noise exceeding v ss is applied during normal operation, the test mode will be entered and normal operation may be impeded. if, for example, the routing of the wiring between the p00/int0 pin and reset pin is long, the above problem may occur as the result of inter-wiring noise between these pins. therefore, wiring should be carried out so as to suppress inter-wiring noise as far as possible. if it is not possible to suppress noise, anti-noise measures should be taken using external parts as shown in the figures below. ? connection of diode with small v f between p00/ int4/reset pin and v ss ? connection of capacitor between p00/int0/ reset pin and v ss v dd v dd p00/int0, reset v ss v dd v dd p00/int0, reset v ss diode with small v f 9 m pd7554a, 7554a(a) 1.5 pin input/output circuits this section presents the input/output circuit for each pin of the m pd7554a in a partly simplified format: (1) type a (for type w) v dd p?h n?h in forming an input buffer conformable to the cmos specification (2) type d (for types w and x) v dd p?h n?h out data output disable forming a push-pull output which becomes high impedance (with both p-ch and n-ch off) in response to reset input 10 m pd7554a, 7554a(a) (3) type o v dd p?h n?h out data output disable mask option (middle-high voltage, high-current) (4) type p v dd p?h n?h out data output disable mask option (middle-high voltage, high-current) middle-hi g h in p ut buffer (5) type q cl1 cl2/p83 type 0 rc oscillator mask option 11 m pd7554a, 7554a(a) (6) type r mask option (7) type s in mask option v dd (8) type w in/out v dd type d type a data output disable mask option 12 m pd7554a, 7554a(a) (9) type x in/out v dd type d data output disable mask option 1.6 recommended connection of unused m pd7554a pins pin recommended connection p00/int0 connect to v ss . p01 to p03 connect to v ss or v dd . p80 to p82 leave open. p100 to p103 p110 to p113 input state : connect to v ss or v dd . output state: leave open. 13 m pd7554a, 7554a(a) 1.7 operation of input/output ports (1) p00 to p03 (port 0) the port 0 is a 4-bit input port consisting of 4-bit input pins p00 to p03. in addition to being used for port input, p00 serves as a count clock input or testable input (int0), each of p01 to p03 serves as a serial interface input/output. to use p00 as a count clock input, set bits 2 (cm2) and 1 (cm1) of the clock mode register to 01. (see 2.10 clock control circuit for details.) to use p00 as a int0, set bit 3 (sm3) of the shift mode register to 1. the serial interface function to use p01 to p03 as a serial interface i/o port is determined by bits 2 and 1 (sm2 and sm1) of the shift mode register. see 2.12 serial interface for details. even though this port operates using any function other than the port function, execution of the port input instruction (ipl) permits loading data on the p00 to p03 line to the accumulator (a0 to a3) at any time. (2) p80 to p83 (port 8) the port 8 is a 4-bit output port with an output latch, which consists of 4-bit output pin. the port output instruction (opl) latches the content of the accumulator (a0 to a3) to the output latch and outputs it to pins p80 to p83. the spbl and rpbl instructions note allow bit-by-bit setting and resetting of pins p80 to p83. note that p83 is to be selected using a mask option, to serve as one of the connection pins of the resistor r for rc oscillation (cl2) or as the bit 3 output of the port 8. thus, the port 8 is a 3-bit output port (p80 to p82) if rc oscillation is performed, and provides a 4-bit output (p80 to p83) only when an external clock is used. for these ports, mask options for the output format are available to select cmos (push-pull) output or n-ch open- drain output. the port specified as a n-ch open-drain output and provides an efficient interface to the circuit operating at a different supply voltage because the output buffer has a dielectric strength of 9 v. contents of the output latch become undefined when the reset signal is input, then the output becomes high impedance. note rpbl and spbl are bit-by-bit setting and resetting instructions. during setting and resetting operations, the rpbl and spbl instructionrs allow outputting with each (4-bit) port which contains the specified bits. (the content of the output latch is output to any pin other than the specified pins.) the content of the output latch must be initialized with the opl instruction before executing the rpbl and spbl instructions. 14 m pd7554a, 7554a(a) (3) p100 to p103 (port 10) and p110-p113 (port 11): quasi-bidirectional input/output p100 to p103 are 4-bit i/o pins which form the port 10 (4-bit i/o port with an output latch). p110 to p113 are 4- bit i/o pins which form the port 11 (4-bit i/o port with an output latch). the port output instruction (opl) latches the content of the accumulator to the output latch and outputs it to the 4-bit pins. the data written once in the output latch and the output buffer state are retained until the output instruction to operate the port 10 or 11 is executed or the reset signal is input. even though an input instruction is executed for the port 10 or 11, the states of both the output latch and output buffer do not change. the spbl and rpbl instructions allow bit-by-bit setting and resetting of pins p100 to p103 and p110 to p113. the input/output format of each of the ports 10 and 11 can be selected from among the n-ch open-drain input/ output, n-ch open-drain + pull-up resistor built-in input/output, and cmos (push-pull) input/output by their respective mask options. the ports 10 and 11 offers the middle withstand voltage of 9 v for the n-ch open-drain input/output, so that they are convenient for interface between circuits which has different supply voltages. when the cmos (push-pull) input/output is selected, the port cannot return to the input mode once the output instruction is executed. however, the states of the pins of the port can be checked by reading via the port input instruction (ipl). when one of the other two formats is selected, the port can enter the input mode to load the data on the 4-bit line to the accumulator (as a quasi-bidirectional port) when the port receives high level output. select each type of the input/output format to meet the use of the port: cmos input/output i) uses all 4 bits of the port as input ports. ii) uses pins of the port as output pins not requiring middle withstand voltage output. n-ch open-drain input/output i) uses pins of the port as i/o pins requiring a middle withstand voltage dielectric strength. ii) uses input pins of the port which also has output pins. iii) uses each pin of the port for both input and output by switching them over. a n-ch open-drain + pull-up resistor built-in input/output i) uses input pins of the port which also has output pins, that require a pull-up resistor. ii) uses each pin of the port for both input and output by switching them over. this requires a pull-up resistor. caution before using input pins in the case of or a , write 1 in the output latch to turn the n-ch transistor off. the content of the output latch becomes undefined when the reset signal is input. in such a case, the output becomes high level with the n-ch open-drain + pull-up resistor built-in, and becomes high impedance without the resistor. 15 m pd7554a, 7554a(a) 2. internal block functions 2.1 program counter (pc): 10 bits the program counter is a 10-bit binaryc ounter to retain program memory (rom) address information. fig. 2-1 program counter configuration pc9 pc8 pc7 pc6 pc5 pc4 pc3 pc2 pc1 pc0 pc when one instruction is executed, usually the program counter is incremented by the number of bytes of the instruction. when the call instruction is executed, the pc is loaded with a nkew call address after the stack memory saves the current contents (return address) of the pc. when the return instruction is executed, the content (return address) of the stack memory is loaded onto the pc. when the jump instruction is executed, the immediate data identifying the destination of the jump is loaded to all or some of bits of the pc. when a skip occurs, the pc is incremented by 2 or 3 during the machine cycle depending on the number of bytes in the next instruction. when the reset signal is input, all the bits of the pc are cleared to zero. 16 m pd7554a, 7554a(a) 2.2 stack pointer (sp): 6 bits the stack pointer is a 6-bit register which retains head address information of the stack memory (lifo type) which is a part of the data memory. fig. 2-2 stack pointer configuration sp5 sp4 sp3 sp2 sp1 sp0 sp the stack pointer is decremented when the call instruction is executed. it is incremented when the return instruction is executed. to determine the stack area, initialize the sp using the tamsp instruction. note that bit sp0 is loaded with 0 unconditionally when the tamsp instruction is executed. set the sp to the value of the highest address of the stack area + 1 because the stack operation starts with decrementation of the sp. when the highest address of the stack area is 3fh which is the highest address of the data memory, the initial value of sp5-0 must be 00h. for emulation using the m pd7500h (evakit-7500b), set the data to be used for am when executing the tamsp instruction. fig. 2-3 in execution of tamsp instruction a3 a2 a1 a0 (hl) 3 (hl) 2 (hl) 1 (hl) 0 0 sp5 sp4 sp3 sp2 sp1 sp0 note that the contents of the sp cannot be read. caution be sure to set the sp at the initial stage of the program execution because the sp becomes undefined when the reset signal is input. example lhli 00h lai 0 st lai 4 tamsp ;sp = 40h 17 m pd7554a, 7554a(a) 2.3 program memory (rom): 1024 words 8bits the program memory is a mask programmable rom of 1024 word 8 bits configuration. it is addressed by the program counter. the program memory stores programs. address 000h is the reset start address. fig. 2-4 program memory map (0) 000h (1023) 3ffh reset start 2.4 general register general registers h (with two bits) and l (with four bits) operate individually. they also form a pair register hl (h: high order and l: low order) to serve as a data pointer for addressing the data memory. fig. 2-5 general register configuration 10 hl 30 the l register is also used to specify i/o ports and the mode register when an input/output instruction (ipl or opl) is executed. it also used to specify the bits of a port when the spbl or rpbl instruction is executed. 18 m pd7554a, 7554a(a) 2.5 data memory (ram): 64 4 bits the data memory is a static ram of 64 word 4 bits configuration. it is used as the area to store or stack processed data. the data memory may be processed in 8-bit units when paired with the accumulator. fig. 2-6 data memory map ( 0 ) 00h (63) 3fh 64 words 4 bits the data memory is addressed in the following three ways: ? direct: direct addressing based on immediate data of an instruction ? register indirect: indirect addressing according to the contents of the pair register hl (including automatic incrementation and decrementation) ? stack: indirect addressing according to the contents of the stack pointer (sp) an arbitrary space of the data memory is available as stack memory. the boundary of the stack area is specified when the tamsp instruction initializes the sp. after that, the stack area is accessed automatically by the call or return instruction. after the call instruction is executed, the content of the pc and psw is stored in the order shown in the following diagram: 0 0 pc9 pc8 30 psw note pc3 ?pc0 pc7 ?pc4 sp ?4 sp ?3 sp ?2 sp ?1 stack area note bit 1 is fixed at 0. when the return instruction is executed, the content of the psw is not restored while those of the pc are restored. data in the data memory is retained at a low supply voltage in the stop mode. 19 m pd7554a, 7554a(a) 2.6 accumulator (a): 4 bits the accumulator is a 4-bit register which plays a major role in many types of arithmetic operations. the accumulator may be processed in 8-bit units when paired with the data memory addressed by the pair register hl. fig. 2-7 accumulator configuration a3 a2 a1 a0 a 2.7 arithmetic logic unit (alu): 4 bits the arithmetic logic unit is a 4-bit arithmetic circuit to perform arithmetic and bit processing such as binary addition, logical operation, incrementation, decrementation, and comparison. 2.8 program status word (psw): 4 bits the program status word consists of skip flags (sk1 and sk0) and a carry flag (c). bit 1 of the psw is fixed at 0. fig. 2-8 program status word configuration sk1 sk0 0 c psw 3210 (1) skip flags (sk1 and sk0) skip flags store the following skip status: ? stacking by the lai instruction ? stacking by the lhli instruction ? skip condition establishment by any instruction other than stack instructions the skip flags are set and reset automatically when respective instructions are executed. (2) carry flag (c) the carry flag is set to 1 when a carry from bit 3 of the alu occurs when the add instruction (acsc) is executed. the flag is reset to 0 when the carry does not occur. the sc and rc instructions respectively set and reset the carry flag. the skc instruction tests the contents of the flag. the content of the psw are automatically stored in the stack area when the call instruction is executed. it cannot be restored by the return inhstruction. when the reset signal is input, sk1 and sk0 are both cleared to zero and c becomes undefined. 20 m pd7554a, 7554a(a) 2.9 system clock generator the system clock generator contains an rc oscillator, 1/2 divider, and standby (stop/halt) mode control circuit. fig. 2-9 system clock generator standby release reset ( ) (to cpu) cl (system clock) reset (high) halt note stop note halt f/f qs r qs r stop f/f cl2 cl1 c r 1/2 f rc oscillator note instruction execution oscillator stop the rc oscillator oscillates with an external resistor r connected to pins cl1 and cl2. (a capacitor c is incorporated.) the rc oscillator serves merely as a reverse buffer if inputs an external clock through the cl1 input. the rc oscillator outputs the system clock (cl) which is 1/2 divided to the cpu clock ( f ). the control circuit in the standby mode consists mainly of stop f/f and halt f/f. the stop f/f is set by the stop instruction, blocking any clock from being supplied. the stop f/f stops rc oscillation during operation of the rc oscillator (stop mode). the stop f/f is reset by the standby release signal (which goes active when even one test request flag is input) or at the fall of the reset input, to cause the rc oscillator to start oscillation and supplying each clock. the halt f/f is set by the halt instruction to disable the input to the 1/2 divider which generates the cpu clock f , stopping only the cpu clock f (halt mode). the halt f/f is set and reset as in the case of the stop f/f. resetting the halt f/f cause the rc oscillator to start supplying the cpu clock f . 21 m pd7554a, 7554a(a) 2.10 clock control circuit the clock control circuit consists of 2-bit clock mode registers (cm2 and cm1), prescalers 1, 2 and 3, and a multiplexer. the circuit inputs the system clock generator output (cl) and the event pulse (p00). it also selects a clock source and a prescaler according to the specifications of clock mode register and supplies a count pulse (cp) to the timer/event counter. fig. 2-10 clock control circuit cp cl p00 prescaler 1 (1/4) prescaler 2 (1/8) prescaler 3 (1/8) opl note cm2 cm1 internal bus note instruction execution use the opl instruction to set codes in the clock mode registers. fig. 2-11 clock mode register format clock mode register caution when setting codes in the clock mode registers using the opl instruction, be sure to set bit 0 of the accumulator to 0. (bit 0 corresponds to cm0 of the m pd7500 of evakit-7500b in emulation.) cm2 cm1 cm2 cm1 count pulse frequency (cp) 0 0 cl 1 256 0 1 p00 1 0 cl 1 32 1 1 cl 1 4 22 m pd7554a, 7554a(a) 2.11 timer/event counter the timer/event counter is based on an 8-bit count register as shown in fig. 2-12. fig. 2-12 timer/event counter 8-bit count reg timer note reset clr cp 8 tcntam note intt (to test control circuit) note instruction execution internal bus count holding circuit the 8-bit count register is a binary 8-bit up-counter which is incremented whenever a count pulse (cp) is input. the register is cleared to 00h when the timer instruction is executed, reset signal is input, or an overflow occurs (ffh to 00h). as the count pulse, the clock mode register can select one of the following four. see 2.10 clock control circuit . 11 1 cp : cl CC, cl CCC, cl CCCC, p00 4 32 256 the count register continues to be incremented as long as count pulses are input. the timer instruction clears the count register to 00h and triggers the timer operation. the count register is incremented in synchronization with the cp (or the rise of the p00 input when an external clock is used). on the count reaches 256, the register returns the count value to 00h from ffh, generates the overflow signal intt, and sets the intt test flag intt rqf. in this way, the count register counts over from 00h. to recognize the overflow, test the flag intt rqf using the ski instruction. when the timer/event counter serves as a timer, the reference tiome is determined by the cp frequency. the precision is determined by the rc oscillation or cl1 external input frequency when the system clock system is selected and by the p00 input frequency when the p00 input is selected. the content of the count register can be read at any time by the tcntam instruction. this function allows checking the current time of the timer and counting event pulses input to the p00 input. this enables the number of even pulses that have been generated so far (event counter function). the count holding circuit ignores the change of the count pulse (cp) during execution of the tcntam instruction. this is to prevent reading undefined data in the count register using the tcntam instruction while the counter is being updated. since the timer/event counter operates the system clock system (cl) or the p00 input for count pulses, it is used to cancel the halt mode which stops the cpu clock f as well as the stop mode which stops the system clock cl. (see 3 standby functions .) 23 m pd7554a, 7554a(a) 2.12 serial interface the serial interface consists of an 8-bit shift register, 3-bit shift mode register, and 3-bit counter. it is used for input/output of serial data. fig. 2-13 serial interface block diagram int0 p00/int0 p01/sck p02/so p03/si ipl note tsioam note tamsio note lsb 8?it shift reg msb 3?it cnt f rs f/f r s q ints sio note sm3 shift mode reg opl note 48 8 internal bus note instruction execution remarks 1. f indicates the internal clock signal (system clock). 2. sm3 and int0 go to the test control circuit. input/output of serial data is controlled by the serial clock. the highest bit (bit 7) of the shift register is output from the so line at rise of the serial clock (sck pin signal). at its fall, the contents of the shift register is shifted by one bit (bit n -> bit n+1) and data on the si line is loaded to the lowest bit (bit 0) of the shift register. the 3-bit counter (octal counter) counts serial clock pulses. wthenever it counts eight clock pulses (on completion of 1-byte serial data transfer), the counter generates an internal test request signal ints to set the test request flag (int0/s rqf). fig. 2-14 shift timing ints rqf setting timing sck si so di 7 do 7 msb do 6 do 5 do 4 do 3 do 2 do 1 do 0 di 6 di 5 di 4 di 3 di 2 di 1 di 0 lsb remarks 1. di: serial data input 2. do: serial data output 24 m pd7554a, 7554a(a) the serial interface sets serial data for transmission in the shift register using the tamsio instruction and starts the transfer using the sio instruction. to recognize the termination of one-byte transfer, check the test request flag int0/s rqf using the corresponding instruction. the serial interface starts serial data reception, using the sio instruction, checks the termination of one-byte transfer using the instruction, and then receives data from the shift register by executing the tsioam instruction. two types of serial clock sources are available: one is the system clock f and the other is the external clock (sck input). they are selected respectively by bits 2 and 1 (sm2 and sm1) of the shift mode register. when the system clock f is selected and the sio instruction is executed, the clock pulse is supplied to the serial interface as a serial clock to control serial data input/output and is output from the sck pin. when the system clock f pulse is supplied eight times, the supply to the serial interface is automatically stopped and the sck output remains high. since serial data input/output stops automatically after transfer of one byte. the programmer does not need to control the serial clock. in this case, the transfer speed is determined by the system clock frequency. in this mode, it is possible to read receive data (by the tsioam instruction) and write data (by the tamsio instruction) from and to the shift register only by waiting for 6 machine cycles after execution of the sio instrucction on the program without waiting until the int0/s rqf is set. fig. 2-15 tamsio/tsioam instruction execution timing sck sio tamsio tsioam wait (6 machine cycle) instruction execution machine cycle when the external clock (sck input) is selected, the interface inputs serial clock pulses from the sck input. when an external serial clock pulse is input eight times, the int0/s rqf is set and the termination of one-byte transfer can be recognized. however, the eight serial clocks to be input must be counted on the side of the external clock source because serial clock disable control is not performed internally. the transfer speed is determined by the external serial clock within the range from dc to the maximum value limited by the standard. when the external clock is used, the sio, tamsio, or tsioam instruction the execution must be executed while the serial clock pulse sck is high. if such an instruction is executed while the sck is rising or falling or is low, the function of the instruction is not guaranteed. 25 m pd7554a, 7554a(a) fig. 2-16 shift mode register format shift mode register settings for serial interface operation and the associated mode of the port 0 int0/ints selection sm3 test sources 0 ints 1 int0 caution when setting a code in the shift mode register using the opl instruction, be sure to set bit 0 of the accumulator to 0 (bit 0 corresponds to cm0 of the m pd7500h of evakit-7500b in emulation). in the system which does not require serial interface, the 8-bit shift register can be used as a simple register and data can be read or writtene by the tsioam or tamsio instruction when serial operation is off. 2.13 test control circuit the m pd7554a is provided with the following three types of test sources (one external source and two internal sources): the test control circuit checks consist mainly of test request flags (intt rqf and int0/s rqf) which are set by three different test sources and the test request flag control circuit which checks the content of test request flags using the ski instruction and controls resetting the checked flags. the int0 and ints are common in the request flag. which one is selected is determined by bit 3 (sm3) of the shift mode register. sm3 sm2 sm1 sm2 sm1 p03/si p02/so p01/sck serial operation 00 port input port input port input stop 01 f continuous output 10 si input so output sck input operation based on external clock 1 1 sck output ( f 8) operation based on f test sources internal/external request flag intt (overflow from timer/event counter) internal intt rqf int0 (test request signal from p00 pin) external int 0/s rqf ints (transfer end signal from serial interface) internal sm3 test sources 0 ints 1 int0 26 m pd7554a, 7554a(a) the intt rqf is set when a timer overflow occurs and is reset by the ski or timer instruction. the int0/s request flag functions in the following two ways according to the setting of the sm3: (1) sm3 = 0 the ints is validated. the request flag int0/s rqf is set when the ints signal to indicate the termination of 8- bit serial data transfer is issued. the flag is reset when the ski or sio instruction is executed. (2) sm3 = 1 the in0 is validated. the request flag int0/s rqf is set when the leading edge signal enters the int0/p00 pin. the flag is reset when the ski instruction is executed. the or output of each test request flag is used to cancel the standby mode (stop/halt mode). if one or more request flags are set in the standby mode, the standby mode is cancelled. the reset signal cancels every request flag and the sm3. in the reset initial status, the ints is selected and the int0 input is disabled. fig. 2-17 test control circuit block diagram ints test rqf control ski note timer note s r intt rqf q s r int0/s rqf q nonsync edge gate nonsync edge gate sm3 opl note sio note int0 intt standby release internal bus note instruction execution remark sm3 is bit 3 of the shift mode register. 27 m pd7554a, 7554a(a) 3. standby functions the m pd7554a provides two types of standby modes (stop and halt modes) to save power while the program is on standby. the stop and halt modes are set by the stop and halt instructions, respectively. the standby mode halts program execution, however, it holds the contents of all the internal registers and data memory that have been stored. the timer can operate even in the standby mode. the standby mode is canceled when the test request flag (intt rqf or int0/s rqf) is set or by reset input. note that if even one test request flag is set, the device cannot enter either the stop or halt mode even though the stop or halt instruction is executed. before setting the standby mode at a point where a test request flag may be set, execute the ski instruction to reset the test request flag. table 3-1 relates the stop mode to the halt mode. an essential difference between them is found when rc oscillation supplies the system clock: by stopping the oscillation, the cl output stops in the stop mode and does not stop in the halt mode. thus the amount of the power consumption of the rc oscillator equals to the difference in the amounts of the basic power consumption between the stop mode and halt mode. note that the stop mode enables the low supply voltage data to be retained in the data memory. table 3-1 the relation between stop and halt modes 3.1 stop mode the stop mode stops the rc oscillation and 1/2 divider in the system clock generator. therefore, the operations of requiring the system clock stubsystem (cl and f ) such as the cpu are stopped. since the stop mode allows operation of the clock control circuit, the timer can operate if the p00 input is selected as the count pulse (cp). note that the stop mode stops only the f signal, allowing the cl output when system clock generation is not drived by the rc oscillation, but drived by the external cl1 input. in such a case, the stop mode causes the same state as in the case of the halt mode described below. therefore, the stop instruction is effective for setting the stop mode only during rc oscillation. 3.2 halt mode the halt mode stops only the 1/2 divider in the system clock generator (allowing operation of the system clock cl and stopping the cpu clock f ). therefore, the operations of the cpu requiring the f signal is stopped in the halt mode. since the halt mode allows operation of the clock control circuit, the circuit inputs the cl signal from the clock generator and the external count clock (p00) to supply the count pulses (cp) for both subsystems selectively to the timer. thus, the timer can operate depending on the both-system count pulses and continue counting time. setting rc oscillation f p00 cpu timer cancellation factor instruction (cl) stop mode stop s s intt rqf l l int0/s rqf halt mode halt l l l l reset input l l : operation enabled s s : operation enabled depending on mode selection : stop 28 m pd7554a, 7554a(a) 3.3 cancelling the standby mode (1) cancelling the standby mode by test request flag as well as the stop mode and halt mode, the standby mode is canceled when the test request flag (intt rqf or int0/s rqf) is set in the mode. the program starts executing the instruction that follows the halt instruction that follows the stop or halt instruction. cancellation of the halt mode does not affect the content of any register or the data memory, that is retained in the mode. (2) cancelling the standby mode by reset input reset input unconditionally cancels the standby mode as well as nthe stop mode and halt mode. fig. 3-1 shows the standby mode cancel timing. fig. 3-1 standby mode cancel timing by reset input reset stop/halt stop/halt mode operating mode instruction cancellation normal reset operation (starting from address 0) the standby mode is maintained while the reset input is being active (high). when the reset input goes low, the standby mode is cancelled and the cpu starts to execute the program from address 0 after a normal reset operation. note that reset input does not affect the content of the data memory that is retained in the standby mode, however, the contents of the other registers become undefined on cancellation of the mode. 29 m pd7554a, 7554a(a) 4. reset functions the m pd7554a is reset and initialized when the reset pin inputs a high or active reset signal as follows: 4.1 details of initialization (1) the program counter (pc9-pc0) is cleared to zero. (2) the skip flags (sk1 and sk0) in the program status word are reset to zero. (3) the count register in the timer-event counter is cleared to 00h. (4) the clock control circuit becomes as follows: ? clock mode registers (cm2 and cm1) = 0 1 t cp = cl CCCCC 256 ? prescalers 1, 2, and 3 = 0 (5) the shift mode register (sm3 to sm1) is cleared to zero. ? shifting of the serial interface is stopped. ? the port 0 enters the input mode (high impedance). note1 ? int0/s, ints is selected. (6) the test request flag (intt rqf or int0/s rqf) is reset to zero. (7) the contents of the data memory and the following registers become undefined: stack pointer (sp) accumulator (a) carry flag (c) general registers (h and l) output latch of each port (8) the output buffer of every port goes off and has high impedance note2 . the i/o port enters the input mode. note 1. when the pull-up and pull-down resistors are selected using a mask option, the former has high level and the latter has low level. 2. when the pull-up and pull-down resistors are selected in the port 0 using a mask option, the former has high level and the latter has low level. when the pull-up resistor is selected in the ports 10 and 11 using a mask option, the resistor has high level. caution when the standby mode is cancelled by the reset signal, the content of the data memory is retained without becoming undefined. when the reset input is cancelled, the program is executed starting with address 000h. the content of each register shall either be initialized in the process of the program or reinitialized depending on conditions. 30 m pd7554a, 7554a(a) 5. m pd7554a instruction set (1) operand representation and description addr 10-bit immediate data or label caddr 10-bit immediate data or label caddr1 100h to 107h, 140h to 147h, 180h to 187h, ic0h to ic7h immediate data or label mem 6-bit immediate data or label n5 5-bit immediate data or label n4 4-bit immediate data or label n2 2-bit immediate data or label bit 2-bit immediate data or label pr hl-, hl+, hl (2) mnemonics for operation descriptions a : accumulator h : h register l : l register hl : pair register hl pr : pair register hl-, hl+, or hl sp : stack pointer pc : program counter c : carry flag psw : program status word sio : shift register ct : count register in : immediate data to n5, n4 or n2 pn : immediate data to addr, caddr, or caddr1 bn : immediate data to bit dn : immediate data to mem rn : immediate data to pr ( ) : content addressed by h : hexadecimal data 31 m pd7554a, 7554a(a) (3) port/mode register selection ipl instruction l port 0 port 0 ah port 10 bh port 11 opl instruction l port/mode register 8 port 8 ah port 10 bh port 11 ch clock mode register fh shift mode register rpbl/spbl instruction lfhehdhchbhah983210 bit321032103210 port port 11 port 10 port 8 (4) selection of pair register addressing pr r 1 r 0 hlC 0 0 hl+ 0 1 hl 1 0 32 m pd7554a, 7554a(a) accumulator & carry flag manipulation instructions load/store instructions operation instructions mne- ope- operation code operation skip monic rands b1 b2 condition lai n4 0001i 3 i 2 i 1 i 0 a ? n4 loads n4 to the accumulator. stack lai lhi n2 001010i 1 i 0 h ? n2 loads n2 to h register. lam pr 010100r 1 r 0 a ? (pr) pr = hl C, hl +, hl loads the contents of the memory l = fh(hl C) address by pr to the accumulator. l = 0 (hl +) lhli n5 1 1 0 i 4 i 3 i 2 i 1 i 0 h ? 0i 4 , l ? i 3 C 0 loads n5 to the pair register hl. stack lhli st 01010111 (hl) ? a stores the contents of the accumulator in the memory addressed by hl. stii n4 0100i 3 i 2 i 1 i 0 (hl) ? n4, l ? l+1 stores n4 in the memory addressed by hl and increments the l register. xal 01111011 a ? l exchanges the contents of the accumu- lator and the l register. xam pr 010101r 1 r 0 a ? (pr) pr = hl C , hl + , hl exchanges the contents of the accumu- l = fh(hlC) lator and the memory addressed by pr. l = 0 (hl+) aisc n4 0000i 3 i 2 i 1 i 0 a ? a + n4 adds the accumulator to n4. carry asc 01111101 a ? a + (hl) adds the contents of the accumulator carry and the memory addressed by hl. adds the contents of the accumulator, acsc 01111100 a, c ? a + (hl) + c the memory addressed by hl, and of carry the carry flag. calculate the exclusive or of the exl 01111110 a ? a " (hl) contents of the accumulator and the memory addressed by hl. cma 01111111 a ? a CC complements the accumulator. rc 01111000 c ? 0 resets the carry flag. sc 01111001 c ? 1 sets the carry flag. ils 01011001 l ? l + 1 increments the l register. l = 0 idrs mem 0011110100d 5 d 4 d 3 d 2 d 1 d 0 (mem) ? (mem) + 1 increments the contents of the memory (mem) = 0 addressed by mem. dls 01011000 l ? l C 1 decrements the l register. l = fh ddrs mem 0011110000d 5 d 4 d 3 d 2 d 1 d 0 (mem) ? (mem) C 1 decrements the contents of the memory (mem) = fh addressed by mem. rmb bit 011010b 1 b 0 (hl) bit ? 0 resets the bits specified by b 1C0 , of the memory addressed by hl. smb bit 011011b 1 b 0 (hl) bit ? 1 sets the bits specified by b 1C0 , of the memory addressed by hl. increment/decre- ment instructions memory bit manipulation instructions note instruction group note 33 m pd7554a, 7554a(a) mne- ope- operation code operation skip monic rands b1 b2 condition jmp addr 001000p 9 p 8 p 7 p 6 p 5 p 4 p 3 p 2 p 1 p 0 pc 9C0 ? p 9C0 jumps to the address specified by p 9C0 . jcp addr 1 0 p 5 p 4 p 3 p 2 p 1 p 0 pc 5C0 ? p 5C0 jumps to the address specified by replacing pc 5C0 with p 5C0 . (spC1)(spC2)(spC4) ? pc 9C0 saves the contents of pc and psw to the call caddr 001100p 9 p 8 p 7 p 6 p 5 p 4 p 3 p 2 p 1 p 0 (spC3) ? psw, sp ? sp C 4 stacxk memory, decrements sp by 4, and pc 9C0 ? p 9C0 calls the address specified by caddr. (spC1)(spC2)(spC4) ? pc 9C0 saves the contents of pc and psw to the cal caddr1 1 1 1 p 4 p 3 p 2 p 1 p 0 (spC3) ? psw, sp ? sp C 4 stacxk memory, decrements sp by 4, and pc 9C0 ? 0 1 p 4 p 3 0 0 0 p 2 p 1 p 0 calls the address specified by caddr1. rt 01010011 pc 9C0 ? (sp)(sp+2)(sp+3) restores the contents of the stack sp ? sp + 4 memory to pc, and increments sp by 4. pc 9C0 ? (sp)(sp+2)(sp+3) restores the contents of the stack rts 01011011 sp ? sp + 4 memory to pc, increments sp by 4, then skip unconditionally and causes unconditional skipping. transfers the two low-order bits of the tamsp 0011111100110001 pc 5C4 ? a 1C0 accumulator to sp 5C4 and the three high- sp 3C1 ? (hl) 3C1 , sp 0 ? 0 order bits of the memory addressed by hl to sp 3C1 . skc 01011010 skip if c = 1 causes skipping if the carry flag is 1. c = 1 skabt bit 011101b 1 b 0 skip if a bit = 1 causes skipping of the bit of the accumu- a bit = 1 lator, which is specified by b 1-0 is 1. causes skipping of the bit of the memory skmbt bit 011001b 1 b 0 skip if (hl) bit = 1 addressed by hl, which is specified by (hl) bit = 1 b 1C0 is 1. causes skipping of the bit of the memory skmbf bit 011000b 1 b 0 skip if (hl) bit = 0 addressed by hl, which is specified by (hl) bit = 0 b 1C0 is 0. causes skipping if the contents are the skaem 01011111 skip if a = (hl) same between the accumulator and the a = (hl) memory addressed by hl. skaei n4 001111110110i 3 i 2 i 1 i 0 skip if a = n4 skips if the accumulator is equal to n4. a = n4 ski n2 00111101010000i 1 i 0 skip if int rqf = 1 skips if int rqf is 1, and then sets int rqf = 1 then reset int rqf int rqf to 0. note jump instructions subroutine/stack control instructions skip instructions note instruction group uncondition- ally 34 m pd7554a, 7554a(a) mne- ope- operation code operation skip monic rands b1 b2 condition transfers the contents of the accumulator sio 7C4 ? a to the four high-order bits of the shift tamsio 0011111100111110 sio 3C0 ? (hl) register and the contents of the memory addressed by hl to the four low-order bits. transfers the four high-order bits of the tsioam 0011111100111010 a ? sio 7C4 shift register to the accumulator and the (hl) ? sio 3C0 four low-order bits to the memory addressed by hl. sio 0011111100110011 start sio starts shifting. timer 0011111100110010 start timer starts timer operation. transfers the four high-order bits of a ? ct 7C4 the count register to the accumulator tcntam 0011111100111011 (hl) ? ct 3C0 and the four low-order bits to the memory addressed by hl. ipl 01110000 a ? port (l) loads the contents of the port specified by the l register to the accumulator. outputs the contents of the accumu- opl 01110010 port/mode reg. (l) ? a lator to the port specified by the l register or the mode register. rpbl note2 01011100 port bit (l) ? 0 resets the bits of ports 8, 10, and 11, that are specified by the l register. spbl note2 01011101 port bit (l) ? 1 sets the bits of ports 8, 10, and 11, that are specified by the l register. halt 0011111100110110 set halt mode sets the halt mode. stop 0011111100110111 set stop mode sets the stop mode. nop 00000000 no operation performs no operation for one machine cycle. note1 sio control instructions timer control instructions input/output instructions cpu control instructions note 1. instruction group 2. spbl and rpbl are bit-wise set/reset instructions. they perform output to each 4-bit port including the specified bits as well as set and reset operation (they output the contents of the output latch to bits other than the specified bits.). before executing these instructions, int ialize the contents of the output latch using the opl instruction. 35 m pd7554a, 7554a(a) 6. electrical specifications m pd7554a: absolute maximum ratings (t a = 25 c) parameter symbol test conditions rating unit supply voltage v dd C0.3 to +7.0 v except ports 10 and 11 C0.3 to v dd + 0.3 v input voltage v i ports 10 and 11 note 1 C0.3 to v dd + 0.3 v note 2 C0.3 to +11 v except ports 8, 10, 11 C0.3 to v dd + 0.3 v output voltage v o ports 8, 10 and 11 note 1 C0.3 to v dd + 0.3 v note 2 C0.3 to +11 v output current high i oh 1 pin C5 ma all pins in total C15 ma p01, p02 5 ma output current low i ol 1 pin port 8 30 ma others 15 ma all pins in total 100 ma operating temperature t opt C10 to +70 c storage temperature t stg C65 to +150 c power consumption p d t a = 70 c shrink dip 480 mw mini flat 250 note 1. cmos input/output or n-ch open-drain output + pull-up resistor built-in input/output 2. n-ch open-drain input/output caution even if one of the parameters exceeds its absolute maximum rating even momentarily, the quality of the product may be degraded. the absolute maximum rating therefore specifies the upper or lower limit of the value at which the product can be used without physical damages. be sure not to exceed or fall below this value when using the product. h 36 m pd7554a, 7554a(a) m pd7554a(a): absolute maximum ratings (t a = 25 c) parameter symbol test conditions rating unit supply voltage v dd C0.3 to +7.0 v except ports 10 and 11 C0.3 to v dd + 0.3 v input voltage v i ports 10 and 11 note 1 C0.3 to v dd + 0.3 v note 2 C0.3 to +11 v except ports 8, 10, 11 C0.3 to v dd + 0.3 v output voltage v o ports 8, 10 and 11 note 1 C0.3 to v dd + 0.3 v note 2 C0.3 to +11 v output current high i oh 1 pin C5 ma all pins in total C15 ma p01, p02 5 ma output current low i ol 1 pin port 8 30 ma others 15 ma all pins in total 100 ma operating temperature t opt C40 to +85 c storage temperature t stg C65 to +150 c power consumption p d t a = 85 c shrink dip 350 mw mini flat 195 note 1. cmos input/output or n-ch open-drain output + pull-up resistor built-in input/output 2. n-ch open-drain input/output caution even if one of the parameters exceeds its absolute maximum rating even momentarily, the quality of the product may be degraded. the absolute maximum rating therefore specifies the upper or lower limit of the value at which the product can be used without physical damages. be sure not to exceed or fall below this value when using the product. capacity (t a = 25 c, v dd = 0 v) parameter symbol test conditions min. typ. max. unit input capacity c in p00, p03 15 pf output capacity c out port 8 35 pf i/o capacity c io p01, p02 15 pf ports 10 and 11 35 pf f = 1 mhz unmeasured pins returned to 0 v. 37 m pd7554a, 7554a(a) resonator characteristics m pd7554a : t a = C10 to +70 c, v dd = 2.7 to 6.0 v m pd7554a(a) : t a = C40 to +85 c, v dd = 2.7 to 6.0 v parameter symbol test conditions min. typ. max. unit v dd = 5 v 10% 400 500 600 khz f cc r = 56 k w 2 % v dd = 3 v 10% 200 250 300 khz r = 100 k w 2% f c duty = 50% v dd = 4.5 to 6.0 v 10 710 khz 10 350 khz t cr , t cf 0.2 m s t ch , t cl v dd = 4.5 to 6.0 v 0.7 50 m s 1.45 50 m s resonator characteristics (t a = C10 to +70 c, v dd = 2.5 to 3.3 v) note parameter symbol test conditions min. typ. max. unit f cc r = 150 k w 2% 140 180 220 khz r = 150 k w 2% 140 175 210 khz v dd = 2.5 v system clock input f c duty = 50 % 10 250 khz frequency (cl1) cl1 input rising t cr , t cf 0.2 m s and falling time cl1 input high/low t ch , t cl 250 m s level duration resonator characteristics (t a = C10 to +70 c, v dd = 2.0 to 3.3 v) note parameter symbol test conditions min. typ. max. unit f cc r = 240 k w 2% 65 120 145 khz r = 240 k w 2% 65 100 130 khz v dd = 2.0 v system clock input f c duty = 50 % 10 150 khz frequency (cl1) cl1 input rising t cr , t cf 0.2 m s and falling time cl1 input high/low t ch , t cl 3.3 50 m s level duration note m pd7554a only the following circuits are recommended: rc oscillation external clock cl1 cl2 pd7554a m cl1 cl2 pd7554a m r cmos leave open system clock oscilla- tor frequency (cl1 and cl2) system clock oscilla- tor frequency (cl1 and cl2) system clock oscilla- tor frequency (cl1 and cl2) system clock input fre- quency (cl1) cl1 input rising and falling time cl1 input high/low level duration 38 m pd7554a, 7554a(a) dc characteristics m pd7554a : t a = C10 to +70 c, v dd = 2.7 to 6.0 v m pd7554a(a) : t a = C40 to +85 c, v dd = 2.7 to 6.0 v parameter symbol test conditions min. typ. max. unit v ih1 except cl1 0.7v dd v dd v input voltage high v ih2 cl1 v dd C 0.5 v dd v v ih3 ports 10 and 11 note1 0.7v dd 9v input voltage low v il1 except cl1 0 0.3v dd v v il2 cl1 0 0.5 v v dd = 4.5 to 6.0 v v dd C 2.0 v output voltage high v oh i oh = C1 ma i oh = C100 m av dd C 1.0 v v dd = 4.5 to 6.0 v 0.4 v p01, p02 i ol = 1.6 ma i ol = 400 m a 0.5 v v dd = 4.5 to 6.0 v 0.4 v i ol = 1.6 ma output voltage low v ol ports 10 and 11 v dd = 4.5 to 6.0 v 2.0 v i ol = 10 ma i ol = 400 m a 0.5 v v dd = 4.5 to 6.0 v 2.0 v port 8 i ol = 15 ma i ol = 600 m a 0.5 v i lih1 v in = v dd except cl1 3 m a input leak current high i lih2 cl1 10 m a i lih3 v in = 9 v, ports 10 and 11 note1 10 m a input leak current low i lil1 v in = 0 v except cl1 C3 m a i lil2 cl1 C10 m a output leak current high i loh1 v out = v dd 3 m a i loh2 v out = 9 v, ports 8, 10, and 11 note1 10 m a output leak current low i lol v out = 0 v C3 m a input pin built-in resistor port 0, reset 23.5 47 70.5 k w (pull-up/down resistor) output pin built-in resistor ports 10 and 11 7.5 15 22.5 k w (pull-up resistor) v dd = 5 v 10 % 270 900 m a i dd1 operating mode r = 56 k w 2 % v dd = 3 v 10 % 80 240 m a r = 100 k w 2 % supply current note2 v dd = 5 v 10 % 120 400 m a i dd2 halt mode r = 56 k w 2 % v dd = 3 v 10 % 35 110 m a r = 100 k w 2 % i dd3 stop mode v dd = 5 v 10 % 0.1 10 m a v dd = 3 v 10 % 0.1 5 m a note 1. for n-ch open-drain input/output selection 2. the current flowing in built-in pull-up and pull-down resistors is excluded. 39 m pd7554a, 7554a(a) ac characteristics m pd7554a : t a = C10 to +70 c, v dd = 2.7 to 6.0 v m pd7554a(a) : t a = C40 to +85 c, v dd = 2.7 to 6.0 v parameter symbol test conditions min. typ. max. unit internal clock cycle time t cy note v dd = 4.5 to 6.0 v 2.8 200 m s 5.7 200 m s p00 event input frequency f po duty = 50% v dd = 4.5 to 6.0 v 0 710 khz 0 350 khz p00 input rise/fall time t por , t pof 0.2 m s t poh , t pol v dd = 4.5 to 6.0 v 0.7 m s 1.45 m s input v dd = 4.5 to 6.0 v 2.0 m s sck cycle time t kcy output 2.5 m s input 5.0 m s output 5.7 m s input v dd = 4.5 to 6.0 v 1.0 m s sck high/low level width t kh , t kl output 1.25 m s input 2.5 m s output 2.85 m s si setup time (to sck - )t sik 100 ns si hold time (from sck - )t ksi 100 ns sck ? so output delay time t kso v dd = 4.5 to 6.0 v 850 ns 1200 ns int0 high/low level width t ioh , t iol 10 m s reset high/low level t rsh , t rsl 10 m s width note t cy = 2/f cc or 2/f c ac timing test point (except cl1 input) 0.7 v dd 0.3 v dd 0.7 v dd 0.3 v dd test points p00 input high/low level width 40 m pd7554a, 7554a(a) dc characteristics (t a = C10 to +70 c, v dd = 2.5 to 3.3 v) note1 parameter symbol test conditions min. typ. max. unit v ih1 except cl1 0.8 v dd v dd v input voltage high v ih2 cl1 v dd C 0.3 v dd v v ih3 ports 10 and 11 note2 0.8 v dd 9v v il1 except cl1 0 0.2v dd v input voltage low v il2 cl1 0 0.3 v v il3 ports 10 and 11 0 0.2v dd v output voltage high v oh i oh = C80 m av dd C 1.0 v p01, p02 i ol = 350 m a 0.5 v output voltage low v ol ports 10 and 11 i ol = 350 m a 0.5 v port 8 i ol = 500 m a 0.5 v i lih1 v in = v dd except cl1 3 m a input leak current high i lih2 cl1 10 m a i lih3 v in = 9 v, ports 10 and 11 note2 10 m a input leak current low i lil1 v in = 0 v except cl1 C3 m a i lil2 cl1 C10 m a output leak current high i loh1 v out = v dd 3 m a iloh2 v out = 9 v, ports 8, 10, and 11 note2 10 m a output leak current low i lol v out = 0 v C3 m a input pin built-in resistor port 0, reset 23.5 47 70.5 k w (pull-up/down resistor) output pin built-in resistor ports 10 and 11 7.5 15 22.5 k w (pull-up resistor) i dd1 v dd = 3 v 10% 55 180 m a v dd = 2.5 v 40 150 m a supply current note3 i dd2 halt mode v dd = 3 v 10% 25 80 m a v dd = 2.5 v 18 60 m a i dd3 stop mode 0.1 5 m a note 1. m pd7554a only 2. for n-ch open-drain input/output selection 3. the current flowing in built-in pull-up and pull-down resistors is excluded. r = 150 k w 2% operating mode 41 m pd7554a, 7554a(a) ac characteristics (t a = C10 to +70 c, v dd = 2.5 to 3.3 v) note1 parameter symbol test conditions min. typ. max. unit internal clock cycle time t cy note2 8.0 200 m s p00 event input frequency f po 0 250 khz p00 input rise/fall time t por , t pof 0.2 m s p00 input high/low level t poh , t pol 2.0 m s width sck cycle time t kcy input 8.0 m s output 10.0 m s sck high/low level width t kh , t kl input 4.0 m s output 5.0 m s si setup time (to sck - )t sik 300 ns si hold time (from sck - )t ksi 300 ns sck ? so output delay time t kso c l = 100 pf 2000 ns int0 high/low level width t ioh , t iol 30 m s reset high/low level t rsh , t rsl 30 m s width note 1. m pd7554a only 2. t cy = 2/f cc or 2/f c ac timing test point (except cl1 input) 0.8 v dd 0.2 v dd 0.8 v dd 0.2 v dd test points 42 m pd7554a, 7554a(a) dc characteristics (t a = C10 to +70 c, v dd = 2.0 to 3.3 v) note1 parameter symbol test conditions min. typ. max. unit v ih1 except cl1 0.85v dd v dd v input voltage high v ih2 cl1 v dd C 0.2 v dd v v ih3 ports 10 and 11 note2 0.85v dd 9v v il1 except cl1 0 0.15v dd v input voltage low v il2 cl1 0 0.2 v v il3 ports 10 and 11 0 0.2v dd v output voltage high v oh i oh = C70 m av dd C 1.0 v p01, p02 i ol = 270 m a 0.5 v output voltage low v ol ports 10 and 11 i ol = 300 m a 0.5 v port 8 i ol = 400 m a 0.5 v i lih1 v in = v dd except cl1 3 m a input leak current high i lih2 cl1 10 m a i lih3 v in = 9 v, ports 10 and 11 note2 10 m a input leak current low i lil1 v in = 0 v except cl1 C3 m a i lil2 cl1 C10 m a output leak current high i loh1 v out = v dd 3 m a i loh2 v out = 9 v, ports 8, 10, and 11 note2 10 m a output leak current low i lol v out = 0 v C3 m a input pin built-in resistor port 0, reset 23.5 47 70.5 k w (pull-up/ down resistor) output pin built-in resistor ports 10 and 11 7.5 15 22.5 k w (pull-up resistor) i dd1 v dd = 3 v 10% 38 130 m a v dd = 2.0 v 20 70 m a supply current note3 i dd2 halt mode v dd = 3 v 10% 17 60 m a v dd = 2.0 v 8 25 m a i dd3 stop mode 0.1 5 m a note 1. m pd7554a only 2. for n-ch open-drain input/output selection 3. the current flowing in built-in pull-up and pull-down resistors is excluded. r = 240 k w 2% operating mode 43 m pd7554a, 7554a(a) ac characteristics (t a = C10 to +70 c, v dd = 2.0 to 3.3 v) note1 parameter symbol test conditions min. typ. max. unit internal clock cycle time t cy note2 13.4 200 m s p00 event input frequency f po 0 150 khz p00 input rise/fall time t por , t pof 0.2 m s p00 input high/low level t poh , t pol 3.3 m s width sck cycle time t kcy input 13.4 m s output 16.6 m s sck high/low level width t kh , t kl input 6.7 m s output 8.3 m s si setup time (to sck - )t sik 500 ns si hold time (to sck - )t ksi 500 ns sck ? so output delay time t kso c l = 100 pf 3500 ns int0 high/low level width t ioh , t iol 50 m s reset high/low level t rsh , t rsl 50 m s width note 1. m pd7554a only 2. t cy = 2/f cc or 2/f c ac timing test point (except cl1 input) 0.85 v dd 0.15 v dd 0.85 v dd 0.15 v dd test points 44 m pd7554a, 7554a(a) characteristics of data memory data retention at low supply voltage in stop mode m pd7554a : t a = C10 to +70 c m pd7554a(a) : t a = C40 to +85 c parameter symbol test conditions min. typ. max. unit data retention supply voltage v dddr 2.0 6.0 v data retention supply current i dddr v dddr = 2.0 v 0.1 5 m a data retention high reset v ihdr 0.9 v dddr v dddr +0.2 v input voltage reset setup time t srs 0 m s reset hold time t hrs 0 m s data retention timing 1 3 2 4 2 4 v dd reset stop instruction execution stop t srs t hrs data retention mode operating mode 1 v dddr 2 v ih1 3 v ihdr 4 il 1 caution in the data retention mode, every input must be below v dddr . 45 m pd7554a, 7554a(a) clock timing 1/f p0 t pol t poh p00 input t por t pof 1/f c t cl t ch cl1 input t cr t cf serial transfer timing t kcy t kl t kh sck t sik t ksi t kso si so output data input data 46 m pd7554a, 7554a(a) test input timing t iol t ioh int0 reset input timing t rsl t rsh reset 47 m pd7554a, 7554a(a) 7. characteristic curves h h h t 1 t 2 cl1 t 1 >t 2 : f c = 1 2t 2 t 1 49 m pd7554a, 7554a(a) h v dd =5.0v v dd =2.5v v dd =2.0v f cc vs. r characteristics example (reference value) (t a =25?) clock oscillation frequency f cc [khz] 1000 800 600 400 200 90 70 50 30 10 note external resistor value [k w ] 10 30 50 70 90 200 400 600 800 1000 cl1 cl2 r 1 10 50 100 500 i dd vs. v dd characteristic example (reference value) 0123456 r = 56 k w operation r = 56 k w , halt note r = 100 k w operation r = 150 k w operation r = 100 k w , halt note r = 150 k w , halt note supply current i dd (a) m supply voltage v dd [v] 1000 (t a = 25 ?) note m pd7554a only 50 m pd7554a, 7554a(a) caution the absolute maximum rating is 30 ma per pin. caution the absolute maximum rating is 15 ma per pin. . caution the absolute maximum rating is -5 ma per pin. note m pd7554a only 0123456 0 5 10 15 20 25 30 v dd = 2.5 v note (t a = 25 ?) 0123456 0 5 10 15 20 25 30 v dd = 2.5 v note (t a = 25 ?) 0123456 0 ? ? ? ? ? v dd = 2.5 v note (t a = 25 ?) v dd = 3 v v dd = 3 v v dd = 5 v v dd = 5 v v dd = 3 v v dd = 5 v i ol vs. v ol characteristic example (port 8) (reference value) output current low i ol [ma] output voltage low v ol [v] i ol vs. v ol characteristic example (port 10, 11) (reference value) output current low i ol [ma] output voltage low v ol [v] i oh vs. v oh characteristic example (reference value) output current high i oh [ma] v dd ?v oh [v] 51 m pd7554a, 7554a(a) 8. m pd7554a applied circuits (1) tape counter (vtr, deck) pcl sck so si pd75008 m pd75108 m cl1 sck si so reset p00/int0 p113 p100 ~ p112 p83 p82 p81 p80 pa80c m 7-se g ment led up/down signal mechanical control microcomputer tape counter microcomputer pd7554a m count pulse driver etc. (2) remote control reception + key entry + led display pd7554a m pcl sck so si pd75008 m pd75108 m pcl sck so si p110 p111 p112 cmos output p113 reset p80 p81 p82 p83 p100 p101 p102 p103 p00 pc2800aha(ms) etc. m led 12 pa80c m driver (chip selector transfer request) open-drain output on-chip pull-up resistor input key input 4 4 master microcomputer etc. remote control signal amplifier circuit 52 m pd7554a, 7554a(a) 9. package information drawings of mass-production product packages (1/2) caution dimentions of es products are different from those of mass-production products. refer to drawings of es product packages (1/2). h 53 m pd7554a, 7554a(a) drawings of mass-production product packages (2/2) 20 pin plastic sop (300 mil) item millimeters inches a b c e f g h i j 13.00 max. 1.27 (t.p.) 1.8 max. 1.55 7.7?.3 0.78 max. 0.12 1.1 5.6 m 0.1?.1 n 0.512 max. 0.031 max. 0.004?.004 0.071 max. 0.061 0.303?.012 0.220 0.043 0.005 0.050 (t.p.) p20gm-50-300b, c-4 p3 3 +7 note each lead centerline is located within 0.12 mm (0.005 inch) of its true position (t.p.) at maximum material condition. d 0.40 0.016 +0.10 ?.05 k 0.20 0.008 +0.10 ?.05 l 0.6?.2 0.024 0.10 ? +7 ? 0.004 +0.008 ?.009 +0.004 ?.002 +0.004 ?.003 a c d g p detail of lead end f e b h i l k m j n m 110 11 20 caution dimentions and materials of es products are different from those of mass-production products. refer to drawings of es product packages (2/2). h 54 m pd7554a, 7554a(a) drawings of es product packages (1/2) 20 pin shrink dip for es (reference) (unit: mm) 55 m pd7554a, 7554a(a) drawings of es product packages (2/2) 20 pin ceramic sop for es (reference) (unit: mm) 56 m pd7554a, 7554a(a) 10. recommended packaging pattern of plastic sop (reference) (unit: mm) 7.62 1.27 0.76 0.51 1.27 ? this recommended pattern conforms to the general rules for integrated citrcuit outer shape (ic-74-2) specified by the electronic industries association of japan (eiaj). ? the above pattern dimensions are applicable to all the products designated as eiaj flat dip (mini flat) of form a 300 mil type. ? if there is any possibility of causing a solder bridge, adjust the width (0.76) of each pad while maintaining the same length (1.27). 57 m pd7554a, 7554a(a) 11. recommended soldering conditions solder m pd7554a on the following recommended conditions. for details of recommended soldering conditions, refer to the information document semiconductor device mounting technology manual (iei-1207). for details on the soldering method and soldering conditions other than the recommended conditions, call the nec salesman. table 11-1 surface mounting type soldering conditions m pd7554ag- : 20-pin plastic sop (300 mil) m pd7554ag(a)- : 20-pin plastic sop (300 mil) soldering method soldering conditions recommended condition symbol infrared reflow ir30-00-1 vps vp15-00-1 wave soldering ws60-00-1 pin part heating pin temperature: 300 c or below, duration: 3 sec. max. (per device side) CC caution use of more than one soldering method should be avoided (except in the case of pin part heating). table 11-2 insertion type soldering conditions m pd7554acs- : 20-pin plastic shrink dip (300 mil) m pd7554acs(a)- : 20-pin plastic shrink dip (300 mil) soldering method soldering conditions wave soldering solder bath temperatures: 260 c or below, duration: 10 sec. max. (pin only) pin part heating pin temperature: 300 c or below, duration: 3 sec. max. (per pin) caution ensure that the application of wave soldering is limited to the pins and no solder touches the main unit directly. h package peak temperature: 230 c, duration: 30 sec. max. (at 210 c or above), number of times: once package peak temperature: 215 c, duration: 40 sec. max. (at 200 c or above), number of times: once solder bath temperature: 260 c or below, duration: 10 sec. max., number of times: once, preparatory heating tempererature: 120 c max. (package surface temperature) m pd7554a, 7554a(a) product name m pd7554 m pd75p54 m pd7554a m pd7554a(a) m pd7564 m pd75p64 m pd7564a m pd7564a(a) item rc 4 m s/500 khz C instruction cycle/ outside 2.86 m s/700 khz C system clock (5 v) ceramic C 2.86 m s/700 khz instruction set 47 types (set b) rom 1024 8 ram 64 4 total 16 15 port 0 p00-p03 port 8 p80-p82, p83 (cl2) p80-p82 i/o ports withstand voltage 12 v 9 v 12 v 9 v port 10 and 11 p100-p103, p110-p113 withstand voltage 12 v 9 v 12 v 9 v timer/event counter 8 bits serial interface 4 channels supply voltage range 2.5-6.0 v 4.5-6.0 v 2.0-6.0 v 2.7-6.0 v 2.7-6.0 v 4.5-6.0 v 2.7-6.0 v 2.7-6.0 v package 20-pin plastic shrink dip 20-pin plastic sop h appendix a. comparison between series products functions C C C C CC C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C CC C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C 58 59 m pd7554a, 7554a(a) appendix b. development tools the following development tools are available for developing systems that use m pd7554a. language processor host machine os supply medium ordering code (product name) ms-dos? 3.5-inch 2hd m s5a13as7554 pc-9800 series (ver.3.10 to ver.5.00a note ) 5-inch 2hd m s5a10as7554 ibm pc/at? pc dos? 5-inch 2hc m s7b10as7554 (ver. 3.1) prom write tools note a task swap function is provided in ver. 5.00/5.00a, but the task swap function cannot be used with this software. remark operation of the assembler and pg-1500 controller is only guaranteed on the host machines and oss shown above. m pd7550/7560 series absolute assembler prom programmer which allows programming of single-chip microcomputer with typical prom of 256k to 4m bits by stand-alone or from a host machine by connecting the accessory board and optional programmer adapter. m pd75p54/75p64 prom programmer adapter. used by connecting it to the pg-1500. connects the pg-1500 and host machine by serial and parallel interface and controls the pg-1500 on the host machine. hardware pg-1500 pa-75p54cs ordering code host machine os supply medium (product name) ms-dos 3.5-inch 2hd m s5a13pg1500 pc-9800 series (ver.3.10 to ver.5.00a note ) ibm pc/at pc dos 5-inch 2hc m s7b10pg1500 (ver.3.1) 5-inch 2hd m s5a10pg1500 software pg-1500 controller 60 m pd7554a, 7554a(a) debugging tools note a task swap function is provided in ver. 5.00/5.00a, but the task swap function cannot be used with this software. caution it is not possible to internally mount a pull-up resistor in a port in the evakit-7500b. when evaluating, arrange to have a pull-up resistor mounted in the user system. remark operation of the assembler and pg-1500 controller is only guaranteed on the host machines and oss shown above. evakit-7500b is an evaluation board that can be used for m pd7500 series models. for m pd7544a, evakit-7500b and option board ev-7554a are combined and used for system development. evakit-7500b can operate alone. evakit-7500b has a built-in serial interface on the board, so it enables debugging when it is connected to a tty, typuter, or rs- 232-c console. evakit-7500b works as is a real-time tracer and traces state of the program counter and output port in real time. evakit-7500b has a built-in prom writer and improves debugging efficiency considerably. ev-7554a is an adapter board which is connected to evakit-7500b and evaluates m pd7554a. se-7554a is a simulation board that has the programs developed by evakit-7500b. se-7554a evaluates a system in place of m pd7554a. evakit-7500 control program connects evakit-7500b and the host machine with rc-232-c and controls evakit-7500b on the host machine. hardware ev-7554a se-7554a evakit-7500b software ordering code host machine os supply medium (product name) pc-9800 ms-dos 3.5-inch 2hd m s5a13ev7500-p01 series (ver.3.10 to ver.5.00a note ) ibm pc pc dos 5-inch 2hc m s7b11ev7500-p01 series (ver.3.1) 5-inch 2hd m s5a10ev7500-p01 evakit-7500 control program (evakit controller) h 61 m pd7554a, 7554a(a) appendix c. related documents document related to device document name document no. user's manual ieu-1111d m pd7500-series selection guide if-1027g document related to development tool document name document no. evakit-7500b user's manual eeu-1017c hardware ev-7554a user's manual eeu-1034a pg-1500 user's manual eeu-1335b m pd7550, 7560-series absolute assembler user's manual eem-1006 software evakit-7500 control program user's manual ms-dos base eem-1356 pc dos base eem-1049 pg-1500 controller user's manual eeu-1291b other related document document name document no. package manual iei-1213 semiconductor device mounting technology manual iei-1207 quality grade on nec semiconductor devices iei-1209a nec semiconductor device reliability/quality control system iei-1203a static electricity discharge (esd) test iei-1201 semiconductor device quality guarantee guide mei-1202 microcomputer-related product guide-third party product note remark these documents above are subject to change without notice. be sure to use the latest document for designing. note to be published. h 62 m pd7554a, 7554a(a) [memo] 63 m pd7554a, 7554a(a) notes for cmos devices 1 precaution against esd for semiconductors note: strong electric field, when exposed to a mos device, can cause destruction of the gate oxide and ultimately degrade the device operation. steps must be taken to stop generation of static electricity as much as possible, and quickly dissipate it once, when it has occurred. environmental control must be adequate. when it is dry, humidifier should be used. it is recommended to avoid using insulators that easily build static electricity. semiconductor devices must be stored and transported in an anti-static container, static shielding bag or conductive material. all test and measurement tools including work bench and floor should be grounded. the operator should be grounded using wrist strap. semiconductor devices must not be touched with bare hands. similar precautions need to be taken for pw boards with semiconductor devices on it. 2 handling of unused input pins for cmos note: no connection for cmos device inputs can be cause of malfunction. if no connection is provided to the input pins, it is possible that an internal input level may be generated due to noise, etc., hence causing malfunction. cmos device behave differently than bipolar or nmos devices. input levels of cmos devices must be fixed high or low by using a pull-up or pull-down circuitry. each unused pin should be connected to v dd or gnd with a resistor, if it is considered to have a possibility of being an output pin. all handling related to the unused pins must be judged device by device and related specifications governing the devices. 3 status before initialization of mos devices note: power-on does not necessarily define initial status of mos device. production process of mos does not define the initial operation status of the device. immediately after the power source is turned on, the devices with reset function have not yet been initialized. hence, power-on does not guarantee out-pin levels, i/o settings or contents of registers. device is not initialized until the reset signal is received. reset operation must be executed immedi- ately after power-on for devices having reset function. m pd7554a, 7554a(a) m4 92.6 [memo] ms-dos is a trademark of microsoft corporation. pc dos and pc/at are trademarks of ibm corporation. no part of this document may be copied or reproduced in any form or by any means without the prior written consent of nec corporation. nec corporation assumes no responsibility for any errors which may appear in this document. nec corporation does not assume any liability for infringement of patents, copyrights or other intellectual property rights of third parties by or arising from use of a device described herein or any other liability arising from use of such device. no license, either express, implied or otherwise, is granted under any patents, copyrights or other intellectual property rights of nec corporation or others. the devices listed in this document are not suitable for use in aerospace equipment, submarine cables, nuclear reactor control systems and life support systems. if customers intend to use nec devices for above applications or they intend to use "standard" quality grade nec devices for applications not intended by nec, please contact our sales people in advance. application examples recommended by nec corporation standard : computer, office equipment, communication equipment, test and measurement equipment, machine tools, industrial robots, audio and visual equipment, other consumer products, etc. special : automotive and transportation equipment, traffic control systems, antidisaster systems, anticrime systems, etc. the application circuits and their parameters are for references only and are not intended for use in actual design-in's. |
Price & Availability of UPD7554AGA-XXX
![]() |
|
|
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] |