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

Cmos 32-bit single chip
Hide thumbs Also See for S1C31D50:
Table of Contents

Advertisement

4. Configure the following REMC3DBCTL register bits:
- Set the REMC3DBCTL.MODEN bit to 1.
- REMC3DBCTL.TRMD bit
- Set the REMC3DBCTL.BUFEN bit to 1.
- REMC3DBCTL.REMOINV bit
5. Configure the following REMC3CARR register bits:
- REMC3CARR.CRPER[7:0] bit
- REMC3CARR.CRDTY[7:0] bit
6. Configure the following REMC3CCTL register bits:
- REMC3CCTL.CARREN bit
- REMC3CCTL.OUTINVEN bit
7. Set the following bits when using the interrupt:
- Write 1 to the interrupt flags in the REMC3INTF register.
- Set the interrupt enable bits in the REMC3INTE register to 1. (Enable interrupts)

18.4.2 Data Transmission Procedures

Starting data transmission
The following shows a procedure to start data transmission.
1. Set the REMC3APLEN.APLEN[15:0] bits.
2. Set the REMC3DBLEN.DBLEN[15:0] bits.
3. Set the following REMC3DBCTL register bits:
- Set the REMC3DBCTL.PRESET bit to 1.
- Set the REMC3DBCTL.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 REMC3APLEN.APLEN[15:0] and REMC3DBLEN.
DBLEN[15:0] bits, respectively, before a compare DB interrupt (REMC3INTF.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 (REMC3INTF.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 (REMC3INTF.DBIF bit = 1).
2. Set the REMC3DBCTL.PRUN bit to 0.
3. Set the REMC3DBCTL.MODEN bit to 0.

18.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 REMC3 does not control infrared
rays directly.
The REMC3 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 18.4.3.1 shows an example of the output waveform.
S1C31D50/D51 TECHNICAL MANUAL
(Rev. 2.00)
(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)
(Configure output signal polarity)
(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
18 IR REMOTE CONTROLLER (REMC3)
18-3

Advertisement

Table of Contents
loading

This manual is also suitable for:

S1c31d51

Table of Contents