beautypg.com

Configuration of the receiver, U3741bm – Rainbow Electronics U3741BM User Manual

Page 17

background image

17

U3741BM

4662B–RKE–10/04

If the receiver is set to polling mode via pin ENABLE, an ‘L’ pulse (T

Doze

) must be issued

at that pin. Figure 18 illustrates the timing of that command. After the positive edge of
this pulse, the sleep time T

Sleep

elapses. The receiver remains in sleep mode as long as

ENABLE is held to ‘L’. If the receiver is polled exclusively by a microcontroller, T

Sleep

can

be programmed to 0 to enable a instantaneous response time. This command is the
faster option than via pin DATA at the cost of an additional connection to the
microcontroller.

Figure 17. Timing Diagram of the OFF Command Via Pin DATA

Figure 18. Timing Diagram of the OFF Command Via Pin ENABLE

Configuration of the
Receiver

The U3741BM receiver is configured via two 12-bit RAM registers called OPMODE and
LIMIT. The registers can be programmed by means of the bi-directional DATA port. If
the register contents have changed due to a voltage drop, this condition is indicated by a
certain output pattern called reset marker (RM). The receiver must be reprogrammed in
that case. After a power-on reset (POR), the registers are set to default mode. If the
receiver is operated in default mode, there is no need to program the registers.

Table 3 on page 18 shows the structure of the registers. According to Table 2 on page
18
, bit 1 defines if the receiver is set back to polling mode via the OFF command, (see
section “Receiving Mode” on page 15) or if it is programmed. Bit 2 represents the regis-
ter address. It selects the appropriate register to be programmed.

Out1 (microcontroller)

DATA (U3741BM)

Serial bi-directional

data line

X

Bit 1
("1")

X

t1

t2

t3

t4

t5

t7

X

X

(Start bit)

Startup mode

OFF command

Receiver
on

t10

T

Sleep

ENABLE

DATA (U3741BM)

Serial bi-directional

data line

X

X

X

T

Sleep

X

toff

Receiver on

Startup mode

T

Doze