Sharp XE-A203 Service Manual - Page 11

Usb Port, Sd Card I/f Xe-a203u Only, Printer Control, A/d Conversion - usb driver

Page 11 highlights

4. USB PORT One port for USB Port (Slave) is provided as a standard provision. The Renesus-make USB general-use ASSP device M66291 is used. The M66291 is mapped to the /CS1 area 28000h-29FFFh. CPU A0 A1-A6 D0-D7 /CS1 /RD /WR /RESUSB /DREQUSB /INTUSB M66291 D15/AD0 AD1-AD6 D0-D7 CS RD D+ LWR D/RESET /Dreq0 VBuss TrON 1.5k 27 27 1.0uF 24MHz 1 3 Vbus D+ 2 D- 4 GND USB CONNECTOR No. CPU PORT Use signal Purpose 19 P83 (INT1) /DREQUSB USB DMA channel 0 DMA request signal 18 P84 (INT2) /INTUSB USB interruption 0 request signal 24 P76 (TA3OUT) /REUSB M66291 Reset control 5. SD CARD I/F (XE-A203U ONLY) One port for SD card I/F is provided as a standard provision. Communication with the SD card is made in the SPI mode. No. CPU PORT Use signal Purpose 31 P67 (TXD1) /SD_WP SD card write protect detection signal 32 P66 (RXD1) /SD_CD SD card insertion detection signal 33 P65 (CLK1) /SD_CS SD card chip select signal 34 P64 (CLKS1) /SD_POW SD card power on signal 35 P63 (TXD0) SD_TXD TxD signal 36 P62 (RXD0) SD_RXD RxD signal 37 P61 (CLK0) SD_CLK Serial CLK signal 6. PRINTER CONTROL 6-1. STEPPING MOTOR CONTROL The two-phase bi-polar stepping motor is driven at a constant voltage. 1step : 0.087mm, 1dot : 2step Pin No. CPU PORT Use signal Function 76 P14 IN2 Paper feed motor (IN2) 75 P15 IN1 Paper feed motor (IN1) 74 P16 ENA2 Paper feed motor (ENA2) 73 P17 ENA1 Paper feed motor (ENA1) Driver IC input (CPU output) Motor drive signal STEP IN1 IN2 ENA1 ENA2 A (OUT1) B (OUT3) /A (OUT2) /B (OUT4) 1 L L H H H H L L 2 H L H H L H H L 3 H H H H L L H H 4 L HH H H L L H 6-2. HEAD CONTROL HEAD : All 288dot, Width 0.167mm/dot (6dot/mm) Pin No. CPU PORT Use signal Function 89 P107 STRB1# Printer STB1# 94 P102 STRB2# Printer STB2# 30 P70 DAT Printer print data 28 P72 PCLK Printer forwarding clock 90 P106 LATCH# Printer data latch 91 P105 VPON Printer head motor power 6-3. PAPER TAKE UP MOTOR CONTROL Pin No. PORT Use signal Function 21 P81 MOTOR Printer paper take up motor 6-4. OUT OF PAPER DETECTION Pin No. PORT Strobe signal Function 6 P91 /S4 Printer out of paper detection (It reads according to the timing of /S4) 6-5. PLATEN OPEN (HEAD UP DETECTION) Pin No. PORT Strobe signal Function 6 P91 /S3 Platen open detection (It reads according to the timing of /S3) 7. A/D CONVERSION The following three signals are inputted to the A/D conversion port. PIN No. PORT Use signal Function 97 AN0/P100 TM Printer head temperature monitor 95 AN1/P101 VPTEST Printer head voltage monitor 93 AN3/P103 VBAT Battery voltage monitor XE-A203U/XE-A203A HARDWARE DESCRIPTION - 9 -

  • 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

