DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

LICAL-TRC-MT(2008) 데이터 시트보기 (PDF) - Unspecified

부품명
상세내역
제조사
LICAL-TRC-MT
(Rev.:2008)
ETC2
Unspecified ETC2
LICAL-TRC-MT Datasheet PDF : 15 Pages
1 2 3 4 5 6 7 8 9 10 Next Last
SERIAL OUTPUT
Upon reception of every valid packet, the transcoder outputs a serial data stream
containing information about the transmission. The information takes two forms
depending on the User Access setting.
If the User Access is set to open, then the serial output consists of a start byte,
the three byte address of the transmitting device, a status line byte, a custom
data byte, and a stop byte. The start byte is 0x00 and the stop byte is 0xFF.
SER_IO
00 ADR 1 ADR 2 ADR 3 STATUS CUSTOM FF
start b0 b1 b2 b3 b4 b5 b6 b7 stop start b0 b1 b2 b3 b4 b5 b6 b7 stop
Figure 8: MT Series Transcoder Open Access Serial Output
If the User Access is set to locked, then the serial output consists of a start byte,
TX ID byte, status line byte, custom data byte, and a stop byte. The start byte is
0x00 and the stop byte is 0xFF.
SER_IO
00 TX ID STATUS CUSTOM FF
start b0 b1 b2 b3 b4 b5 b6 b7 stop start b0 b1 b2 b3 b4 b5 b6 b7 stop
Figure 9: MT Series Transcoder Locked Access Serial Output
The status line byte reflects the states of the status lines, ‘1’ for high and ‘0’ for
low. This represents the current logic states of the outputs, not the command that
was received, so that the states of latched lines are correctly represented. Line
D0 corresponds to bit b0 in the byte, D1 corresponds to b1, and so forth. This
allows applications that use an embedded microcontroller to read the transmitted
commands without having to monitor eight hardware lines.
The TXID and Custom Data bytes are described in their own sections.
The bytes are output asynchronously least significant bit first with one start bit,
one stop bit, and no parity at the baud rate determined by the SEL_BAUD line.
During normal operation, the SER_IO line is an input, becoming an output only
when sending the data stream or responding to a serial command. These are
described more in the Serial Interface section. Application Note AN-00157 shows
some example software to read the TX ID and associate it with a particular
transcoder.
This feature is useful in applications that need to track and record activation
attempts. The transcoder validates that the command is from an authorized
transmitter and an external microcontroller or PC can record the TX ID and
status line activation and time into a log. The Custom byte can also be used as
an additional validation or to send a sensor reading that also needs to be logged.
Page 14
SERIAL MODE
One of the most powerful features of the MT Series is its Serial Interface Engine
(SIE). The SIE allows the user to monitor and control the device configuration
settings through an automated system or PC rather than manually through the
hardware lines. While serial programming is not required for basic operation, it
enables the advanced features offered by the MT, such as Targeted Device
Addressing and Custom Data transmissions.
The SIE consists of twenty commands. The transcoder outputs an
acknowledgement once it has received each command, and then a response of
up to four additional bytes if required by the command.
Serial Mode is entered by taking the CRT/LRN line high while the SER_IO line
is high. The MODE_IND line goes high for as long as the SER_IO line is an
output, allowing it to be used with RS-232 style handshaking. Each byte is sent
LSB first with one start bit, one stop bit, and no parity at the baud rate determined
by the SEL_BAUD line. After the last command byte is received, there will be a
1mS pause while the SER_IO line is changed to an output, then a 4mS pause
while the transcoder processes the command. Then it outputs the
acknowledgement and a response if appropriate. The SER_IO line is changed to
an input as soon as the MODE_IND line drops after the acknowledgement is
sent. The figure below shows the order and timing of the serial interface.
CRT/LRN (INPUT)
MODE_IND (OUTPUT)
SER_IO = INPUT
Command
SER_IO = OUTPUT
Acknowledge/Response
SER_IO (INPUT/OUTPUT)
00 C C C C C C FF 1mS 4mS 00 A A A R R R R FF
t1 t2
start b0 b1 b2 b3 b4 b5 b6 b7 stop start b0 b1 b2 b3 b4 b5 b6 b7 stop
Figure 10: MT Series Transcoder Serial Programming
Time t1 in the figure above does not have to be any specific time, just so long as
the SER_IO line goes high before the CRT/LRN line. Time t2 should be greater
than 120µS (typical of 35mS, see the Mode Entry Timings section) to ensure that
the transcoder goes into Serial Mode. There is not a maximum time specified.
Once in Serial Mode, the transcoder waits for the start byte (0x00) of the serial
command.
The timings associated with each command and the transcoder’s response are
listed in Tables 7 (9,600bps) and 8 (28,800bps).
To send consecutive commands, keep the CRT/LRN line high and take the
SER_IO line high within 50µS of the MODE_IND line going low.
It should be noted that all of the settings are written into non-volatile memory, so
they will be retained if power is removed from the chip. This includes all values,
such as custom byte and target address, as well as the enabled / disabled states.
Page 15

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]