Serial interface command set definitions – Linx Technologies LICAL-TRC-MT User Manual

Page 13

Advertising
background image

20

21

Serial Interface Command Set Definitions

There are ten functions using the Serial Interface Engine (SIE). Each
function has the ability to read the current setting from the MT or write new
information to the specified configuration setting.

Serial Interface Command Set Definitions

Command

Description

Local Settings

Reads and writes the device’s local 24-bit address and

status line configuration. This allows the option to program all

devices with the same address and status line configuration,

or increment the address to utilize the full range of addresses.

Next User ID

Reads and writes the next available ID location, which will be

given to the next user manually learned into the system.

Specific User

Reads and writes the 24-bit address and status line

configuration for a specific user learned into the system. If a

device in the system is lost or stolen, that specific device can

be removed from the system and replaced with a new one

without having to erase the memory and re-learn all of the

other devices in the system. To remove an existing user, write

0xFF into the address and status line values. 0xFF should not

be used as a learned user.

Target Address

Reads and writes the local device’s 24-bit target address. This

allows a user to communicate directly with a specified target

device and not with any other devices even though they may

have been authorized for communication.

Custom Data Value

Reads and writes a single byte that is sent when Custom Data

is enabled. If enabled, the byte is sent with each packet, and

then output on the SER_IO line of the receiving device along

with the TX ID value and the status line value.

Latch Mask

Reads and writes the Latch Mask for the status line

outputs. This allows each status line to be individually set as

momentary or latched.

Status Value

Reads the current state of the transcoder’s status line outputs.

Writes the value of the status line inputs to send (subject to

I/O mask) and the number of packets to send.

Confirmation EN

Reads and writes the device’s confirmation enable setting.

When enabled, the receiving transcoder immediately transmits

a confirmation packet back to the originating transcoder.

The originating transcoder validates the confirmation and

then activates its CONFIRM line. If the confirmation is not

necessary or the user wants to free the air of additional

transmissions, confirmation can be disabled and the receiving

device does not transmit a confirmation packet.

Targeting EN

Reads and writes the device’s target enable setting. This

enables or disables the option for the transcoder to send a

targeted data packet.

Custom Data EN

Reads and writes the transcoder’s custom data setting. This

enables or disables the option for the transcoder to send a

custom data byte with each transmission.

Figure 16: Serial Interface Command Set Definitions

MT Series T

ranscoder Serial Interface Engine Timings (ms) at 28,800bps

SER_IO = Input

SR_IO = Output

Definition

Min

Ready

Max

Ready

Receive

Cmd

Pr

ocess

Cmd

Reply

W

ait

Transmit

Reply

Finish

Pr

ocess

Min T

otal

Time

Max T

otal

Time

Read Local Settings

0.08

17.00

2.80

1.11

4.00

3.10

0.04

11.13

28.05

W

rite Local Settings

0.08

17.00

2.80

1.03

4.00

1.73

17.80

27.44

44.36

Read Next User ID

0.08

17.00

2.80

1.06

4.00

2.07

0.04

10.06

26.97

W

rite Next User ID

0.08

17.00

2.80

1.04

4.00

1.73

3.65

13.30

30.22

Read Specific User

0.08

17.00

2.80

1.11

4.00

3.11

0.04

11.14

28.06

W

rite Specific User

0.08

17.00

2.80

1.04

4.00

1.73

14.30

23.95

40.87

Read T

arget Addr

ess

0.08

17.00

2.80

1.10

4.00

2.77

0.04

10.79

27.71

W

rite T

arget Addr

ess

0.08

17.00

2.80

1.05

4.00

1.73

10.74

20.40

37.32

Read Custom Data V

alue

0.08

17.00

2.80

1.07

4.00

2.08

0.04

10.07

26.99

W

rite Custom Data V

alue

0.08

17.00

2.80

1.05

4.00

1.73

3.65

13.31

30.23

Read Latch Mask V

alue

0.08

17.00

2.80

1.07

4.00

2.08

0.04

10.07

26.99

W

rite Latch Mask V

alue

0.08

17.00

2.80

1.05

4.00

1.73

3.65

13.31

30.23

Read Status Outputs

0.08

17.00

2.80

1.05

4.00

2.08

0.04

10.05

26.97

W

rite Status Inputs

0.08

17.00

2.80

1.06

4.00

1.73

**

9.73

26.65

Read Confirmation EN

0.08

17.00

2.80

1.07

4.00

2.08

0.04

10.07

26.99

W

rite Confirmation EN

0.08

17.00

2.80

1.06

4.00

1.73

3.65

13.32

30.24

Read Device T

argeting EN

0.08

17.00

2.80

1.08

4.00

2.08

0.04

10.08

27.00

W

rite Device T

argeting EN

0.08

17.00

2.80

1.06

4.00

1.73

3.65

13.32

30.24

Read Custom Data EN

0.08

17.00

2.80

1.08

4.00

2.08

0.04

10.08

27.00

W

rite Custom data EN

0.08

17.00

2.80

1.07

4.00

1.73

3.65

13.33

30.25

MinRdy applies when MT is in Encoder Only mode.

MaxRdy applies when MT is in T

ranscoder mode and time may be longer due to possible r

eceive timeout period.

Receive Command is calculated for 8 bytes at 28,800bps (34

µs/bit).

Transmit Reply is measur

ed on the SER_IO pin fr

om the MT

** Finish Pr

ocess time for the W

rite Status Inputs command = 0.06ms + (Packet T

ime * Number of Packets).

See Figur

e 19 for Packet T

ime.

Figure 15: MT Series Transcoder Serial Interface Engine Timings (ms) at 28,800bps

Advertising