Phs Communications Mode - Epson S1C33210 Technical Manual

Cmos 32-bit single chip microcomputer
Table of Contents

Advertisement

PHS Communications Mode

Overview
The PHS communications mode works in combination with the software modem module to process PIAFS frames
for data transfers with PHS devices.
For a transmit operation, this mode serially transmits 76 bytes of data from one of two buffers plus a 32-bit CRC
using the frame and clock timing from the PHS device. For a receive operation, it waits for the 32-bit synchronization
pattern and then receives 76 bytes of data and a 32-bit FCS (CRC) into one of two buffers using the frame and clock
timing from the PHS device, checks the FCS (CRC), and stores the results in a register.
This mode sends two types of interrupt requests to the CPU: a PHS transmit interrupt after sending 640 bits of data
and a PHS receive interrupt after receiving 640 bits of data.
For communications macro select (MCRS) register (D[1:0]/0x200000) settings other than 00–that is, HDLC, PDC,
and PHS communications modes–the MOPORT3 and MOPORT2 bits in the communications block output port data
register (D[3:0]/0x020000A) drive the RTS and DTR pins using negative logic.
The MIPORT[1:0] bits in the communications block input port data register (D[1:0]/0x020000C) track the input
levels for the DSR and RI pins.
Signal Format
Figure 10.10 summarizes the PIAFS serial data signal format for PHS communications. The data format is the
same in both directions, but there is no phase synchronization between the two bit streams.
CTS (PHS clock)
TXD and RXD (serial data)
PIAFS synchronization frames, negotiation frames, and negotiation frames including synchronization frame
functions contain FI codes and SYNC patterns at the positions shown in the following Tables.
Synchronization frame
Negotiation frame
Negotiation frame including synchronization frame functions
SYNC Pattern
S1C33210 FUNCTION PART
III PERIPHERAL BLOCK: MONITORED MOBILE ACCESS INTERFACES
32 kbps: 20 ms
0 1 2 3 4 5 6 7
Figure 10.10 PHS Communications Data Format
Table 10.6 FI Code Types
Frame type
Table 10.7 SYNC Pattern
32-bit fixed bit pattern
(Bit positions 24 to 55 from start)
0 1 0 1 0 0 0 0 1 1 1 0 1 1 1 1 0 0 1 0 1 0 0 1 1 0 0 1 0 0 1 1
EPSON
@
64 kbps: 10 ms
Bit pattern (Bit positions
0 to 3 from start)
0 0 0 0
1 0 0 0
1 0 0 1
(Total 640 bits)
B-III-10-11

Advertisement

Table of Contents
loading

Table of Contents