Regexceptionmask, Regcmdhalt, Regnvexceptionmask – Linx Technologies TRM-915-R250 User Manual

Page 28: Regnvcmdhalt

Advertising
background image

– –

– –

50

51

CMD Halts Traffic- Address = 0x6E; NV Address = 0x23
When configuring the module’s register settings, it is possible that incoming
RF transmissions can intermix with the module’s response, making it
difficult to determine if your commands were successfully processed.
Changing this register setting to 0x01 causes the module to store incoming
RF traffic (up to the RF buffer overflow) while the CMD line is low. When the
CMD line is returned high, the module outputs all buffered data.

Figure 57 shows examples of the commands and Figure 58 shows the
available values.

Figure 57: 250 Series Transceiver CMD Halts Traffic Command and Response

250 Series CMD Halts Traffic Register Settings

V1

Mode

0x00

Disable Halt

0x01

Enable Halt

Figure 58: 250 Series CMD Halts Traffic Register Settings

250 Series CMD Halts Traffic

Read Command

Read Response

Header

Size

Escape

Address

ACK

Address

Value

0xFF

0x02

0xFE

0x6E

0x23

0x06

0x6E

0x23

V1

Write Command

Header

Size

Address

Value

0xFF

0x02

0x6E

0x23

V1

Exception Mask - Address = 0x6C; NV Address = 0x21
The module has a built-in exception engine that can notify the host
processor of an unexpected event. When an exception occurs, this register
is ANDed with the exception code. A non-zero result causes the EX line to
be asserted. Reading the regEXCEPTION register clears the exception and
resets the EX line. If the result is zero, the EX line is not asserted but the
exception code is stored in the regEXCEPTION register.

Figure 55 shows examples of the commands and Figure 56 shows the
available values.

Figure 55: 250 Series Transceiver Exception Mask Command and Response

250 Series Example Exception Masks

V1

Exception Name

0x08

Allows only EX_BUFOVFL and EX_RFOVFL to trigger the EX line

0x10

Allows only EX_WRITEREGFAILED to trigger the EX line

0x20

Allows only EX_NORFACK to trigger the EX line

0x40

Allows only EX_BADCRC, EX_BADHEADER, EX_BADSEQID and EX_

BADFRAMETYPE exceptions to trigger the EX line

0x60

Allows EX_BADCRC, EX_BADHEADER, EX_BADSEQID, EX_BADFRAMETYPE

and EX_NORFACK exceptions to trigger the EX line

0xFF

Allows all exceptions to trigger the EX line

Figure 56: 250 Series Transceiver Example Exception Masks

250 Series Exception Masks

Read Command

Read Response

Header

Size

Escape

Address

ACK

Address

Value

0xFF

0x02

0xFE

0x6C

0x21

0x06

0x6C

0x21

V1

Write Command

Header

Size

Address

Value

0xFF

0x02

0x6C

0x21

V1

Advertising
This manual is related to the following products: