Oki MSM80C154S manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Oki MSM80C154S, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Oki MSM80C154S one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Oki MSM80C154S. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Oki MSM80C154S should contain:
- informations concerning technical data of Oki MSM80C154S
- name of the manufacturer and a year of construction of the Oki MSM80C154S item
- rules of operation, control and maintenance of the Oki MSM80C154S item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Oki MSM80C154S alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Oki MSM80C154S, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Oki service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Oki MSM80C154S.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Oki MSM80C154S item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    259 MSM80C154S/83C154S ¡ Semiconductor GENERAL DESCRIPTION The MSM80C154S/MSM83C154S, designed for the high speed version of the existing MSM80C154/MSM83C154, is a higher performance 8-bit microcontroller providing low-power consumption. The MSM80C154S/MSM83C154S covers the functions and operating range of the existing MSM80C154/83C154/80C51F/80C3[...]

  • Page 2

    260 ¡ Semiconductor MSM80C154S/83C154S • Package options 40-pin plastic DIP (DIP40-P-600-2.54) : (Product name: MSM80C154SRS/ MSM83C154S-xxxRS) 44-pin plastic QFP (QFP44-P-910-0.80-2K) : (Product name: MSM80C154SGS-2K/ MSM83C154S-xxxGS-2K) 44-pin QFJ (QFJ44-P-S650-1.27) : (Product name: MSM80C154SJS/ MSM83C154S -xxx JS) 44-pin TQFP (TQFP44-P-101[...]

  • Page 3

    261 MSM80C154S/83C154S ¡ Semiconductor T2CON PCH CONTROL SIGNAL SPECIAL FUNCTION REGISTER ADDRESS DECODER PLA IR AIR C-ROM TR1 TR2 ACC ALU BR PSW RAMDP R/W AMP RAM 256 WORDS x 8BITS TH2 RCAP2H RCAP2L DPH PCL SP ROM 16K WORDS x 8BITS SENSE AMP DPL PCLL PORT 2 PORT 0 PCON IOCON OSC and TIMING PORT 1 PORT 3 P2.0 P2.7 P0.0 P0.7 P1.0 P1.7 P3.0 P3.7 XTA[...]

  • Page 4

    262 ¡ Semiconductor MSM80C154S/83C154S PIN CONFIGURATION (TOP VIEW) 20 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 V SS P1.0/T2 P1.1/T2EX P1.2 P1.3 P1.4 P1.5 P1.6 P1.7 RESET P3.0/RXD P3.1/TXD P3.2/ INT0 P3.3/ INT1 P3.4/T0 P3.5/T1/HPDI P3.6/ WR P3.7/ RD XTAL2 XTAL1 P2.0 V CC P0.0 P0.1 P0.2 P0.3 P0.4 P0.5 P0.6 P0.7 EA ALE PSEN P2.7 P2.6 P2.5 P2.[...]

  • Page 5

    263 MSM80C154S/83C154S ¡ Semiconductor 33 32 31 30 29 28 27 26 25 24 23 1 2 3 4 5 6 7 8 9 10 11 P1.5 P1.6 P1.7 RESET P3.0/RXD NC P3.1/TXD P3.2/INT0 P3.3/INT1 P3.4/T0 P3.5/T1/HPDI P0.4 P0.5 P0.6 P0.7 EA NC ALE PSEN P2.7 P2.6 P2.5 44 43 42 41 40 39 38 37 36 35 34 P1.4 P1.3 P1.2 P1.1 P1.0 NC V CC P0.0 P0.1 P0.2 P0.3 12 13 14 15 16 17 18 19 20 21 22 P[...]

  • Page 6

    264 ¡ Semiconductor MSM80C154S/83C154S 33 32 31 30 29 28 27 26 25 24 23 1 2 3 4 5 6 7 8 9 10 11 P1.5 P1.6 P1.7 RESET P3.0/RXD NC P3.1/TXD P3.2/INT0 P3.3/INT1 P3.4/T0 P3.5/T1/HPDI P0.4 P0.5 P0.6 P0.7 EA NC ALE PSEN P2.7 P2.6 P2.5 44 43 42 41 40 39 38 37 36 35 34 P1.4 P1.3 P1.2 P1.1 P1.0 NC V CC P0.0 P0.1 P0.2 P0.3 12 13 14 15 16 17 18 19 20 21 22 P[...]

  • Page 7

    265 MSM80C154S/83C154S ¡ Semiconductor PIN CONFIGURATION (Continued) NC : No-connection pin 44-Pin Plastic QFJ P0.3 P0.2 P0.1 P0.0 V CC NC P1.0/T2 P1.1/T2EX P1.2 P1.3 P1.4 P2.3 P2.2 P2.1 P2.0 NC V SS XTAL1 XTAL2 P3.7/ RD P3.6/ WR P1.5 P1.6 P1.7 RESET P3.0/RXD NC P3.1/TXD P3.2/ INT0 P3.3/ INT1 P3.4/T0 P0.5 P0.6 P0.7 EA NC ALE PSEN P2.7 P2.6 P2.5 P0[...]

  • Page 8

    266 ¡ Semiconductor MSM80C154S/83C154S P0.0 to P0.7 P1.0 to P1.7 P2.0 to P2.7 P3.0 to P3.7 ALE PSEN EA Symbol Descriptipn Bidirectional I/O ports. They are also the data/address bus (input/output of data and output of lower 8-bit address when external memory is accessed). They are open-drain outputs when used as I/O ports, but 3-state outputs when[...]

  • Page 9

    267 MSM80C154S/83C154S ¡ Semiconductor PIN Descriptions (Continued) RESET Symbol Descriptipn XTAL1 XTAL2 V CC V SS If this pin remains "H" for at least one machine cycle, the MSM80C154S/MSM83C154S is reset. Since this pin is pulled down internally, a power-on reset is achieved by simply connecting a capacitor between V CC and this pin. O[...]

  • Page 10

    268 ¡ Semiconductor MSM80C154S/83C154S REGISTERS Diagram of Special Function Registers REGISTER NAME BIT ADDRESS DIRECT ADDRESS b7 b5 b4 b3 b2 b1 b0 b6 IOCON B ACC PSW TH2 TL2 RCAP2H RCAP2L T2CON IP P3 IE P2 SBUF SCON P1 TH1 TH0 TL1 TL0 TMOD TCON PCON DPH DPL SP P0 FF F7 E7 D7 CF BF B7 AF A7 9F 97 8F 87 FE F6 E6 D6 CE BE B6 AE A6 9E 96 8E 86 FD F5[...]

  • Page 11

    269 MSM80C154S/83C154S ¡ Semiconductor Timer/counter 0 mode setting NAME ADDRESS MSB LSB 76543210 BIT LOCATION FLAG FUNCTION TMOD 89H GATE C/ T M1 M0 GATE C/ T M1 M0 TMOD.0 M0 M1 M0 8-bit timer/counter with 5-bit prescalar. 00 16-bit timer/counter. 01 8-bit timer/counter with 8-bit auto reloading. 10 Timer/counter 0 separated into TLO (8-bit) time[...]

  • Page 12

    270 ¡ Semiconductor MSM80C154S/83C154S Power control register (PCON) IDLE mode is set when this bit is set to "1". CPU operations are stopped when IDLE mode is set, but XTAL1•2, timer/counters 0, 1 and 2, the interrupt circuits, and the serial port remain active. IDLE mode is cancelled when the CPU is reset or when an interrupt is gene[...]

  • Page 13

    271 MSM80C154S/83C154S ¡ Semiconductor External interrupt 0 signal is used in level-detect mode when this bit is "0" and in trigger detect mode when "1". NAME ADDRESS MSB LSB 76543210 BIT LOCATION FLAG FUNCTION TCON 88H TF1 TR1 TF0 TR0 IE1 IT1 IE0 IT0 TCON.0 IT0 Interrupt request flag for external interrupt 0. The bit is reset [...]

  • Page 14

    272 ¡ Semiconductor MSM80C154S/83C154S "End of serial port reception" interrupt request flag. This flag must be reset by software during interrupt service routine. This flag is set after the eighth bit of data has been received when in mode 0, or by the STOP bit when in any other mode. In mode 2 or 3, however, RI is not set if the RB8 da[...]

  • Page 15

    273 MSM80C154S/83C154S ¡ Semiconductor Interrupt control bit for external interrupt 0. Interrupt disabled when bit is "0". Interrupt enabled when bit is "1". NAME ADDRESS MSB LSB 76543210 BIT LOCATION FLAG FUNCTION IE 0A8H EA — ET2 ES ET1 EX1 ET0 EX0 IE.0 EX0 Interrupt control bit for timer interrupt 0. Interrupt disabled whe[...]

  • Page 16

    274 ¡ Semiconductor MSM80C154S/83C154S Interrupt priority bit for external interrupt 0. Priority is assigned when bit is "1". NAME ADDRESS MSB LSB 76543210 BIT LOCATION FLAG FUNCTION IP 0B8H PCT — PT2 PS PT1 PX1 PT0 PX0 IP.0 PX0 IP.1 PT0 IP.2 PX1 IP.3 PT1 IP.4 PS IP.5 PT2 Reserved bit. The output data is "1" if the bit is rea[...]

  • Page 17

    275 MSM80C154S/83C154S ¡ Semiconductor Program status word register (PSW) Accumulator (ACC) parity indicator. This bit is "1" when the "1" bit number in the accumulator is an odd number, and "0" when an even number. NAME ADDRESS MSB LSB 76543210 BIT LOCATION FLAG FUNCTION PSW 0D0H CY AC F0 RS1 RS0 OV F1 P PSW.0 P User[...]

  • Page 18

    276 ¡ Semiconductor MSM80C154S/83C154S If CPU power down mode (PD, HPD) is activated with this bit set to "1", the outputs from ports 0, 1, 2, and 3 are switched to floating status. When this bit is "0", ports 0, 1, 2, and 3 are in output mode. NAME ADDRESS MSB LSB 76543210 BIT LOCATION FLAG FUNCTION IOCON 0F8H — T32 SERR IZC[...]

  • Page 19

    277 MSM80C154S/83C154S ¡ Semiconductor Capture mode is set when TCLK + RCLK = "0" and CP/ RL2 = "1". 16-bit auto reload mode is set when TCLK + RCLK = "0" and CP/ RL2 = "0". CP/ RL2 is ignored when TCLK + RCLK = "1". NAME ADDRESS MSB LSB 76543210 BIT LOCATION FLAG FUNCTION T2CON 0C8H TF2 EXF2 RCLK [...]

  • Page 20

    278 ¡ Semiconductor MSM80C154S/83C154S MEMORY MAPS Program Area 002BH 43 Timer interrupt 2 start 0023H 35 S I/O interrupt start 001BH 27 Timer interrupt 1 start 0013H 19 External interrupt 1 start 0001H 1 0000H 0 CPU reset start 0003H 3 External interrupt 0 start 0002H 2 000BH 11 Timer interrupt 0 start 16384 65535 4000H 0FFFFH MSM83C154S EXTERNAL[...]

  • Page 21

    279 MSM80C154S/83C154S ¡ Semiconductor Internal Data Memory and Special Function Register Layout Diagram 248(0F8H) 240(0F0H) 224(0E0H) 208(0D0H) 205(0CDH) 204(0CCH) 203(OCBH) 202(0CAH) 200(0C8H) 184(0B8H) 176(0B0H) 168(0A8H) 160(0A0H) 153( 99H) 152( 98H) 144( 90H) 141( 8DH) 140( 8CH) 139( 8BH) 138( 8AH) 137( 89H) 136( 88H) 135( 87H) 131( 83H) 130([...]

  • Page 22

    280 ¡ Semiconductor MSM80C154S/83C154S 7F 77 6F 67 5F 57 4F 47 3F 37 2F 27 1F 17 0F 07 7E 76 6E 66 5E 56 4E 46 3E 36 2E 26 1E 16 0E 06 7D 75 6D 65 5D 55 4D 45 3D 35 2D 25 1D 15 0D 05 7C 74 6C 64 5C 54 4C 44 3C 34 2C 24 1C 14 0C 04 7B 73 6B 63 5B 53 4B 43 3B 33 2B 23 1B 13 0B 03 7A 72 6A 62 5A 52 4A 42 3A 32 2A 22 1A 12 0A 02 79 71 69 61 59 51 49 4[...]

  • Page 23

    281 MSM80C154S/83C154S ¡ Semiconductor ABSOLUTE MAXIMUM RATINGS Parameter Symbol Condition Rating Unit Supply voltage Input voltage Storage temperature V CC Ta=25°C –0.5 to 7 V V I Ta=25°C –0.5 to V CC +0.5 V T STG — –55 to +150 °C RECOMMENDED OPERATING CONDITIONS Parameter Symbol Condition Range Unit Power supply voltage Memory retensi[...]

  • Page 24

    282 ¡ Semiconductor MSM80C154S/83C154S ELECTRICAL CHARACTERISTICS DC Characteristics 1 Meas- uring circuit 0.2 V CC –0.1 Parameter Symbol Condition Min. Typ. Max. Unit Input Low Voltage V IL — –0.5 — V V CC +0.5 Input High Voltage V IH Except XTAL1, EA , 0.2 V CC +0.9 — V and RESET V CC +0.5 Input High Voltage V IH1 XTAL1, RESET and EA 0[...]

  • Page 25

    283 MSM80C154S/83C154S ¡ Semiconductor Maximum power supply current normal operation I CC (mA) V CC 4 V 5 V 6 V Freq 2.2 3.1 4.1 1 MHz 3.9 5.2 7.0 3 MHz 12.0 16.0 20.0 12 MHz 16.0 20.0 25.0 16 MHz 19.0 25.0 30.0 20 MHz V CC 4.5 V 5 V 6 V Freq 25.0 29.0 35.0 24 MHz Maximum power supply current idle mode I CC (mA) V CC 4 V 5 V 6 V Freq 0.8 1.2 1.6 1[...]

  • Page 26

    284 ¡ Semiconductor MSM80C154S/83C154S DC Characteristics 2 — Output High Voltage V OH1 I OH =–20 m A 0.75 V CC —V (PORT 0, ALE, PSEN ) –40 Logical 0 Input Current/ Logical 1 Output Current/ (PORT 1, 2, 3) I IL / I OH V I =0.1 V –5 –10 m A V O =0.1 V –300 Logical 1 to 0 Transition I TL V I =1.9 V — –80 m A Output Current (PORT 1,[...]

  • Page 27

    285 MSM80C154S/83C154S ¡ Semiconductor Maximum power supply current normal operation I CC (mA) V CC 2.2 V 3.0 V 4.0 V Freq 0.9 1.4 2.2 1 MHz 1.8 2.4 4.3 3 MHz — 8.0 12.0 12 MHz — — 16.0 16 MHz Maximum power supply current idle mode I CC (mA) V CC 2.2 V 3.0 V 4.0 V Freq 0.3 0.5 0.8 1 MHz 0.5 0.8 1.2 3 MHz — 2.0 3.1 12 MHz — — 3.8 16 MHz[...]

  • Page 28

    286 ¡ Semiconductor MSM80C154S/83C154S V CC V SS INPUT OUTPUT V IH V IL (*2) V A I O 1 V CC V SS INPUT OUTPUT (*1) V 2 V CC V SS INPUT OUTPUT V IH V IL (*2) V A (*3) 3 V CC V SS INPUT OUTPUT V IH V IL A 4 A (*3) (*3) Measuring circuits *1: Repeated for specified input pins. *2: Repeated for specified output pins. *3: Input logic for specified stat[...]

  • Page 29

    287 MSM80C154S/83C154S ¡ Semiconductor AC Characteristics (1) External program memory access AC characteristics Parameter Symble Unit Min. Max. 1 to 24 MHz Variable clock from 41.7 1000 ns t CLCL XTAL1, XTAL 2 Oscillation Cycle 2t CLCL -40 — ns t LHLL ALE Signal Width 1t CLCL -15 — ns t AVLL Address Setup Time (to ALE Falling Edge) 1t CLCL -35[...]

  • Page 30

    288 ¡ Semiconductor MSM80C154S/83C154S t LHLL t AVLL t LLPL t PLPH t LLIV t PLIV t PXAV t PXIZ t LLAX t AZPL t AVIV t PXIX A0 to A7 INSTR IN A0 to A7 PORT0 PORT2 A8 to A15 A8 to A15 A8 to A15 PSEN ALE (2) External program memory read cycle[...]

  • Page 31

    289 MSM80C154S/83C154S ¡ Semiconductor (3) External data memory access AC characteristics *1 The variable check is from 0 to 24 MHz when the external check is used. *2 For 2.2 £ V CC <4 V Parameter Symbol Unit Min. Max. 1 to 24 MHz Variable clock from 41.7 1000 ns t CLCL XTAL1, XTAL2 Oscillator Cycle 2t CLCL -40 — ns t LHLL ALE Signal Width [...]

  • Page 32

    290 ¡ Semiconductor MSM80C154S/83C154S t LHLL t WHLH t LLDV t LLWL t RLRH t AVLL t LLAX t RLDV t RHDX t RHDZ t AVWL t AVDV PCH A8 to A15 PCH P2.0 to P2.7 DATA A8 to A15 DPH or A8 to A15 PCH A0 to A7 PCL A0 to A7 Rr or DPL A0 to A7 PCL INSTR IN ALE PSEN RD PORT 0 PORT 2 DATA IN t AZRL t LHLL t WHLH t LLWL t WLWH t AVLL t LLAX t QVWH t WHQX t AVWL A[...]

  • Page 33

    291 MSM80C154S/83C154S ¡ Semiconductor (6) Serial port (I/O Extension Mode) AC characteristics Parameter Symbol Min. Max. Unit Serial Port Clock Cycle Time t XLXL 12t CLCL —n s Output Data Setup to Clock Rising Edge t QVXH 10t CLCL -133 — Output Data Hold After Clock Rising Edge t XHQX 2t CLCL -75 — Input Data Hold After Clock Rising Edge t [...]

  • Page 34

    292 ¡ Semiconductor MSM80C154S/83C154S t XLXL t QVXH t XHQX t XHDV t XHDX VALID VALID VALID VALID VALID VALID VALID VALID MACHINE CYCLE ALE SHIFT CLOCK OUTPUT DATA INPUT DATA[...]

  • Page 35

    293 MSM80C154S/83C154S ¡ Semiconductor (7) AC Characteristics Measuring Conditions 1. Input/output signal V OH V OL V OH V OL V IH V IL V IH V IL TEST POINT * The input signals in AC test mode are either V OH (logic "1") or V OL (logic "0") input signals where logic "1" corresponds to a CPU output signal waveform meas[...]

  • Page 36

    294 ¡ Semiconductor MSM80C154S/83C154S Timing Diagram Basic timing ACC & RAM S1 S2 S3 S4 S5 S6 M1 S1 S2 S3 S4 S5 S6 M1 S1 S2 S3 S4 S5 S6 M2 S1 S2 S3 S4 S5 S6 M1 PCL PCL PCL PCL PCH PCH PCH PCH PCH DPH & PORT DATA PCH PC+1 TM+1 PC+1 TM+1 TM+1 TM+1 PC+1 PC+1 PC+1 CYCLE STEP 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 XTAL 1 ALE RD / WR PORT-0 PORT-2 CPU[...]