Confirmation Of S1S60000 Boot; Confirming The Host Interface Status; Reading The Status; Reading The Boot Status - Epson S1S60000 Application Notes

Table of Contents

Advertisement

2. CONFIRMATION OF S1S60000 BOOT

2. CONFIRMATION OF S1S60000 BOOT
S1S60000 issues the boot status when it is booted. The host CPU reads the boot status to confirm that it has
been booted. This chapter describes how to read statuses through reading the boot status.

2.1 Confirming the host interface status

When the status or data is set in host interface port, the HINT pin changes. Connecting the HINT pin to the
interrupt pin of the host CPU allows interrupt control for reading the status and data. Setting the HINTPOL pin
to LOW enables Low active, and setting it to HIGH enables High active. Please set the interrupt input trigger
mode of the host CPU to level trigger mode.
The flag port indicates the host interface processing status for commands, statuses, or data. When accessing the
host interface, be sure to confirm the flag port. When not performing interrupt control, control the status by
polling of the flag port.

2.2 Reading the status

When the status is set in status port, the HINT pin becomes active. Also, bit0 of the flag port is set to "1".
Perform polling of the flag port when not performing interrupt control.
The HINT pin becomes active when bit0 or bit1 of the flag port is set; therefore, confirm that bit0 of the flag
port is set to "1" and read the status.
The status form read from the status port is as follows.
BIT
15
14
DATA
For information on numbers corresponding to status types, refer to the "S1S60000 Series Host Interface Manual
- 2.1.1.4 Status number".

2.3 Reading the boot status

In the same manner as the procedure in 2.2, read the "boot" status. Turn on the power of S1S60000 or input the
reset signal and S1S60000 outputs the "boot" status (0x000b).
Table 2.2 Read value of boot status for each host CPU type
2
Table 2.1 Status form
13
12
11
10
Sequence number
Host CPU type
8-bit connection Little Endian
8-bit connection Big Endian
16-bit connection Little Endian
16-bit connection Big Endian
9
8
7
6
Communication end
point number
boot status
LSB port: 0x0b
MSB port: 0x00
LSB port: 0x00
MSB port: 0x0b
0x000b
0x000b
EPSON
S1S60000 Application Note No.2 (Rev.1.1)
5
4
3
2
Status number
1
0

Advertisement

Table of Contents
loading

Table of Contents