Programming Notes - Epson E0C6006 Technical Manual

Cmos 4-bit single chip microcomputer
Table of Contents

Advertisement

4.9.6 Programming notes

(1) The following programming steps are needed to initialize the REM circuit (τ clock, REM interrupt
circuit):
• Write data at addresses 0F7H and 0F8H in that order within 80 machine clocks (equivalent to
eleven 7-clock instructions) after release from initial reset.
• With REMC = "0" (0F2H•D3), the REM circuit must not be stopped within cycle of 1τ after data
has been written at address 0F8H.
• To initialize the REM interrupt circuit, read the REM interrupt factor flag (address 0F0H) to clear it
at least an interval of 2τ after data has been written at address 0F8H.
(2) After initial reset, the REMC register stays at "1" to initialize the carrier generation circuit. The REMC
register can only be reset to "0" after initialization (at least 32 machine cycles later).
(3) The REM circuit does not stop immediately after the REMC register is reset to "0". It stops synchro-
nously with the interval τ, during which OSC3 must be held ON.
(4) With the REM circuit in operation, do not write data at addresses 0F8H and 0F9H (REM interrupt
counter and REMOUT time setting register) during an interval of one carrier before and after the rise
of τ.
(5) With the REM circuit in operation, do not write data at addresses 0F7H (τ-setting register).
(6) During the operation under hard-timer mode, the REMSO register must be fixed at "0".
(7) Reading of interrupt factor flag is available at EI, but be careful in the following cases.
If the interrupt mask register value corresponding to the interrupt factor flag to be read is set to "1", an
interrupt request will be generated by the interrupt factor flag set timing, or an interrupt request will
not be generated. Be very careful when interrupt factor flags are in the same address.
(8) If the RIC register is set again before a REM interrupt occurs with the RIC register set, an invalid
interrupt may occur.
(9) The values that can be set in the REM interrupt counter (0F8H) are from 0 to 0EH. Remember, writing
0FH into the counter may cause an error.
(10) Soft-timer mode cannot coexist with hard-timer mode.
To use them in combination, stop the REM circuit before selecting either.
E0C6006 TECHNICAL MANUAL
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Remote Controller)
EPSON
41

Advertisement

Table of Contents
loading

Table of Contents