User's Manual

LRM Radio Module
Host Interface Specification
LRM Configuration Concept
Document p/n: 9S02-7954-A001 Rev.A
Cattron-Theimeg Inc. Proprietary and Confidential Page 4-4
4. LRM Configuration Concept
All LRM configuration and status parameters are accessible through addressable registers.
- All parameters can be read in any of the following state: IDLE, RX, TX
- All writable parameters can be written in the following state: IDLE only
In order to facilitate adaptation to different platforms, the LRM configuration registers can be accessed using anyone
of three methods: I2C, SPI or serial asynchronous with ASCII strings.
The definition of the configuration registers is given in reference [3]. This section addresses the basic description of
all these three methods.
4.1 I2C
Signals I2C_SDA and I2C_SCL are used, according to the I2C standard protocol.
The LRM I2C configuration interface LRM emulates the behavior of the 1Kbytes I2C E2PROM found in all Unity
RF modules. This way, I2C operation is consistent for all Unity radios.
Device Address: 0xA0 (same as other Unity RF modules)
Device select code:
Write operations: supports “Byte write” and “Page write”.
Read operations: supports “Random Address Read” and “Sequential Random Read”.
For more details, refer to the M24C08 serial I2C E2PROM datasheet.
4.2 SPI
Signals SPI_PDO, SPI_PDI, SPI_CLK and SPI_PLE are used.
[TBD: Timings. (the LRM is a clock consumer)]
4.3 Console Interface
The serial interface configuration port is enabled by asserting !CONFIG signal; the serial interface is automatically
reconfigured in asynchronous mode, running at 38400bps, 8N1. All ASCII strings received are interpreted as
configuration commands. This mode is particularly useful for stand-alone testing, when the unit can be controlled
from a PC or by an operator/tester using a terminal emulation program.
4.3.1 “Write” command
wrCmd register value , where:
wrCmd = write command. w or wr can be used and are equivalent
register = register identification. Can use the register name or register address
value = value to be written, in decimal or hexadecimal format. Hexadecimal values are preceded by ‘0x’
Examples:
wr txf 915000000 : Write 915000000 to register txf (Tx frequency)