22 REMOTE CONTROLLER (REMC)
S1C33L26 TECHNICAL MANUAL
Seiko Epson Corporation
22-3
4.1 Data Length Counter Clock (PCLK2 Division Ratio) Selection
Table 22.
LCCLK[3:0]
Division ratio
LCCLK[3:0]
Division ratio
0xf
Reserved
0x7
1/128
0xe
1/16384
0x6
1/64
0xd
1/8192
0x5
1/32
0xc
1/4096
0x4
1/16
0xb
1/2048
0x3
1/8
0xa
1/1024
0x2
1/4
0x9
1/512
0x1
1/2
0x8
1/256
0x0
1/1
(Default: 0x0)
The data length counter can count up to 256. The count clock should be selected to ensure that the data length fits
within this range.
Data Transfer Control
22.5
Make the following settings before starting data transfers.
(1) Configure the carrier signal. (See Section 22.3.)
(2) Select the data length counter clock. (See Section 22.4.)
(3) Set the interrupt conditions. (See Section 22.6.)
Note: Make sure the REMC module is halted (REMEN/REMC_CFG register = 0) before changing the
above settings.
Data transmission control
REMDT
REMC_O pin output
Carrier
REMDT
REMC_O pin output
5.1 Data Transmission
Figure 22.
PCLK2
PSC Ch.1 output clock
(Data length counter clock)
REMLEN[7:0]
Interrupt signal
4
3
2
1
0
5.2 Underflow Interrupt Generation Timing
Figure 22.
(1) Data transmit mode setting
Set REMC to transmit mode by writing 0 to REMMD/REMC_CFG register.
(2) Enabling data transmission
Enable REMC operation by setting REMEN/REMC_CFG register to 1. This initiates REMC transmission.
Set REMDT/REMC_LCNT register to 0 and REMLEN[7:0]/REMC_LCNT register to 0x0 before setting RE-
MEN to 1 to prevent unnecessary data transmission.
(3) Transmission data setting
Set the data to be transmitted (High or Low) to REMDT/REMC_LCNT register.
Setting REMDT to 1 outputs High; setting it to 0 outputs Low from the REMC_O pin after being modulated by
the carrier signal.