SHARP XEA302U, XE-A302 Service Manual

q
SERVICE MANUAL
CONTENTS
CODE : 00Z
XEA302USME
ELECTRONIC CASH REGISTER
MODEL
XE-A302
(U and A version)
CHAPTER 1. SPECIFICATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
CHAPTER 2. OPTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
CHAPTER 3. MASTER RESET AND PROGRAM RESET. . . . . . . . . 4
CHAPTER 4. HARDWARE DESCRIPTION. . . . . . . . . . . . . . . . . . . . 5
CHAPTER 5. DIAGNOSTIC PROGRAM . . . . . . . . . . . . . . . . . . . . . 11
CHAPTER 6. IPL FROM EP-ROM . . . . . . . . . . . . . . . . . . . . . . . . . . 15
CHAPTER 7. CAUTION TO BE USED WHEN
CONNECTING THE RS-232 CABLE . . . . . . . . . . . . . 16
CHAPTER 8. CIRCUIT DIAGRAM AND PWB LAYOUT . . . . . . . . . 17
Parts marked with "!" are important for maintaining the safety of the set. Be sure to replace these parts with specified ones for maintaining the safety and performance of the set.
This document has been published to be used
SHARP CORPORATION
CHAPTER 1. SPECIFICATIONS
1. APPEARANCE
Front view Rear view
Operator display Printer cover Receipt paper
Drawer
Drawer lock
Customer display (Pop-up type)
Power cord
Mode switch
Keyboard
RS-232C connector
Printer
Take-up spool
Paper roll cradle
Print roller arm
Print roller release rever
Inner cover
Paper positioning guides
2. RATING
XE-A302 Weight 27.6lb (12.5kg) Dimensions 421 (W) x 429 (D) x 297 (H) mm
Power source AC 120V (m10%), 60Hz Power consumption Stand-by 8W, Operating 30W (max.) Working temperature 0°C~40°C (32°F to 104°F)
16.6 (W) x 16.9 (D) x 11.7 (H) inches
■■■■Key names
KEY TOP DESCRIPTION
0-9, 00 Numeric keys
Decimal point Key
CL Clear key
@/FOR Multiplication key
2 Paper feed key
RA Received-on-account key
RCPT/PO Receipt print/Paid out key
RFND Refund key
CLK# Clerk code entry key VOID Void key
AUTO Automatic sequence key
CH1, 2 Charge 1, 2 keys
CHK Check key
TAX1, 2 SHIFT Tax1, 2 shift keys
TAX TAX key
%1, 2 Percent 1, 2 keys
- Discount key
CONV Conversion key
E/J PRINT Electronic journal print key
(D-PLU) 1-75 Direct PLU 1-75 keys
DEPT1-6 Department 1-6 keys
DEPT# Department code entry key
PLU/SUB PLU/Sub department code entry key
#/TM/SBTL Non add code Entry/Time/Subtotal key
MDSE SBTL Merchandise subtotal key
CA/AT Total/Amount tender/No sale
ESC Escape key
3. KEYBOARD
3-1. KEYBOARD LAYOUT
Type Flat keyboard Key pitch 18 (W) x 15 (H) mm Key stroke 1.1 m 0.2mm Caption on key top Key sheet
3-2. KEY LIST
■■■■Keyboard layout
E/J
2
PRINT
67
68
69
70
71
72
73
74
56
57
58
59
60
61
62
63
64
65
45
46
47
48
49
50
51
52
53
54
34
35
36
37
38
39
40
41
42
43
23
24
25
26
27
28
29
30
31
32
12
13
14
15
16
17
18
19
20
21
1
2
3
4
5
6
7
8
9
10
CLK#
75
DEPT
66
55
44
33
RFND
22
11
%1
%2
VOID
#
PLU
/SUB
246
135
@/FOR
CL
789 456 123 000
4. MODE SWITCH
4-1. LAYOUT
• Rotary type
AUTO
ESC
RCPT
RA
/PO
TAX
CONV
TAX2
TAX1
SHIFT
SHIFT
CH2
CH1
MDSE
CHK
SBTL #/TM
CA/AT
SBTL
XE-A302U SPECIFICATIONS
The mode switch can be operated by inserting one of the two supplied mode keys - manager (MA) and operator (OP) keys. These keys can be inserted or removed only in the “REG” or “OFF” position.
– 1 –
MA
OP
OFF VOID
PGM
Manager key (MA)
MA
REG
OP
MGR
X/Z
X
1/Z1
X2/Z2
Operator key (OP)
OP
The mode switch has these settings: OFF: This mode locks all register operations. (AC power turns off.)
No change occurs to register data.
OP X/Z: To take individual clerk X or Z reports, and to take flash
reports. It can be used to toggle receipt state “ON” and “OFF” by press-
ing he [RCPT/PO] key.
REG: For entering sales. PGM: To program various items. VOID
: Enters into the void mode. This mode allows correction after
finalizing a transaction.
MGR: For manager’s entries. The manager can use this mode for an
override entry.
X1/Z1: To take the X/Z report for various daily totals. X2/Z2: To take the X/Z report for periodic (weekly or monthly) consoli-
dation.
5. DISPLAY
5-1. OPERATOR DISPLAY
Display device : LCD Number of line : 2 line Number of positions : 16 positions Color of display : Yellow / Green Character form : 7 segment + Dp Character size : 14.2 (H) x 7.9 (W) mm
Layout:
5-2. CUSTOMER DISPLAY
Display device : LED Number of line : 1 line Number of positions : 7 positions Color of display : Yellow / Green Style : Pop up type Character form : 7 segment + Dp Character size : 14.2mm (H) x 7.9mm (W)
Layout:
■■■■Operator display
Function message display area
Clerk code or mode name
Receipt OFF indicator
Repeat / Sentinel mark / Power save mark
• Clerk code or Mode name The mode you are in is displayed. When a clerk is assigned, the clerk
code is displayed in the REG or OP X/Z mode. For example, “*01*” is displayed when clerk 01 is assigned.
• Repeat The number of repeats is displayed, starting at “2” and incremental
with each repeat. When you have registered ten times, the display
will show “0” (2 3 3......9 3 0 3 1 3 2...)
• Sentinel mark When amount in the drawer reaches the amount you prepro-
grammed, the sentinel mark “X” is displayed to advise you to remove the money and put it in a safe place.
• Power save mark When the cash register goes into the power save mode, the power
save mark (decimal point) lights up.
• Function message display area Item labels of departments and PLU/subdepartments and function
texts you use, such as %1, (-) and CASH are displayed. When an amount is to be entered or entered, “AMOUNT” is dis-
played: When an amount is to be ent ered, ------- is displayed at the numeric entry area with “AMOUNT”. When a preset price has been set, the price is displayed at the numeric entry area with “AMOUNT”.
• Numeric entry display area Numbers entered using numeric keys are displayed here.
Date and time display
Date and time appear on the display in the OP X/Z, REG, or MGR mode. In the REG or MGR mode, press the [#/TM/SBTL] key to dis­play the date and time.
Error message
When an error occurs, the corresponding error message is displayed in the function message display area.
Numeric entry display area
■■■■Customer display (Pop-up type)
XE-A302U SPECIFICATIONS
– 2 –
Power save mark (Lighting the mark only under the power save mode)
6. PRINTER
7. DRAWER
6-1. PRINTER
• Part number : M-T53II
• NO. of station : 1 (Receipt or journal)
• Validation : No
• Printing system : Line thermal
• No. of dot : 288 dots
• Dot pitch : Horizontal 0.167mm Vertical 0.174mm
• Font : 10 dots (W) x 24 dots (H)
• Printing capacity : max. 24 characters
• Character size : 1.67mm (W) x 4.17mm (H) at 10 x 24 dots
• Print pitch : Column distance 2.0mm Row distance 5.21mm
• Print speed : Approximate 60mm/s (12 lines/sec)
• Paper feed speed
(Manual feed)
• Reliability : Mechanism LIFE 6 million lines used to high-
• Paper end sensor : Set up
• Cutter : No
• Near end sensor : No
: Approximate 60mm/s (12 lines/sec)
quality thermal paper
6-2. PAPER
• Paper roll dimension : 57.5 m 0.5mm in width
Max. 80mm in diameter
• Paper quality : High-quality thermal paper
paper thickness: 0.06 to 0.08mm
[OUTLINE]
• Standard equipment: Yes
• Max. number of additional drawers: 0
• The drawer consists of:
1) Drawer box (outer case) and drawer
2) Coin case (for SEC)
3) Money case
4) Lock (attached to the drawer)
[SPECIFICATION] 7-1. DRAWER BOX AND DRAWER
Model name of the drawer box SJ423 Size 420 (W) x 426 (D) x 114 (H) mm
Color Gray (PB-N8.0) Material Metal Bell — Release lever Standard equipment: situated at the
Drawer open sensor — Separation from the main unit
16.5 (W) x 16.8 (D) x 4.5 (H) inches
bottom
7-2. MONEY CASE
Separation from the drawer Allowed Separation of the bill compartments from the
coin compartments Bill separator Allowed Number of compartments 5B/6C
Allowed
6-3. LOGO STAMP
• No
6-4. PRINTING AREA
Number of thermal head heater elements 288 dots
(4.75) (4.75)48 (288 dots)
print area
(max.24 characters)
0.167
57.5±0.5
(Paper dimension)
(units : mm)
5B/6C
7-3. LOCK (LOCK KEY : LKGIM7331BHZZ)
Location of the lock: Front Method of locking and unlocking:
To lock, insert the drawer lock key into the lock and turn it 90 degrees counter clockwise. To unlock, insert the drawer lock key and turn it 90 degrees clockwise.
Key No: SK1-1
SK1-1
k
c
o
L
k
c
o
l
n
u
8. BATTERY
8-1. MEMORY BACK UP BATTERY
Built-in battery: Rechargeable batteries, memory holding time about 1
month (with fully charged built-in batteries, at room temperature)
XE-A302U SPECIFICATIONS
– 3 –
CHAPTER 2. OPTIONS
1. OPTIONS (NO)
2. SERVICE OPTIONS (NO)
3. SUPPLIES
NO NAME PARTS CODE
1 Thermal roll paper TPAPR6656RC05 BA 5 ROLLS/PACK
PRICE
RANK
4. SPECIAL SERVICE TOOLS
NO NAME PARTS CODE
1 RS-232 Loop-back connector UKOG-6705RCZZ BC
PRICE
RANK
CHAPTER 3. MASTER RESET AND PROGRAM RESET
1. MASTER RESETTING
Master resetting clears the entire memory and resumes initial values. Master resetting can be accomplished by using the following procedure:
Procedure A: 1) Unplug the AC cord from the wall outlet.
2) Set the mode switch to the PGM position.
3) While holding down both the JOURNAL FEED key and [CL] key, plugin the AC cord to the wall outlet.
The master reset can also be accomplished in the following case.
In case power failure occurs when the machine has no battery attached to it, the master reset operation is automatically performed after the power has been restored.
(This is because if power failure occurs with no battery attached to the machine, all the memories are lost and the machine does not work properly after power recovery; this requires the master reset operation.)
2. PROGRAM RESETTING (INITIALIZATION)
This resetting resumes the initial program without clearing memory. This resetting can be operated at below sequence in PGM mode.
Procedure: 1) Unplug the AC cord from the wall outlet.
2) Set the mode switch to the PGM position.
3) While holding down both JOURNAL FEED key and RECEIPT FEED key, plugin the AC cord to the wall outlet.
Note: In case power failure occurs when the machine has no battery
attached to it, the master reset operation is automatically per­formed after the power has been restored.
DESCRIPTION
DESCRIPTION
XE-A302U OPTIONS
– 4 –
CHAPTER 4. HARDWARE DESCRIPTION
1. BLOCK DIAGRAM
XE-A302U
VH (8V) VLED (5.7V) VCC VDD VDRW (+23.8V) VLMP (4.3V)
Pop up LCD
A0~19
D0~7
BR0~2 /CS0
/CS1,/CS2
HC 138
HIN 211
RS-232
CPU
RAM 10k BYTE
HIN 211
CH2
CH1
12MHz
32.768kHz
DRIVER, SENSOR
PRINTER
CPU
MITSUBISHI M30620SAFP (INTERNAL RAM 10KB)
EXTERNAL MEMORY
SRAM 512KB FLASH ROM 512KB
SHARP LH28F004BVT
PRINTER
M-T53II
RS-232
1ch
Battery
Ni-MH
BZ
DRAWER1
SRAM1
SRAM2
HC375
HC245 HC374
HC245
4 to 16 Decoder
HC245
GAL
DIG DRV
SEG DRV
/S0 9
KR0 KR7
KR0 KR11
FROM
EPROM
FRONT 2Line LCD
Pop
up 7deg LED
KEY
SW
2. MEMORY MAP
2-1. ADDRESS MAP
Bank 0 Bank 1 Bank 2 Bank 3 Bank 4 Bank 5 Bank 6 Bank 7
BR0 1 1010100 BR1
BR2
00000h
00400h 02C00h
04000h
08000h
External SRAM 1 32KB External SRAM 1 32KB
28000h 30000h 40000h
External SRAM 1
60000h
80000h
C0000h
FFFFFh
&
256KB
IPL SW
F-ROM
OFF:F-ROM
(Program)
ON:EP-ROM
(512KB)
(Program)
(512KB)
Even if the bank is changed, the same address can be accssed.
Internal RAM area 10KB
Internal reserved area
External SRAM 1 64KB
Flash ROM
Flash ROM
(CG Data)
(CG Data)
(Reserve)
(Reserve)
Not used
Not used
512KB
Flash ROM
Program 256KB
2-2. EXTERNAL BUS
External BUS ACCESS SPEED
SRAM/EPROM/FLASH ROM ; 2 BCLK External I/O ; 2 BCLK *1BCLK = 83.3ns (at 12MHz)
SRAM
Reserve
FLASH ROM
Reserve /CS0 area BANK 6: address 80000h ~ FFFFFh 256KB
I/O /CS3 area BANK 0: address 04000h ~ 07FFFh 16KB
/CS2 area: /CS1 area BANK 0, 2: /CS0 area BANK 0:
/CS0 area BANK 4, 5: /CS0 area BANK 0
00110110
SFR area
External I/O
External SRAM 1
128KB
External SRAM 1 32KB External SRAM 1 32KB
(Phantom) (Phantom)
External
External SRAM 2
256KB
(Reserve)
512KB
Not used bank 4, 5 and bank 6, 7
Caution:
The printer handler and so on should be
stored to C0000h or later.
SRAM 2
256KB
(Reserve)
External SRAM 2
256KB
(Phantom)
(Phantom)
address 08000h ~ 27FFFh address 28000h ~ 2FFFFh address 30000h ~ 3FFFFh 64KB address 40000h ~ 7FFFFh 256KB
address 40000h ~ 7FFFFh 256KB x 2 address 80000h ~ FFFFFh 256KB
(Moves to Bank 1 when rewritten using EPROM)
11110000
External SRAM 2
256KB
CS3
/CS2 /CS1
/RAMCS1
/CS0
/RAMCS2
128KB 32KB x 2
XE-A302U HARDWARE DESCRIPTION
– 5 –
3. PRINTER CONTROL
3-1. STEPPING MOTOR CONTROL
The two phase Bi-Polar stepping motor is driven at a constant voltage by SANYO LB1838M. 1step: 0.087mm, 1dot: 2step
< CPU’s PORT >
No. CPU PORT Signal to be used
76 P14 IN1 75 P15 IN2 74 P16 ENA1 73 P17 ENA2
< Driving steps >
Driver IC input
(CPU output)
STEP IN1 IN2 ENA1 ENA2
1LLHHH H L L 2HLHH L H H L 3HHHH L L H H 4 LHHH H L L H
*When the motor is at rest, the same phase as the final excitation
phase is RUSH energize to turn off all phases. 3 Turn ENA1 and ENA2 into L.
No energizing should be allowed at lease 40 m s after stopping the motor before restarting.
When starting the motor etc, required the chopping
Motor driving signal
A
(OUT1)B(OUT3)/A(OUT2)/B(OUT4)
3-2. HEAD CONTROL
HEAD: 288 dots in all, width: 0.167mm/dot (6dot/mm)
<Related PORT>
No. I/O PORT Function
18 OUT P84
89 OUT P107
30 OUT P70 TXD2
28 OUT P72 CLK2
90 OUT P106
91 OUT P105
/STB1: 1 ~ 144 dot: 144 dots in all /STB2: 145 ~ 288 dot: 144 dots in all
(Transfer Clock)
motor POWER
Signal
name
PRINTING
/STB2
PRINTING
/STB1
PRINTING
DAT
(Print DATA)
PRINTING
PCLK
PRINTING
/LAT
(DATA Latch)
PRINTING
VPON (Head
SUPPLY)
Total 288 dots
Port setup
Initial
value
in single
chip mode
H
H Out L
H Out L
H Out L
L
Out L
Out L
Out L
Conduction pulse width: Refer to the M-T53II specifications.
OFF time of print strobe : Conduction strobe OFF time between dots
min. 160us
Logo print ratio restriction : Average print ratio 35% or below (Same as
the M-T51) When the print ratio at the peak one-dot line is 50%, the average print ratio of 10­dot line including the above line should be 35% or less.
*When turning on or off the printer power supply, make sure to turn
/STB1, 2 to “H”.
*Do not turn on without paper. *THER MAL HEAD power supply control : Turns ON when P10 5= “H”;
turns OFF when “L”. (The power supply for HEAD and STE PPING MOTOR is shared). When printing is finished (when the motor is stopped) Athe power should be turned OFF.
*Before printing or feeding paper, perform A/D conversion in 20 ms
after the printer head is turned ON and make sure the voltage is sta­ble. (The power supply of the printer head should be turned ON and OFF by using the regulator IC.)
*The head rank confirmation was abolished.
3-3. WINDING MOTOR CONTROL
<Related port>
No. I/O
21 Out P81 Printer motor
PORT
Function
Signal
name
(Winding motor)
Initial value
Port setup in
single chip mode
LON
3-4. PAPER EMPTY DETECTION
When LOW is detected twice continuously in sampling of signals for every one dot line, it is judged as paper empty.
The threshold level of High/Low level is 2.5 m 0.2V. (Vcc = 5VDC m 5%) When paper empty is detected, printing is terminated. However, when
paper empty is detected during printing, 15-dot lines from detection of paper empty can be printed.
3-5. PLATEN OVER
When signals are sampled in the frequency of 1ms or less and open state is detected twice continuously, it is judged as platen over.
If the head is conducted under the platen over state, the thermal head life may be shortened. When, therefore, platen over is detected, printing is terminated.
Under the platen over state (switch open state), driving the paper feed motor is inhibited.
1 288
XE-A302U HARDWARE DESCRIPTION
– 6 –
4. CPU
• M16C/64A Group: M30620SAFP
• Processor mode = Microprocessor mode
• Internal reserve area, without expansion
• Multi function 16-bit Timer: Ou tput syste m 5 lines + input system 6 l ines
• Serial I/O:
PIN
PORT
No. P00 88 I/O D0 D0 Out L P54 42 O /HLDA (NU) Out L P01 87 I/O D1 D1 Out L P55 41 I /HOLD /HOLD In P02 86 I/O D2 D2 Out L P56 40 O ALE (NU) Out L P03 85 I/O D3 D3 Out L P57 39 I /RDY /RDY In P04 84 I/O D4 D4 Out L P60 38 O /RTS0 /RS2 H In RS-232 /RS2 P05 83 I/O D5 D5 Out L P61 37 O CLK0 N.U. (FSCK) L Out L FMC DSCK P06 82 I/O D6 D6 Out L P62 36 I RXD0 RD2 In RS-232 RD2 P07 81 I/O D7 D7 Out L P63 35 O TXD0 SD2 L Out L RS-232 SD2 P10 80 O P10 /PLCS H Out L
I/O
Pin
name
Signal
name
Initial value
OFF
MODE
Function PORT
Pop up LCD
Chip Select
P11 79 O P11 /PLRD H Out L
Pop up LCD
Read clock
P12 78 O P12 /PLWR H Out L
Pop up LCD
Write clock
P13 77 O P13 PLDATA L Out L
Pop up LCD
serial DATA
P14 76 O P14 IN1 L Out L
Paper feed
motor (IN1)
P15 75 O P15 IN2 L Out L
Paper feed
motor (IN2)
P16 74 O P16 ENA1 L Out L Paper feed
P17 73 O P17 ENA2 L Out L Paper feed
P20 72 O A0 A0 Out L P74 26 O P74 /ER1 H Out L RS-232 /ER1 P21 71 O A1 A1 Out L P75 25 I P75 /CD1 In RS-232 /CD1 P22 70 O A2 A2 Out L P76 24 I P76 /CS1 In RS-232 /CS1 P23 69 O A3 A3 Out L P77 23 I P77 /DR1 In RS-232 /DR1 P24 68 O A4 A4 Out L P80 22 O P80 BUZZER L Out L P25 67 O A5 A5 Out L P81 21 O P81 MOTOR L In
P26 66 O A6 A6 Out L P82 20 I /INT0 /POFF In Power interruption P27 65 O A7 A7 Out L P83 19 O /INT1 /WP H Out L FROM /WP P30 63 O A8 A8 Out L P84 18 O P84 /STB2 H In PRINTER /STB2 P31 61 O A9 A9 Out L P85 17 I /NMI (NU) In P32 60 O A10 A10 Out L P86 11 O P33 59 O A11 A11 Out L P87 10 I XCIN XCIN 32.768kHz P34 58 O A12 A12 Out L P90 7 I P90 MDR In MODE KEY SE NSE P35 57 O A13 A13 Out L P91 6 I P91 MSENS In MISCELLANEOUS SENSE P36 56 O A14 A14 Out L P92 5 O P92 BR1 L Out L BANK signal1 P37 55 O A15 A15 Out L P93 4 O P93 BR0 L Out L BANK signal0 P40 54 O A16 A16 Out L P94 3 O P94 /LDCS H Out L LCD DATA LATCH signal P41 53 O A17 A17 Out L P95 2 O P95 BLON L Out L BACK LIGHT ON P42 52 O A18 A18 Out L P96 1 O P96 LCDON L Out L LCD POWER ON P43 51 O A19 A19 Out L P97 100 O P97 BR2 L Out L BANK singal2 P44 50 O /CS0 /CS0 Out H P100 97 I AN0 TM In HEAD temperature monitor P45 49 O /CS1 /CS1 Out H P101 95 I AN1 VPTEST In HEAD voltage monitor P46 48 O /CS2 /CS2 Out H P102 94 I AN2 VREF In Referance voltage P47 47 O /CS3 /CS3 Out L
motor (ENA1)
motor (ENA2)
External I/O
P103 93
Chip Select
P50 46 O /WR /WR Out L P104 92 O AN4 /ER2 H In RS-232 /ER2 P51 45 O /BHE (NU) Out L P105 91 O P105 VPON L Out L PRINTER HEAD POWER P52 44 O /RD /RD Out L P106 90 O P106 /LAT H In PRINTER DATA LATCH P53 43 O BCLK BCLK Out L P107 89 O P107 /STB1 H In PRINTER /STB1
M16C/64A PORT MEMORY SPACE: NORMAL MODE
PROCESSOR MODE: MI CRO PROCESSOR MODE It is used by (SEPARATE BUS 8bit Width)
PIN No.
P64 34 O /RTS1 /RS1 H Out L RS-232 /RS1
P65 33 I P65 IPL ON In IPL ON Signal
P66 32 I RXD1 RD1 In RS-232 RD1
P67 31 O TXD1 SD1 H Out L RS-232 SD1
P70 30 O TXD2 DAT L Out L PRINTER DATA OUT
P71 29 I RXD2 N.U. (BUSY) In PRINTER DATA IN
P72 28 O CLK2 PCLK L Out L PRINTER CLOCK
P73 27 O P73 DRAWER 1 L Out L DRAWER DRIVE SIGNAL
Pin
I/O
name
XCOUT
AN3 VBAT In VBAT (Battery voltage)
I
Signal
name
XCOUT 32.768kHz
Initial value
OFF
MODE
Printer winding motor
Function
XE-A302U HARDWARE DESCRIPTION
– 7 –
<Power supply/CONTROL pins>
PIN
PORT
BYTE 8 I BYTE Connected to VDD Vcc 62 Vcc Connected to VDD
CNVss 9 I CNVss Connected to VDD Vss 64 Vss connected to GND
/RESET 12 I /RESET AVss 96 AVss Connected to GND
Xout 13 O Xout OPEN Vref 98 Vref Connected to VDD
Vss 14 Vss Connected to GND AVcc 99 AVcc Connected to VDD Xin 15 I Xin connected to Spectram diffusion IC Vcc 16 Vcc Connected to VDD
I/O Pin name Function PORT
No.
PIN
I/O Pin name Function
No.
5. KEY-DISPLAY
5-1. LCD CONTROL
Basically the same as the XE-A401 and ER-A275P.
<LCD-related registers>
Function Address R/W LCD Write Data 04001h W LCD Read Data 04002h R LCD Control Signal / Key Strobe Signal 04003h W Data Latch Signal CPU port P94 W
< LCD Control Signal / Key Strobe Signal >
Address Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 04003h E R/W RS KS3 KS2 KS1 KS0
Bit7 : Not used Bit6 : E
Enable Signal Enable
Bit5 : R/W
H : Data read L : Data Write
Bit4 : RS
H : Data input L : Instruction Input
< Data Latch Signal >
L : LCD write data latch
5-2. KEY/DISPLAY SCAN
On the machine, the key and display scan signal is common. KEY/display SCAN and key read should be performed at the following
timing.
1 KEY/display SCAN cycle: 10ms 2 Blanking time: 50us 3 KEY DATA READ timing: More than 10 ms from the fall of the SCAN
signal
<Key/Display-related registers>
Function Address R/W LED Segment Signal 04000h W LCD Control Signal / Key Strobe Signal 04003h W Key Return Signal 04003h R
…………
…………
Wite
Read
…………
Write
< LED Segment Signal >
Address B it7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 04000h dp g f e d c b a
< LCD Control Signal/Key Strobe Signal >
Address Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 04003h - E R/W RS KS3 KS2 KS1 KS0
Bit3 ~ 0 : KS3 ~ 0 Strobe signals for keys and POP UP Display are generated at KS3 - 0.
< Key Return Signal >
Address Bit7 Bit6 Bit5 Bit4 Bit3 B it2 Bit1 Bit0 04001h - - - ­04003h KR7 KR6 KR5 KR4 KR3 KR2 KR1 KR0
Normal Keyboard : 04003h Flat Keyboard : 04001h + 04003h
XE-A302U HARDWARE DESCRIPTION
– 8 –
KR11 KR10
KR9 KR8
Loading...
+ 18 hidden pages