XE-A203U/XE-A203A
HARDWARE DESCRIPTION
– 9 –
4.
USB PORT
One port for USB Port (Slave) is provided as a standard provision.
The Renesus-make USB general-use ASSP device M66291 is used.
The M66291 is mapped to the /CS1 area 28000h-29FFFh.
<CPU PORT>
5.
SD CARD I/F (XE-A203U ONLY)
One port for SD card I/F is provided as a standard provision.
Communication with the SD card is made in the SPI mode.
6.
PRINTER CONTROL
6-1. STEPPING MOTOR CONTROL
The two-phase bi-polar stepping motor is driven at a constant voltage.
1step : 0.087mm, 1dot : 2step
<CPU PORT>
<DRIVE STEP>
6-2. HEAD CONTROL
HEAD : All 288dot, Width 0.167mm/dot (6dot/mm)
<CPU PORT>
6-3. PAPER TAKE UP MOTOR CONTROL
<CPU PORT>
6-4. OUT OF PAPER DETECTION
<CPU PORT>
6-5. PLATEN OPEN (HEAD UP DETECTION)
<CPU PORT>
7.
A/D CONVERSION
The following three signals are inputted to the A/D conversion port.
<CPU PORT>
No.
CPU PORT
Use signal
Purpose
19
P83 (INT1)
/DREQUSB
USB DMA channel 0 DMA request
signal
18
P84 (INT2)
/INTUSB
USB interruption 0 request signal
24
P76 (TA3OUT)
/REUSB
M66291 Reset control
No.
CPU PORT
Use signal
Purpose
31
P67 (TXD1)
/SD_WP
SD card write protect detection signal
32
P66 (RXD1)
/SD_CD
SD card insertion detection signal
33
P65 (CLK1)
/SD_CS
SD card chip select signal
34
P64 (CLKS1)
/SD_POW
SD card power on signal
35
P63 (TXD0)
SD_TXD
TxD signal
36
P62 (RXD0)
SD_RXD
RxD signal
37
P61 (CLK0)
SD_CLK
Serial CLK signal
Pin No.
CPU PORT
Use signal
Function
76
P14
IN2
Paper feed motor (IN2)
75
P15
IN1
Paper feed motor (IN1)
74
P16
ENA2
Paper feed motor (ENA2)
73
P17
ENA1
Paper feed motor (ENA1)
1
2
27
1.5k
27
3
4
1.0uF
CPU
A0
A1-A6
D0-D7
/CS1
/RD
/WR
/RESUSB
/DREQUSB
/INTUSB
M66291
D15/AD0
AD1-AD6
VBuss
D0-D7
TrON
CS
RD
D+
LWR
D-
/RESET
/Dreq0
Vbus
D+
D-
GND
24MHz
USB
CONN-
ECTOR
Driver IC input (CPU output)
Motor drive signal
STEP
IN1
IN2
ENA1 ENA2
A
(OUT1)
B
(OUT3)
/A
(OUT2)
/B
(OUT4)
1
L
L
H
H
H
H
L
L
2
H
L
H
H
L
H
H
L
3
H
H
H
H
L
L
H
H
4
L
H
H
H
H
L
L
H
Pin No.
CPU PORT
Use signal
Function
89
P107
STRB1#
Printer STB1#
94
P102
STRB2#
Printer STB2#
30
P70
DAT
Printer print data
28
P72
PCLK
Printer forwarding clock
90
P106
LATCH#
Printer data latch
91
P105
VPON
Printer head motor power
Pin No.
PORT
Use signal
Function
21
P81
MOTOR
Printer paper take up motor
Pin No.
PORT
Strobe signal
Function
6
P91
/S4
Printer out of paper detection
(It reads according to the timing of /S4)
Pin No.
PORT
Strobe signal
Function
6
P91
/S3
Platen open detection
(It reads according to the timing of /S3)
PIN
No.
PORT
Use
signal
Function
97
AN0/P100
TM
Printer head temperature monitor
95
AN1/P101
VPTEST
Printer head voltage monitor
93
AN3/P103
VBAT
Battery voltage monitor