Data Transmission Procedures; Remo Output Waveform - Epson S1C17W03 Technical Manual

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

4. Configure the following REMDBCTL register bits:
- Set the REMDBCTL.MODEN bit to 1.
- REMDBCTL.TRMD bit
- Set the REMDBCTL.BUFEN bit to 1.
- REMDBCTL.REMOINV bit
5. Configure the following REMCARR register bits:
- REMCARR.CRPER[7:0] bit
- REMCARR.CRDTY[7:0] bit
6. Set the REMCCTL.CARREN bit.
7. Set the following bits when using the interrupt:
- Write 1 to the interrupt flags in the REMINTF register.
- Set the interrupt enable bits in the REMINTE register to 1. (Enable interrupts)

17.4.2 Data Transmission Procedures

Starting data transmission
The following shows a procedure to start data transmission.
1. Set the REMAPLEN.APLEN[15:0] bits.
2. Set the REMDBLEN.DBLEN[15:0] bits.
3. Set the following REMDBCTL register bits:
- Set the REMDBCTL.PRESET bit to 1.
- Set the REMDBCTL.PRUN bit to 1.
Continuous data transmission control
The following shows a procedure to send data continuously after starting data transmission (after Step 3 above).
1. Set the duty and cycle for the subsequent data to the REMAPLEN.APLEN[15:0] and REMDBLEN.
DBLEN[15:0] bits, respectively, before a compare DB interrupt (REMINTF.DBIF bit = 1) occurs. (It is not
necessary to rewrite settings when sending the same data with the current settings.)
2. Wait for a compare DB interrupt (REMINTF.DBIF bit = 1).
3. Repeat Steps 1 and 2 until the end of data.
Terminating data transmission
The following shows a procedure to terminate data transmission.
1. Wait for a compare DB interrupt (REMINTF.DBIF bit = 1).
2. Set the REMDBCTL.PRUN bit to 0.
3. Set the REMDBCTL.MODEN bit to 0.

17.4.3 REMO Output Waveform

Carrier refers to infrared frequency in infrared remote control communication. Note, however, that carrier in this
manual refers to sub-carrier used in infrared remote control communication, as REMC2 does not control infrared
rays directly.
The REMC2 outputs the logical AND between the carrier signal output from the carrier generator and the data sig-
nal output from the data signal generator. Figure 17.4.3.1 shows an example of the output waveform.
S1C17W03/W04 TECHNICAL MANUAL
(Rev. 1.2)
(Enable count operation clock)
(Select repeat mode/one-shot mode)
(Enable compare buffer)
(Configure inverse logic output signal)
(Set carrier signal cycle)
(Set carrier signal duty)
(Enable/disable carrier modulation)
(Clear interrupt flags)
(Set data signal duty)
(Set data signal cycle)
(Reset internal counters)
(Start counting)
(Stop counting)
(Disable count operation clock)
Seiko Epson Corporation
17 IR REMOTE CONTROLLER (REMC2)
17-3

Advertisement

Table of Contents
loading

This manual is also suitable for:

S1c17w04

Table of Contents