TÜV NORD Hochfrequenztechnik GmbH & Co. KG
Rottland 5a, 51429 Bergisch Gladbach, Germany
Tel: +49 2207 9689-0
Fax +49 2207 9689-20
Annex acc. to FCC Title 47 CFR Part 15
relating to
ecom GmbH
MODUL-AX5243_S
Annex no. 5
User Manual
Functional Description
Title 47 - Telecommunication
Part 15 - Radio Frequency Devices
Subpart C – Intentional Radiators
ANSI C63.4-2014
ANSI C63.10-2013
AND9347/D
AX5043 Programming
Manual
Advances High Performance ASK and
FSK Narrow-Band Transceiver for
27−1050 MHz Range
www.onsemi.com
OVERVIEW
AX5043 is a true single chip low-power CMOS
transceiver for narrow band applications. A fully integrated
VCO supports carrier frequencies in the 433 MHz,
868 MHz and 915 MHz ISM band. An external VCO
inductor enables carrier frequencies from 27 MHz to
1050 MHz. The on-chip transceiver consists of a fully
integrated RF front-end with modulator, and demodulator.
Base band data processing is implemented in an advanced
and flexible communication controller that enables user
friendly communication via the SPI interface.
APPLICATION NOTE
An on-chip low power oscillator as well as Wake-on-radio
enable very low power standby applications. The AX5043
is also available with the AX8052F100 microcontroller in
a single integrated circuit as the AX8052F143. Figure 1
shows the block diagram of the AX5043.
Connecting the AX5043 to an AX8052F100 or other
Microcontroller
The AX5043 can easily be connected to an AX8052F100
or any other microcontroller. The microcontroller
communicates with the AX5043 via a register file that is
implemented in the AX5043 and that can be accessed
serially via an industry standard Serial Peripheral Interface
(SPI) protocol.
Reset is performed by the integrated power-on-reset
(POR) block and can be performed manually via the register
file.
The AX5043 sends and receives data via the SPI port in
frames. This standard operation mode is called frame mode.
In frame mode, the internal communication controller
performs frame delimiting, and data is received and
transmitted via a 256 Byte FIFO, accessible via the register
file. The FIFO is shared between receive and transmit.
Figure 2 shows the corresponding diagram. Connecting the
interrupt line is highly recommended, though not strictly
required. With the AX8052F100, it is also recommended to
connect the SYSCLK line. This allows the Microcontroller
to run from the precise crystal clock of the AX5043, or to
calibrate its internal oscillators from against this clock.
Figure 2. Connecting AX5043 to AX8052F100 or other mC
www.onsemi.com
3
AND9347/D
Pin Function Descriptions
Table 1. PIN FUNCTION DESCRIPTION
SymbolPin(s)TypeDescription
VDD_ANA1PAnalog power output, decouple to neighboring GND
GNDCenter PadPGround on center pad of QFN, must be connected
A = analog signal
I = digital input signal
O = digital output signal
I/O = digital input/output signal
N = not to be connected
P = power or ground
All digital inputs are Schmitt trigger inputs, digital input
and output levels are LVCMOS/LVTTL compatible and 5 V
tolerant.
www.onsemi.com
4
AND9347/D
SPI Register Access
Registers are accessed via a synchronous Serial Peripheral
Interface (SPI). Most Registers are 8 bits wide and accessed
using the waveforms as detailed in Figure 3. These
SS
SCK
R/WA7S7A6A5A4A3A2A1
MOSI
MISO
S14 S13 S12 S11S9A8S8
A11 A10 A9
111
S6S5S4S3S2S1A0S0
Figure 3. SPI 8bit Long Address Read/Write Access
The most important registers are at the beginning of the
address space, i.e. at addresses less than 0x70. These
Figure 4. SPI 8bit Read/Write Access
Some registers are longer than 8 bits. These registers can
be accessed more quickly than by reading and writing
individual 8 bit parts. This is illustrated in Figure 5. Accesses
are not limited by 16 bits either, reading and writing data
waveforms are compatible to most hardware SPI master
controllers, and can easily be generated in software. MISO
changes on the falling edge of CLK, while MOSI is latched
on the rising edge of CLK.
D7D6D5 D4D3D2D1 D0
D7 D6D5 D4D3 D2D1D0S10
registers can be accessed more efficiently using the short
address form, which is detailed in Figure 4.
bytes can be continued as long as desired. After each byte,
the address counter is incremented by one. Also, this access
form also works with long addresses.
SS
SCK
R/W A6A5A4A3A2A1A0
MOSI
MISO
S14 S13 S12 S11 S10 S9S8
D7 D6D5D4 D3D2D1D0
D7 D6D5D4 D3D2D1D0
AA+1
Figure 5. SPI 16bit Read/Write Access
During the address phase of the access, the chip outputs
the most important status bits. This feature is designed to
handler. The table below shows which register bit is
transmitted during the status timeslots.
speed up software decision on what to do in an interrupt
Table 2. SPI STATUS BITS
SPI Bit CellStatusRegister Bit
0−1 (when transitioning out of deep sleep, this bit transitions from 0→1 when the power becomes ready)
1S14PLL LOCK
2S13FIFO OVER
3S12FIFO UNDER
4S11THRESHOLD FREE ( FIFO Free > FIFO threshold)
5S10THRESHOLD COUNT (FIFO count > FIFO threshold)
6S9FIFO FULL
7S8FIFO EMPTY
8S7PWRGOOD (not BROWNOUT)
Note that bit cells 8−15 (S7…S0) are only available in two
address byte SPI access formats.
Deep Sleep
The chip can be programmed into deep sleep mode. In
deep sleep mode, the chip is completely switched off, which
results in very low leakage power. All registers loose their
programming.
To enter deep sleep mode, write the deep sleep encoding
into bits 3:0 of PWRMODE. At the rising edge of the SEL
line, the chip will enter deep sleep mode.
To exit deep sleep mode, lower the SEL line. This will
initiate startup and reset of the chip. Then poll the MISO
line. The MISO line will be held low during initialization,
and will rise to high at the end of the initialization, when the
chip becomes ready for further operation.
Address Space
The address space has been allocated as follows.
Addresses from 0x000 to 0x06F are reserved for “dynamic
registers”, i.e. registers that are expected to be frequently
accessed during normal operation, as they can be efficiently
accessed using single address byte SPI accesses. Addresses
from 0x070 to 0x0FF have been left unused (they could only
be accessed using the two address byte SPI format).
Addresses from 0x100 to 0x1FF have been reserved for
physical layer parameter registers, for example receiver,
transmitter, PLL, crystal oscillator. Adresses from 0x200 to
0x2FF have been reserved for medium access parameters,
such as framing, packet handling. Addresses from 0x300 to
0x3FF have been reserved for special functions, such as
GPADC.
www.onsemi.com
6
FIFO OPERATION
AND9347/D
The AX5043 features a 256 Byte FIFO. The same FIFO
is used for both reception and transmission. During transmit,
only the write port is accessible by the microcontroller.
During receive, only the read port is accessible by the
microcontroller. Otherwise, both ports are accessible
through the register file.
In order to prevent transmitting premature data, the FIFO
contains three pointers. Data is read at the read pointer, up
to the write pointer. Data is written to the write ahead pointer .
The write pointer is not updated when data is written,
therefore, new data is not immediately visible to the
consumer. Writing the COMMIT command to the
FIFOSTAT register copies the write ahead pointer to the
write pointer, thus making the written data visible to the
Write ahead pointer
Write pointer
FIFOCOUNT
receiver. Writing the ROLLBACK command to the
FIFOSTAT register sets the write ahead pointer to the write
pointer, thus discarding data written to the FIFO. During
transmit, this means that the transmitter will only consider
data written to the FIFO after the commit command. During
receive, this feature is used by the receiver to store packet
data before it is known whether the CRC check passes.
FIFOCOUNT reports the number of bytes that can be read
without causing an underflow. FIFOFREE reports the
number of bytes that can be written without causing an
overflow. FIFOCOUNT and FIFOFREE do not add up to
256 Bytes whenever there are uncommitted bytes in the
FIFO. Figure 6 illustrates this.
256−FIFOFREE
Figure 6. FIFO Pointer
FIFO Chunk Encoding
In order to distinguish meta-data (such as RSSI) from
receive or transmit data, FIFO contents are organized as
chunks. Chunks consist of a header that encodes the chunk
length as well as the payload data format.
Each chunk starts with a single byte header. The header
encodes the length of a chunk, and indicates the data it
contains. The top 3 bits encode the length (or optionally refer
to an additional length byte after the header byte), and the
bottom 5 bits indicate what payload data the chunk contains.
The following table lists the encoding of the length bits (top
3 bits of the first chunk header byte). Figure 7 shows the
chunk header byte encoding.
The following table lists the chunk payload size encoding:
www.onsemi.com
7
AND9347/D
Table 3. CHUNK PAYLOAD SIZE ENCODING (continued)
Top BitsChunk Payload Size
100Invalid
101Invalid
110Invalid
111Variable length payload; payload size is encoded in the following length byte the length byte is part of
the header (and not included in length), everything after the length byte is included in the length
The following table lists the chunk types and their
encodings. The Hdr Byte column lists the complete FIFO
Chunk Header Byte, consisting of the length and data format
encodings.
T01100010Repeat Data
R01110000Timer
R01110011RF Frequency Offset
R01110100Datarate
R01110101Antenna Selection RSSI
TR11100001Data
T11111101Transmit Power
Hdr. Byte
7−0
Description
(Antenna, Power Amp)
Calculation RSSI
Direction: T = Transmit, R = Receive
NOP Command
Table 5. NOP COMMAND
76543210
00000000
The NOP command will be discarded without effect by
the transmitter. The receiver will not generate NOP
commands.
RSSI Command
Table 6. RSSI COMMAND
76543210
00000000
RSSI
The RSSI command will only be generated by the receiver
at the end of a packet if bit STRSSI is set in register
PKTSTOREFLAGS. The encoding is the same as that of the
RSSI register.
TXCTRL Command
Table 7. TXCTRL COMMAND
76543210
00111100
0SETTXTXSE TXDIFFSETANTANTS
TATE
SETPAPAST
ATE
The TXCTRL command allows certain aspects of the
transmitter to be changed on the fly. If SETTX is set, TXSE
and TXDIFF are copied into the register MODCFGA. If
SETANT is set, ANTSTATE is copied into register
DIVERSITY. If SETPA is set, PASTATE is copied into
register PWRAMP.
FREQOFFS Command
Table 8. FREQOFFS COMMAND
76543210
01010010
FREQOFFS1
FREQOFFS0
The FREQOFFS command will only be generated by the
receiver at the end of a packet if bit STFOFFS is set in
register PKTSTOREFLAGS. The encoding is the same as
that of the TRKFREQ register.
www.onsemi.com
8
AND9347/D
ANTRSSI2 Command
Table 9. ANTRSSI2 COMMAND
76543210
01010101
RSSI
BGNDNOISE
REPEATDATA Command
Table 10. REPEATDATA COMMAND
76543210
01100010
00UNENCRAWNOCRCRESIDUEPKTENDPKTSTART
REPEATCNT
DATA
The ANTRSSI2 command will be generated by the
receiver when it is idle if bit STANTRSSI is set in register
PKTSTOREFLAGS. If DIVENA is set in register
DIVERSITY, the ANTRSSI3 command is generated
instead. The encoding of the RSSI field is the same as that
of the RSSI register. The BGNDNOISE field contains an
estimate of the background noise.
The REPEATDATA command allows the efficient
transmission of repetitive data bytes. The DATA byte given
in the payload is repeated REPEATCNT times. See DATA
command for a description of the flag byte. This command
is especially handy for constructing preambles.
TIMER Command
Table 11. TIMER COMMAND
76543210
01110000
TIMER2
TIMER1
TIMER0
The TIMER command will only be generated by the
receiver at the start of a packet if bit STTIMER is set in
register PKTSTOREFLAGS. The payload is a copy of the
µs timer TIMER register. This command enables exact
packet timing for example for frequency hopping systems.
RFFREQOFFS Command
Table 12. RFFREQOFFS COMMAND
76543210
01110011
RFFREQOFFS2
RFFREQOFFS1
RFFREQOFFS0
The RFFREQOFFS command will only be generated by
the receiver at the end of a packet if bit STRFOFFS is set in
register PKTSTOREFLAGS. The encoding is the same as
that of the TRKRFFREQ register.
DATARATE Command
Table 13. DA TARATE COMMAND
76543210
01110100
DATARATE2
DATARATE1
DATARATE0
The DATARATE command will only be generated by the
receiver at the end of a packet if bit STDR is set in register
PKTSTOREFLAGS. The encoding is the same as that of the
TRKDATARATE register.
ANTRSSI3 Command
Table 14. ANTRSSI3 COMMAND
76543210
01110101
ANTORSSI2
ANTORSSI1
ANTORSSI0
The ANTRSSI3 command will be generated by the
receiver when it is idle if bit STANTRSSI is set in register
PKTSTOREFLAGS. If DIVENA is not set in register
DIVERSITY, the ANTRSSI2 command is generated
instead. The encoding of the ANT0RSSI and ANT1RSSI
fields are the same as that of the RSSI register.
The BGNDNOISE field contains an estimate of the
background noise.
DATA Command
The DATA command transports actual transmit and
receive data. While the basic format is the same for transmit
and receive, the semantics of the flag byte differs.
www.onsemi.com
9
AND9347/D
Table 15. TRANSMIT DATA FORMAT
76543210
11100001
LENGTH
00UNENCRAWNOCRCRESIDUEPKTENDPKTSTART
DATA
LENGTH includes the flags byte as well as all DATA
bytes.
Setting RAW to one causes the DATA to bypass the
framing mode, but still pass through the encoder.
Setting UNENC to one causes the DATA to bypass the
framing mode, as well as the encoder, except for inversion.
UNENC has priority over RAW.
Setting NOCRC suppresses the generation of the CRC
bytes.
Setting RESIDUE allows the transmission of a number of
data bits that is not a multiple of eight. All but the last data
byte are transmitted as if RESIDUE was not set. The last
byte however contains only 7 bits or less. The transmitter
looks for the highest bit set. This is considered the stop bit.
Only bits below the stop bit are transmitted. If the
MSBFIRST in register PKTADDRCFG is set, the algorithm
Table 16. FIFO COMMAND
0xE1FIFO Command
0x04Length Byte
0x24Flag Byte: Unencoded, to ensure 0−1 remains 0−1, and Residue set, because the number of bits
transmitted is not a multiple of 8
0xAAAlternating 0−1 bits
0xAAAlternating 0−1 bits
0x1AAlternating 0−1 bits; Bit 4 is the “Stop” bit
is reversed, i.e. the lowest bit set is considered the stop bit
and bits above the stop bit are transmitted.
PKTSTART and PKTEND bits enable the transmission of
packets that are larger than the FIFO size. If PKTSTART is
set, the radio packet starts at the beginning of the DATA
command payload. If PKTEND is set, the radio packet ends
at the end of the DA TA command payload. If PKTSTART is
not set, this command is the continuation of a previous
DATA command. If PKTEND is not set, the packet is
continued with the next DATA command.
PKTSTART in RAW mode causes the DATA bytes to be
aligned to DiBit boundaries in 4−FSK mode.
For example, to transmit 20 bits of an alternating 0−1
pattern as a preamble, the following bytes should be written
to the FIFO (MSBFIRST = 0 in register PKTADDRCFG is
assumed):
ABOR T i s set if the packet has been aborted. An ABORT
sequence is a sequence of seven or more consecutive one bits
when HDLC [1] framing is used. Note that if ACCPTABR T
is not set in register PKTACCEPTFLAGS, then aborted
packets are silently dropped.
SIZEFAIL is set if the packet does not pass the size
checks. Size checks are implemented using the
PKTLENCFG, PKTLENOFFSET and PKTMAXLEN
registers. Note that if ACCPTSZF is not set in register
PKTACCEPTFLAGS, then packets with an invalid size are
silently dropped.
ADDRFAIL is set if the packet does not pass the address
checks. Address checks are implemented using the
www.onsemi.com
PKTADDRCFG, PKTADDR and PKTADDRMASK
registers. Note that if ACCPTADDRF is not set in register
PKTACCEPTFLAGS, then packets which do not match the
programmed address are silently dropped.
CRCF AIL i s set if the packet does not pass the CRC check.
Note that if ACCPTCRCF is not set in register
PKTACCEPTFLAGS, then packets which fail the CRC
check are silently dropped.
RESIDUE, PKTEND and PKTSTART work identical as
in transmit mode, see above.
The receiver generates chunks up to PKTCHUNKSIZE
bytes. If PKTMAXLEN is larger than PKTCHUNKSIZE,
multiple chunks may be generated for one packet. Since
10
AND9347/D
CRC and size checks may only be performed at the end of
the packet, only the last chunk can be dropped at failure of
one of those tests. It is therefore important that the
microcontroller receiver routine clears its receive buffer at
the beginning of DATA commands whose PKTSTART bit
is set, as the buffer may still contain bytes from erroneous
packets.
TXPWR Command
Table 18. TXPWR COMMAND
76543210
11110010
LENGTH = 10
TXPWRCOEFFA (7:0)
TXPWRCOEFFA (15:8)
TXPWRCOEFFB (7:0)
TXPWRCOEFFB (15:8)
TXPWRCOEFFC (7:0)
TXPWRCOEFFC (15:8)
TXPWRCOEFFD (7:0)
TXPWRCOEFFD (15:8)
TXPWRCOEFFE (7:0)
TXPWRCOEFFE (15:8)
The TXPWR command allows the transmit power to be
changed on the fly. This command updates the
TXPWRCOEFFA, TXPWRCOEFFB, TXPWRCOEFFC,
TXPWRCOEFFD and TXPWRCOEFFE registers.
www.onsemi.com
11
PROGRAMMING THE CHIP
AND9347/D
Power Modes
To enable the lowest possible application power
consumption, the AX5043 allows to shut down its circuits
Table 19. PWRMODE REGISTER STATES
PWRMODE registerNameDescriptionTypical Idd
0000POWERDOWNPowerdown; all circuits powered down except for the register file400 nA
0001DEEPSLEEPDeep Sleep Mode; Chip is fully powered down until SEL is lowered
The following list explains the typical programming flow.
Preparation:
1. Reset the Chip. Set SEL to high for at least 1μs,
then low. Wait until MISO goes high. Set, and then
clear, the RST bit of register PWRMODE.
2. Set the PWRMODE register to POWERDOWN.
3. Program parameters. It is recommended that
suitable parameters are calculated using the
AX_RadioLab tool available from Axsem.
4. Perform auto-ranging, to ensure the correct VCO
when not needed. This is controlled by the PWRMODE
register. Idd values are typical; for exact values, please refer
to the AX5043 datasheet [2].
50 nA
7-11 mA
6−70 mA
mode, the FIFO is automatically kept powered until it is
emptied by the microprocessor.
In the transmit case, PWRMODE should first be set to
FULLTX. Before writing to the FIFO, the microprocessor
must ensure that the SVMODEM bit is high in Register
POWSTAT, to ensure that the on-chip voltage regulator
supplying the FIFO has finished starting up. The transmitter
remains idle until the contents of the FIFO are committed
(unless the FIFO AUTO COMMIT bit is set in Register
FIFOSTAT).
range setting.
The chip is now ready for transmit and receive operations.
FIFO Power Management
The FIFO is powered down during POWERDOWN and
DEEPSLEEP modes (Register PWRMODE). The FIFO
EMPTY and FIFO FULL bits (Register FIFOSTAT), as well
as the FIFOCOUNT and FIFOFREE registers read zero.
Reads from the FIFO will return undefined data, and writes
to the FIFO will be lost.
In the receive case, the FIFO is automatically powered on
when the chip PWRMODE is set to FULLRX. The FIFO
should be emptied before the PWRMODE is set to
Autoranging
Whenever the frequency changes, the synthesizer VCO
should be set to the correct range using the built-in autoranging. A re-ranging of the VCO is required if the
frequency change required is larger than 5 MHz in the
868/915 MHz band or 2.5 MHz in the 433 MHz band. Each
individual chip must be auto-ranged. If both frequency
register sets FREQA and FREQB are used, then both
frequencies must be auto-ranged by first starting
auto-ranging in PLLRANGINGA, waiting for its
completion, followed by starting auto-ranging in
PLLRANGINGB and waiting for its completion.
POWERDOWN. In Wake-on-radio or POWERDOWN
www.onsemi.com
12
AND9347/D
Figure 8 shows the flow chart of the auto-ranging process.
Set PWRMODE to STANDBY
Enable TCXO if used
Wait until crystal oscillator
Set RNGSTART of PLLRANGINGA/B
Set PWRMODE to POWERDOWN
Figure 8. Autoranging Flow Chart
is ready
RNGSTART = 1?
no
RNGERR = 1?
no
Disable TCXO if used
yes
yes
Error
Before starting the auto-ranging, the appropriate
frequency registers (FREQA3, FREQA2, FREQA1 and
FREQA0 or FREQB3, FREQB2, FREQB1 and FREQB0)
need to be programmed. Auto-ranging starts at the VCOR
(register PLLRANGINGA or PLLRANGINGB) setting;
if you already know the approximately correct synthesizer
VCO range, you should set VCORA/VCORB to this value
prior to starting auto-ranging; this can speed up the ranging
process considerably . If you have no prior knowledge about
the correct range, set VCORA/VCORB to 8. Starting with
VCORA/VCORB < 6 should be avoided, as the initial
synthesizer frequency can exceed the maximum frequency
specification.
Hardware clears the RNG START bit automatically as
soon as the ranging is finished; the device may be
programmed to deliver an interrupt on resetting of the RNG
START bit.
Waiting until auto-ranging terminates can be performed
by either polling the register PLLRANGINGA or
PLLRANGINGB for RNG START to go low, or by enabling
the IRQMPLLRNGDONE interrupt in register
IRQMASK1.
Choosing the Fundamental Communication
Characteristics
The following table lists the fundamental communication
characteristics that need to be chosen before the device can
be programmed.
Table 20. FUNDAMENTAL COMMUNICATION CHARACTERISTIC
ParameterDescription
f
XTAL
modulationFSK, MSK, OQPSK, 4−FSK or AFSK (for recommendations see below)
f
CARRIER
BITRATEDesired bit rate in bit/s
hModulation index, determines the frequency deviation for FSK
encodingInversion, differential, manchester, scrambled, for recommendations see the description of the register
Frequency of the connected crystal in Hz
Carrier frequency (i.e. center frequency of the signal) in Hz
32 > h ≥ 0.5 for FSK, 4−FSK or AFSK, f
h = 0.5 for MSK and OQPSK
(For AFSK, f
often approximately 3 kHz)
ENCODING.
is usually set according to the FM channel specification. For 25 kHz channels, it is
deviation
= 0.5 * h * BITRATE
deviation
The following table gives an overview of the trade-offs
between the different modulations that AX5043 offers, they
should be considered when making a choice.
Table 21. TRADE-OFFS BETWEEN THE DIFFERENT MODULATION
ModulationTrade-offs
f
XTAL
FSKFor bit rates up to 125 kbit/s
Frequency of the connected crystal in Hz
Frequency deviation is a free parameter
www.onsemi.com
13
AND9347/D
x16+x12+x5+1
16
32
5
Table 21. TRADE-OFFS BETWEEN THE DIFFERENT MODULATION (continued)
ModulationTrade-offs
MSKFor bit rates up to 125 kbit/s
Robust and spectrally efficient form of FSK (Modulation is the same as FSK with h = 0.5)
Frequency deviation given by bit rate
The advantage of MSK over FSK is that it can be demodulated with higher sensitivity.
Slightly longer preambles required than for FSK
OQPSKFor bit rates up to 125 kbit/s
Very similar to MSK, with added precoding / postdecoding
For new designs, use MSK instead
PSKFor bit rates up to 125 kBit/s
Spectrally efficient and high sensitivity
Very accurate frequency reference (maximum carrier frequency deviation ±
preambles required
4−FSKFor bit rates up to 100 kSymbols/s, or 200 kbit/s
Similar to FSK, but four frequencies are used to transmit 2 bits simultaneously
Very slightly more spectrally efficient compared to FSK
((1 + 3 h/2) ⋅ BITRATE versus (1 + h) ⋅ BITRATE) for small h.
Longer preambles required as frequency offset estimation needs to be more precise to successfully
demodulate
For new designs, use FSK instead
AFSKFor bit rates up to 25 kbit/s
Bits are FSK modulated in the audio band, then frequency modulated on the carrier frequency.
For legacy compatibility applications only.
1
/4 ⋅BITRATE) and long
Given these fundamental physical layer parameters,
AX_RadioLab should be used to compute the register
settings of the AX5043.
Framing
Figure 1 shows the block diagram of the AX5043. After
the user writes a transmit packet into the FIFO, the Radio
Controller sequences the transmitter start-up, and signals the
Packet Controller to read the packet from the FIFO and add
framing bits, allowing the receiver to lock to the transmit
waveform, and to detect packet and byte boundaries. If MSB
first is selected (register PKTADDRCFG), then the bits
within each byte are swapped when the data is read out from
the FIFO.
The Packet Controller also (optionally) adds cyclic
redundancy check bits at the end of the packet, to enable the
receiver to detect transmission errors. Both 16 and 32 Bit
CRC can be selected, as well as different generator
polynomials. The CRC polynomial can be selected in
register FRAMING. The following polynomials are
supported:
• CRC-CCITT (16bit):
(hexadecimal: 0x1021)
• CRC-16 (16bit):
+ x15+ x2+1
x
(hexadecimal: 0x8005)
• CRC-DNP (16bit):
16
+ x13+ x12+ x11+ x10+ x8+ x6+ x5+ x2+1
x
(hexadecimal: 0x3D65)
This polynomial is used for Wireless M-Bus.
• CRC-32 (32bit):
x
+ x26+ x23+ x22+ x16+ x12+ x11+ x10+ x8+ x7+
5
x
x4+ x2+x+
+
(hexadecimal: 0x04C11DB7)
1
The CRC is always transmitted MSB first regardless of
the MSB first setting of register PKTADDRCFG, to enable
the receiver to process CRC bits as they arrive (otherwise,
they would have to be stored and reordered). For an in-depth
guide on how CRC’s are computed, see [3].
Finally, the encoder is able to perform certain bit-wise
operations on the bit-stream:
• Manchester:
Manchester transmits a one bit as 10 and a zero bit as
01, i.e. it doubles the data rate on the radio channel. Its
advantage is that the resulting bit-stream has many
transitions and thus simplifies synchronizing to the
transmission on the receiver side. The downside is that
it now requires twice the amount of energy for the
transmission. Manchester is not recommended, except
for compatibility with legacy systems.
• Scrambler:
The scrambler ensures that even highly regular transmit
data results in a seemingly random transmitted
bit-stream. This avoids discrete tones in the spectrum.
Do not confuse the scrambler with encryption – it does
not provide any secrecy, its actions are easily reversed.
Its use is recommended.
• Differential:
Differential transmits zero bits as constant level, and
one bits as level change. This allows to accomodate
www.onsemi.com
14
AND9347/D
modulations that can invert the bit-stream, such as PSK.
It is available for compatibility with other Axsem
transceivers, but usually not used on the AX5043.
• Inversion:
If on, the bit-stream is inverted. Useful for example for
compatibility with legacy systems, such as POCSAG,
which differ from the usual convention that the higher
FSK frequency signifies a one.
The encoder is controlled using the register ENCODING.
It may be temporarily bypassed except for the inversion by
setting the UNENC bit of the FIFO chunks DATA or
REPEATDATA. This is useful for synthesizing preambles.
The receiver performs these tasks in reverse order.
Transmitter
Figure 9 shows the transmitter flow chart. The
microprocessor first places the chip into FULLTX mode.
This prepares the chip for a future transmission, enables the
FIFO in transmit direction, but does not yet power-up the
synthesizer or any other transmit circuitry.
The microprocessor can now write the preamble and the
actual packet to the FIFO. The preamble is programmable to
allow standards to be implemented that specify a specific
preamble to be used. Otherwise, the recommendations for
preambles can be found below.
Waiting for the crystal oscillator to start up may be
performed by polling the register XTALSTATUS, or by
enabling the IRQMXTALREADY interrupt in register
IRQMASK1.
After the FIFO contents are committed (writing the
Commit command to the FIFOSTAT register), the
transmitter notices that the FIFO is no longer empty. It then
powers up the synthesizer and settles it (registers
TMGTXBOOST and TMGTXSETTLE determine the
timing). The Preamble and the Packet(s) are then
transmitted, followed by the transmitter and synthesizer
shut-down.
The transmitter is automatically ramped up and down
smoothly, to prevent unwanted spurious emissions. The
ramp time is normally one bit time, but may be longer by
changing the SLOWRAMP field of register MODCFGA.
The PWRMODE register should stay at FULLTX until
the transmission is fully completed. The end of the
transmission may be determined by polling the register
RADIOSTATE until it indicates idle, or by enabling the
radio controller interrupt (bit IRQMRADIOCTRL) in
register IRQMASK0 and setting the radio controller to
signal an interrupt at the end of transmission (bit
REVMDONE of register RADIOEVENTMASK0).
Set PWRMODE to FULLTX
Enable TCXO if used
Write Preamble to FIFO
Write Packet to FIFO
Wait until crystal oscillator
Wait until transmission is done
Set PWRMODE to POWERDOWN
is running
Commit FIFO
Disable TCXO if used
Figure 9. Transmitter Flow Chart
www.onsemi.com
15
AND9347/D
Recommended Preamble
The main purpose of the preamble is to allow for the
receiver to acquire vital transmission parameters before the
actual packet data starts. The minimum duration of the
preamble is dependent on how much time the receiver needs
to acquire these parameters to sufficient precision. More
specifically, it depends on:
• The time needed for the receiver adaptive gain control
(AGC) to acquire the signal strength.
• The time needed for the receiver to acquire the
maximum possible frequency offset (registers
MAXRFOFFSET0, MAXRFOFFSET1 and
MAXRFOFFSET2).
• The time needed for the receiver to acquire the
maximum possible data rate offset (registers
MAXDROFFSET0, MAXDROFFSET1 and
MAXDROFFSET2).
• The time needed for the receiver to acquire the exact bit
sampling time (registers TIMEGAIN0, TIMEGAIN1,
TIMEGAIN2 and TIMEGAIN3).
• The time needed to acquire the actual frequency
deviation in 4−FSK mode (registers FSKDMAX0,
FSKDMAX1, FSKDMIN0 and FSKDMAX0).
On the AX5043, these loops run in parallel. An AGC that
is significantly off however causes the received signal to fall
outside the IF strip dynamic range, and thus prevents the
other loops from working. And a frequency offset that is
compensated insufficiently causes the received signal to fall
(partially) outside the IF filter, thus also preventing the
timing and 4−FSK loops from working.
The minimum possible preamble duration can be
achieved under the following conditions:
• Use a transmitter with a sufficiently precise bit timing.
If the maximum deviation of the transmitter data rate
from the receiver data rate is less than approximately
0.1%, then the data rate acquisition loop should be
switched off completely (setting registers
MAXDROFFSET0, MAXDROFFSET1 and
MAXDROFFSET2 to zero). The AX5043 is able to
track the remaining small offset without the data rate
offset loop. All Axsem transmitters derive the bit rate
timing from the crystal reference and can therefore
easily meet this requirement.
• Use an FSK frequency deviation that is larger than the
maximum frequency offset between transmitter and
receiver. In this case, receiver frequency offset
acquisition is not needed. Do not use 4−FSK.
• Use the AX5043 receiver parameter set feature, below.
Finally, the frame synchronization word achieves byte
synchronization.
The recommended preamble bit pattern is now discussed.
If the standard to be implemented requires a specific
preample, use it.
In FEC mode, HDLC [1] flags (pattern 01111110) must be
transmitted. The convolutional encoder ensures enough bit
transitions, and the AX5043 receiver needs flags to
synchronize its interleaver.
If the scrambler or manchester is enabled, send RAW
bytes 00010001. The scrambler or manchester encoder
ensure enough transitions to acquire the bit timing.
In 4−FSK mode, send UNENCODED bytes 00010001.
This ensures that the preamble toggles between the highest
and the lowest frequency. The frequent transitions ensure the
bit timing is acquired as quickly as possible, and the
maximum and minimum frequencies allow the deviation to
be acquired.
Otherwise, use UNENCODED 01010101. This preamble
ensures the maximum number of transitions for bit timing
synchronization. This preamble could also be used with the
scrambler enabled; the main purpose of the scrambler is
however to ensure no spectral lines (tones), this would be
defeated by this preamble.
If MSBFIRST in register PKTADDRCFG is set, then the
preamble sequences should be reversed.
www.onsemi.com
16
AND9347/D
Receiver
Figure 10 shows the receiver flow chart. When the
microprocessor places the chip into FULLRX mode, the
AX5043 immediately powers up the synthesizer, settles it
Set PWRMODE to FULLRX
Enable TCXO if used
yes
Timeout?
no
no
Packet Received?
(FIFO not empty)
yes
Read Packet from FIFO
(registers TMGRXBOOST and TMGRXSETTLE
determine the timing) and starts receiving. The reception
continues until the microprocessor changes the PWRMODE
register.
Set PWRMODE to WORRX
TCXO controlled by PWRAMP or
ANTSEL if used
no
Packet Received?
(FIFO not empty)
yes
Read Packet from FIFO
Continue
yes
Reception?
no
Set PWRMODE to POWERDOWN
Disable TCXO if used
Figure 10. Receiver Flow Chart
If antenna diversity is enabled, the AX5043 continuously
switches between the antennas (controlled by the ANTSEL
pin) to find the antenna with the better signal strength, until
a valid preamble is detected. Antenna scanning is resumed
after a packet is completed.
Actual packet data in the FIFO may be preceded and
followed by meta-data. Meta-data may be a time stamp at the
beginning of the packet, and signal strength, frequency
offset and data rate offset at the end of the packet. Which
meta-data is written to the FIFO is controlled by the register
PKTSTOREFLAGS.
Wake-on-Radio mode allows the AX5043 to periodically
poll the radio channel for a transmission while using only
very little power. Figure 11 shows the wake-on-radio flow
yes
Continue
Reception?
no
Set PWRMODE to POWERDOWN
Disable TCXO if used
Figure 11. Wake-on-Radio Receiver Flow Chart
chart. The AX5043 periodically wakes up. The wake-up is
controlled by the on-chip low-power 640 Hz/10 kHz RC
oscillator and the period is programmed using the
WAKEUPFREQ1 and WAKEUPFREQ0 registers.
After waking up, the AX5043 quickly settles the AGC and
computes the channel RSSI. If it is below an absolute
threshold (register RSSIABSTHR) and a dynamic threshold
(register BGNDRSSITHR), it is switched off immediately.
Otherwise, it looks for a valid preamble. If none is found
within a preprogrammed time (registers TMGRXPREAMBLE1 and TMGRXPREAMBLE2), the receiver is powered
down. Otherwise, it continues to receive the packet.
www.onsemi.com
17
AND9347/D
If a packet is successfully received, the receiver may
either be shut down again, or continue to run if
WORMULTIPKT is set in register PKTMISCFLAGS.
In Wake-on-Radio mode, the AX5043 is completely
autonomous until a packet is received. The microprocessor
may be shut down and only wake up once the FIFO is no
longer empty (IRQMFIFONOTEMPTY interrupt in
register IRQMASK0).
Receiver State Machine
Figure 12 shows the receiver timing diagram. The actions
in the first two lines are time controlled. The arrows below
indicate which register controls the timing. The actions
colored in a darker shade of blue are only performed when
diversity mode is enabled (DIVENA is set in register
DIVERSITY). The actions in the last line are detailed in the
state diagram Figure 13.
SYNTHBOOST and SYNTHSETTLE form the two
stage procedure to settle the synthesizer on the first LO
frequency. During SYNTHBOOST, the synthesizer is
operated at a higher loop bandwidth (register
PLLLOOPBOOST), while during SYNTHSETTLE, the
final settling is done at the nominal, lower noise, loop
bandwidth (register PLLLOOP).
IFINIT settles the IF strip. COARSEAGC uses a fast AGC
time constant to quickly settle the AGC to a value close to
the correct one. This is especially important during
wake-on-radio, as it is desirable to keep the receiver
powered the shortest possible time to save power. AGC
settles the AGC using a slower time constant. RSSI
measures the received signal strength. This value is then
used to determine whether the receiver should be kept
running in wake-on-radio, or to select the antenna with the
stronger signal in diversity mode.
Once the receiver is initialized, PREAMBLE1,
PREAMBLE2, PREAMBLE3, and PACKET coordinate
the reception of packets. The receiver contains several loops
that acquire and track transmission parameters the receiver
needs to know in order to correctly receive a packet.
• The AGC acquires and tracks the signal strength
• The frequency tracking loop acquires and tracks the
frequency offset
• The timing and data rate tracking loop acquires and
tracks the sampling time and the data rate offset
The bandwidth of these loops is programmable. The
bandwidth controls the acquisition time as well as the
Antenna
Diversity only
noisiness of the parameter estimates. In order to allow both
fast acquisition to enable short preambles and low steady
state noise performance to enable high receiver sensitivity,
the receiver supports multiple acquisition and tracking loop
parameter sets. When the receiver searches for a
transmission signal, it uses wide loop bandwidths. Once it
detects a preamble with sufficient probability, it switches to
a lower loop bandwidth. Once a frame start is detected, it
switches to an even lower loop bandwidth. Figure 13 shows
the state diagram that controls which receiver parameter set
is used.
www.onsemi.com
18
AND9347/D
Crystal
or TCXO
LPOSCREF
FD
LPOSCKFILTLPOSCFREQ
Figure 13. Receiver State Diagram
Conditions are evaluated in priority order. The priority
number is given in parentheses at the beginning of arrow
labels.
In order to reduce the number of registers that need to be
programmed if not all parameter sets are different, the
parameter set number of Figure 13 is not directly used to
address the parameter set. Instead, it indexes into register
RXPARAMSETS, where the actual parameter set number is
read out.
Low Power Oscillator Calibration
The low power oscillator is used to control the wake-up
frequency , o r polling period, during wake-on-radio mode. In
Figure 14. Low Power Oscillator Calibration Logic
order to increase the precision of the wake-up frequency,
calibration logic allows the low power oscillator to be
calibrated against the crystal oscillator or TCXO.
Figure 14 shows a block diagram of the calibration logic.
It works similarly to a PLL. The reference frequency from
the crystal or TCXO is divided by the value of the
LPOSCREF register. This signal is then compared to the
actual frequency of the Low Power Oscillator. The
frequency difference is then low pass filtered
(LPOSCKFILT register) and used to adjust the Low Power
Oscillator frequency (LPOSCFREQ register).
When enabled (LPOSCCALIBR or LPOSCCALIBF
enabled in register LPOSCCONFIG), the calibration logic
is only activated when the crystal oscillator or TCXO is
www.onsemi.com
enabled as well. This allows “opportunistic” calibration –
the Low Power Oscillator is calibrated whenever the
reference frequency is enabled.
The AX5043 contains an auxiliary DAC. It can be used to
output various receiver signals, such as RSSI or Frequency
Offset, or just a value under program control. The DAC
signal can be output either on the PWRAMP or ANTSEL
pad.
The DAC may be operated in two modes. ΣΔ mode
employs a digital modulator to output a high resolution
signal. Its output voltage range is ¼ VDDIO to ¾ VDDIO
for a DACVALUE range from *2048 to 2047.
PWM mode outputs a pulse width modulated signal. It is
only suitable for low frequency signals. Its output voltage
range is 0 to VDDIO for a DACVALUE range from *2048
to 2047.
Figure 15. DAC RC Filter
A low pass filter, such as a simple R-C filter as shown in
Figure 15, must be used to obtain the analog voltage.
Figure 16. DAC Signal Scaling
Figure 16 shows the DAC Signal scaling. DACINPUT in
register DACCONFIG selects the source signal. The input
signals are left aligned to 24 bits and padded with zeros. A
signed shifter then shifts the selected value to the right by 0
to 15 digits as selected by the lower four bits of the
value range of *2
DAC core. Note that if DACVALUE is selected as input, the
register value is directly sent to the DAC, the shifter is not
used. In fact, DACVALUE and DACSHIFT share the same
register bits.
DACVALUE register. The signal is then limited to the DAC
308GPADC13VALUE1R−−−−−−−− −−−−−−GPADC13VALUE (9:8) GPADC13 Value
309GPADC13VALUE0R−−−−−−−− GPADC13VALUE (7:0)GPADC13 Value
Low Power Oscillator Calibration
310
LPOSCCONFIGRWR00000000 LPOSC
311LPOSCSTATUSRR−−−−−−−− −−−−−−LPOSC
312LPOSCKFILT1RWR00100000 LPOSCKFILT (15:8)Low Power
ResetRDirName
ResetRDirName
ST CRCBST RSSIST DRST
LRGP
LPOSC
CALIBR
OSC
INVERT
RSSI
LPOSC
OSC
DOUBLE
MULTI
PKT
ACCPT
SZF
LPOSC
CALIBF
Bit
AGC
SETTL
DET
ACCPT
ADDRF
LPOSC
IRQR
BGND
RSSI
RFOFFSSTFOFFSSTTIMER
ACCPT
CRCF
LPOSC
IRQF
RXAGC
CLK
ACCPT
ABRT
LPOSC
FAST
IRQ
RXRSSI
CLK
ACCPT
RESIDUE
LPOSC
ENA
LPOSC
EDGE
01234567
Description
Description
AGC Time
Settling Time
Settling Time
Preamble 1
Timeout
Preamble 2
Timeout
Preamble 3
Timeout
Threshold
Averaging Time
Constant
Relative
Threshold
Size
Packet Controller
Miscellaneous
Flags
Packet Controller
Store Flags
Packet Controller
Accept Flags
ADC Control
Period
Low Power
Oscillator
Configuration
Low Power
Oscillator Status
Oscillator
Calibration Filter
Constant
www.onsemi.com
31
AND9347/D
Table 22. CONTROL REGISTER MAP(continued)
Addr
Hex
Low Power Oscillator Calibration
313
LPOSCKFILT0RWR11000100 LPOSCKFILT (7:0)Low Power
314LPOSCREF1RWR01100001 LPOSCREF (15:8)Low Power
315LPOSCREF0RWR10101000 LPOSCREF (7:0)Low Power
316LPOSCFREQ1RWR00000000 LPOSCFREQ (9:2)Low Power
317LPOSCFREQ0RWR0000−−−− LPOSCFREQ (1:−2)−−−−Low Power
318LPOSCPER1RW−−−−−−−− LPOSCPER (15:8)Low Power
319LPOSCPER0RW−−−−−−−− LPOSCPER (7:0)Low Power
DAC
DACVALUE1RWR−−−−0000 −−−−DACVALUE (11:8)DAC Value
330
331DACVALUE0RWR00000000 DACVALUE (7:0)DAC Value
332DACCONFIGRWR00−−0000 DAC
Performance Tuning Registers
F00−
PERFTUNERW−−−−−−−−Performance
FFF
ResetRDirName
ResetRDirName
PWM
DAC CLKX2−−DACINPUT (3:0)DAC
Bit
01234567
Description
Description
Oscillator
Calibration Filter
Constant
Oscillator
Calibration
Reference
Oscillator
Calibration
Reference
Oscillator
Calibration
Frequency
Oscillator
Calibration
Frequency
Oscillator
Calibration Period
Oscillator
Calibration Period
Configuration
Tuning Registers
www.onsemi.com
32
AND9347/D
REGISTER DETAILS
Revision and Interface Probing
REVISION
Table 23. REVISION
NameBitsR/WResetDescription
REVISION7:0R01010001Silicon Revision
SCRATCH
Table 24. SCRATCH
NameBitsR/WResetDescription
SCRATCH7:0R11000101Scratch Register
The SCRA TCH register does not af fect the function of the
chip in any way. It is intended for the Microcontroller to test
communication to the AX5043.
Operating Mode
PWRMODE
Table 25. PWRMODE
NameBitsR/WResetDescription
PWRMODE3:0RW0000See Table 26: PWRMODE Bit Value
WDS4R−Wakeup from Deep Sleep
REFEN5RW1Reference Enable; set to 1 to power the internal reference
XOEN6RW1Crystal Oscillator Enable
RST7RW0Reset; setting this bit to 1 resets the whole chip. This bit does not
circuitry
auto-reset − the chip remains in reset state until this bit is cleared.
Table 26. PWRMODE BIT VALUES
BitsMeaning
0000
0001
0101
0111
1000
1001
1011
1100
1101
Powerdown; all circuits powered down
Deep Sleep Mode; Chip is fully powered
down until SEL is lowered again; looses all
register contents
SVIO0R−IO Voltage Large Enough (not Brownout)
SBEVMODEM1R−Modem Domain Voltage Brownout Error
SBEVANA2R−Analog Domain Voltage Brownout Error
SVMODEM3R−Modem Domain Voltage Regulator Ready
SVANA4R−Analog Domain Voltage Regulator Ready
SVREF5R−Reference Voltage Regulator Ready
SREF6R−Reference Ready
SSUM7R−Summary Ready Status (one when all unmasked POWIRQMASK
POWSTICKYSTAT
Table 28. POWSTICKYSTAT
NameBitsR/WResetDescription
SSUM7R−Summary Ready Status (one when all unmasked POWIRQMASK
SSVIO0R−Sticky IO Voltage Large Enough (not Brownout)
SSBEVMODEM1R−Sticky Modem Domain Voltage Brownout Error
SSBEVANA2R−Sticky Analog Domain Voltage Brownout Error
SSVMODEM3R−Sticky Modem Domain Voltage Regulator Ready
SSVANA4R−Sticky Analog Domain Voltage Regulator Ready
SSVREF5R−Sticky Reference Voltage Regulator Ready
SSREF6R−Sticky Reference Ready
SSSUM7R−Sticky Summary Ready Status (zero when any unmasked
(Inverted; 0 = Brownout, 1 = Power OK)
(Inverted; 0 = Brownout, 1 = Power OK)
power sources are ready)
power sources are ready)
(Inverted; 0 = Brownout detected, 1 = Power OK)
(Inverted; 0 = Brownout detected, 1 = Power OK)
POWIRQMASK power sources is not ready)
POWIRQMASK
Table 29. POWIRQMASK
NameBitsR/WResetDescription
MSVIO0RW0IO Voltage Large Enough (not Brownout) Interrupt Mask
MSBEVMODEM1RW0Modem Domain Voltage Brownout Error Interrupt Mask
MSBEVANA2RW0Analog Domain Voltage Brownout Error Interrupt Mask
MSVMODEM3RW0Modem Domain Voltage Regulator Ready Interrupt Mask
MSVANA4RW0Analog Domain Voltage Regulator Ready Interrupt Mask
MSVREF5RW0Reference Voltage Regulator Ready Interrupt Mask
MSREF6RW0Reference Ready Interrupt Mask
MPWRGOOD7RW0If 0, interrupt whenever one of the unmasked power sources fail
www.onsemi.com
(clear interrupt by reading POWSTICKYSTAT);
if 1, interrupt when all unmasked power sources are good
REVRDONE0RC−Transmit or Receive Done Radio Event Pending
REVRSETTLED1RC−PLL Settled Radio Event Pending
REVRRADIOSTATECHG2RC−Radio State Changed Event Pending
REVRRXPARAMSETCHG3RC−Receiver Parameter Set Changed Event Pending
REVRFRAMECLK4RC−Frame Clock Event Pending
The bits in this register are cleared upon reading this register.
Modulation and Framing
MODULATION
Table 35. MODULATION
NameBitsR/WResetDescription
REVRDONE0RC−Transmit or Receive Done Radio Event Pending
MODULATION3:0RW1000See table 36: Modulation Bit Values
RX HALFSPEED4RW0If set, halves the receive bitrate
Table 36. MODULATION BIT VALUES
BitsInputs
0000ASK
0001ASK Coherent
0100PSK
0110OQSK
0111MSK
1000FSK
10014−FSK
1010AFSK
1011FM
Transmitter amplitude shaping is set using the
MODCFGA register, and frequency shaping is set using the
MODCFGF register.
www.onsemi.com
36
AND9347/D
ENCODING
Table 37. ENCODING
NameBitsR/WResetDescription
ENC INV0RW0Invert data if set to 1
ENC DIFF1RW1Differential Encode/Decode data if set to 1
ENC SCRAM2RW0Enable Scrambler/Descrambler if set to 1
ENC MANCH3RW0Enable manchester encoding/decoding. FM0/FM1 may be
ENC NOSYNC4RW0Disable Dibit synchronisation in 4−FSK mode
0 1 2 345 6 78 9 10 11 12 13 14 15 16
Figure 17. Scrambler Schematic Diagram
0 1 2 34 5 67 8 9 10 1112 13 14 15 16
achieved by also appropriately setting ENC DIFF and ENC INV
Figure 18. Descrambler Schematic Diagram
The intention of the scrambler is the removal of tones
contained in the transmit data, i.e. to randomize the transmit
spectrum. The scrambler polynomial is 1 + X
12
+ X17, it is
therefore compatible to the K9NG/G3RUH Satellite
Modems.
ENC NOSYNC should normally be set to zero, unless the
chip is either in the RXFRAMING or TXFRAMING mode
and PWRUP is not used as a synchronisation signal.
Figure 19 shows a few well known encodinf formats used
in telecom.
Figure 17 and Figure 18 show schematic diagrams of the
scrambler and the descrambler operation. The numbered
boxes represent delays by one bit.
011100
NRZ
NRZI
(Biphase Mark)
(Biphase Space)
Table 38. CUSTOMARY ENCODING MODES DESCRIPTION
NameBitsDescription
NRZINV = 0, DIFF = 0,
SCRAM = 0,
MANCH = 0
NRZIINV = 1, DIFF =1,
SCRAM = 0,
MANCH = 0
FM1
FM0
Manchester
Figure 19. Customary Encodings
NRZ represents 1 as a high signal level, 0 as a low signal level. NRZ performs no change.
NRZI represents 1 as no change in the signal level, and 0 as a change in the signal level.
NRZI is recommended for HDLC [1]. The HDLC bit stuffing ensures that there are periodic
zeros and thus transitions, and the encoding is inversion invariant.
FM1 (Biphase Mark) always ensures transitions at bit edges. It encodes 1 as a transition
at the bit center, and 0 as no transition at the bit center.
FM0 (Biphase Space) always ensures transitions at bit edges. It encodes 1 as no
transition at the bit center, and 0 as a transition at the bit center.
Manchester encodes 1 as a 10 pattern, and 0 as a 01 pattern. Manchester is not inversion
invariant.
Guidelines:
• Manchester, FM0, and FM1 are not recommended for
new systems, as they double the bitrate.
• In Raw modes, the choice depends on the legacy
system to be implemented.
• In HDLC [1] mode, use NRZI, NRZI + Scrambler, or
NRZ + Scrambler.
FRAMING
Table 39. FRAMING
NameBitsR/WResetDescription
FABORT0S0Write 1 to abort current HDLC [1] packet / pattern match
FRMMODE3:1RW000See Table 40: FRMMODE Bit Values
CRCMODE6:4RW000See Table 41: CRCMODE Bit Values
FRMRX7R−Packet start detected, receiver running; this bit is set when a flag
is detected in HDLC [1] mode or when the preamble matches in
Raw Pattern Match mode. Cleared by writing 1 to FABORT.
Table 40. FRMMODE BIT VALUES
BitsMeaning
000Raw
001Raw, Soft Bits
010HDLC [1]
011Raw, Pattern Match
100Wireless M-Bus
101Wireless M-Bus, 4-to-6 Encoding
NOTE: The wireless M-Bus definition of “Manchester”
is inverse to the definition used by the AX5043.
AX5043 defines “Manchester” as the
transmission of the data bit followed by the
transmission of the inverted data bit. Wireless
M-Bus defines it the other way around. In order
to avoid having to enable inversion in the
ENCODING register, the AX5043 inverts
normal data bits when FRMMODE is set to
Wireless M-Bus.
Figure 20. Schematic Diagram of the Convolutional Encoder
FECENA enables the Forward Error Correction and the
Interleaver.
The Interleaver is a 4 x 4 matrix interleaver, i.e. transmit
bits are filled in row-wise and read out column-wise.
The Convolutional Code is a nonsystematic Rate ½ code
with the generators g
4
D
. It has a minimum free distance of d
= 1 + D3 + D4 and g2 = 1 + D + D2 +
1
= 7. Figure 20
free
In the Transmitter, HDLC [1] flags are aligned (by
inserting zero bits) to the interleaver. In the Receiver,
a convolver to the encoded/interleaved flag sequence
establishes deinterleaver synchronisation and inversion
detection. That means, that FEC only works with HDLC
framing.
The Viterbi decoder uses soft metric.
shows a schematic diagram of the convolutional encoder .
XTAL RUN0R−1 indicates crystal oscillator running and stable
Pin Configuration
PINSTATE
Table 49. PINSTATE
NameBitsR/WResetDescription
PSSYSCLK0R−Signal Level on Pin SYSCLK
PSDCLK1R−Signal Level on Pin DCLK
PSDATA2R−Signal Level on Pin DATA
PSIRQ3R−Signal Level on Pin IRQ
PSANTSEL4R−Signal Level on Pin ANTSEL
PSPWRAMP5R−Signal Level on Pin PWRAMP
PINFUNCSYSCLK
Table 50. PINFUNCSYSCLK
NameBitsR/WResetDescription
PFSYSCLK4:0RW01000See Table 51: PFSYSCLK Bit Values
PUSYSCLK7RW0SYSCLK weak Pullup enable
Table 51. PFSYSCLK BIT VALUES
BitsMeaning
0000Idle
00000SYSCLK Output ‘0’
00001SYSCLK Output ‘1’
www.onsemi.com
40
Table 51. PFSYSCLK BIT VALUES (continued)
00010SYSCLK Output ‘Z’
00011SYSCLK Output inverted f
00100SYSCLK Output f
00101
00110
00111
01000
01001
01010
01011
01100
01101
01110
01111SYSCLK Output Low Power (LP) Oscillator
11111SYSCLK Output Test Observation
0101PWRAMP Output DAC
0110PWRAMP Output Power Amplifier Control
0111PWRAMP Output External TCXO Enable
1111PWRAMP Output Test Observation
(4−FSK); use when inputting/outputting
4−FSK framing data on DATA
(4−FSK); use when observing 4−FSK
modem data on DATA
PWRAMP
Table 62. PWRAMP
NameBitsR/WResetDescription
PWRAMP0RW0Power Amplifier Control
The PWRAMP bit may be output on the PWRAMP pin.
This signal may be used to control an external power
amplifier.
www.onsemi.com
43
AND9347/D
FIFO Registers
FIFOSTAT
Table 63. FIFOSTAT
NameBitsR/WResetDescription
FIFO EMPTY0R1FIFO is empty if 1. This bit is dangerous to use when
FIFO FULL1R0FIFO is full if 1
FIFO UNDER2R0FIFO underrun occured since last read of FIFOSTA T when 1
FIFO OVER3R0FIFO overrun occured since last read of FIFOSTAT when 1
FIFO CNT THR4R01 if the FIFO count is > FIFOTHRESH
FIFO FREE THR5R01 if the FIFO free space is > FIFOTHRESH
FIFOCMD5:0W−See Table 64: FIFOCMD Bit Values
FIFO AUTO COMMIT7RW0If one, FIFO write bytes are automatically commited on every
PWRMODE is set to Receiver Wake-on-Radio mode. In this
mode, the FIFO and thus the FIFOSTAT register is only powered
up while the FIFO is not empty, and powered down immediately
when the FIFO becomes empty. When powered down, reading
FIFOSTAT returns zero, indicating a non-empty FIFO while in
reality the FIFO is empty. In Wake-on-Radio mode, it is
recommended to use the IRQRQFIFONOTEMPTY bit of
Register IRQREQUEST0. This bit will work in all cases, even
when the interrupt is masked.
write
Table 64. FIFOCMD BIT VALUES
BitsMeaning
000000No Operation
000001ASK Coherent
000010Clear FIFO Error (OVER and UNDER)
000011Clear FIFO Data and Flags
000100Commit
000101Rollback
000110Invalid
000111Invalid
001XXXInvalid
01XXXXInvalid
1XXXXXInvalid
Flags
FIFODATA
Table 65. FIFODATA
NameBitsR/WResetDescription
FIFODATA7:0RW−FIFO access register
Note that when accessing this register, the SPI address
pointer is not incremented, allowing for efficient burst
accesses.
www.onsemi.com
44
AND9347/D
FIFOCOUNT1, FIFOCOUNT0
Table 66. FIFOCOUNT1, FIFOCOUNT0
NameBitsR/WResetDescription
FIFOCOUNT8:0R−Current number of committed FIFO Words
FIFOFREE1, FIFOFREE0
Table 67. FIFOFREE1, FIFOFREE0
NameBitsR/WResetDescription
FIFOFREE8:0R−Current number of empty FIFO Words
FIFOTHRESH1, FIFOTHRESH0
Table 68. FIFOTHRESH1, FIFOTHRESH0
NameBitsR/WResetDescription
FIFOFRESH8:0R000000000FIFO Threshold
Synthesizer
PLLLOOP, PLLLOOPBOOST
The PLLLOOP and PLLLOOPBOOST select PLL Loop
Filter configuration for both normal mode and boosted
mode. All fields in this register are separate, except for
FREQSEL, which is common to both registers.
Table 69. PLLLOOP, PLLLOOPBOOST
NameBitsR/WResetDescription
FLT1:0RW01
FLTBOOST11
FILTEN2RW0
FILTENBOOST0
DIRECT3RW1
DIRECTBOOST1
FREQSEL7RW0Frequency Register Selection; 0 = use FREQA, 1 = use FREQB
TRKRFFREQ19:0RW−Current RF frequency tracking value
This Register i s r e s e t t o z ero whe n the demodulator is not
running. In order to avoid write collisions between the
www.onsemi.com
demodulator and the microcontroller with undefined results,
TRKFREQ should be frozen before attempting to write to.
47
AND9347/D
To freeze, set the RFFREQFREEZE bit in the appropriate
F
REQGAIND0, FREQGAIND1,FREQGAIND2, or
FREQGAIND3 register, then wait for
the freeze to take effect.
TRKFREQ1, TRKFREQ0
Table 85. TRKFREQ1, TRKFREQ0
NameBitsR/WResetDescription
TRKFREQ15:0RW−Current frequency tracking value
The current frequency offset estimate is
TRKFREQ
Dp +
16
2
BITRATE
This Register i s r e s e t t o z ero whe n the demodulator is not
running. In order to avoid write collisions between the
demodulator and the microcontroller with undefined results,
TRKFREQ should be frozen before attempting to write to.
To freeze, set the FREQFREEZE bit in the appropriate
FREQGAINB0, FREQGAINB1
FREQGAINB3 register, then wait for
the freeze to take effect.
TRKFSKDEMOD1, TRKFSKDEMOD0
Table 86. TRKFSKDEMOD1, TRKFSKDEMOD0
NameBitsR/WResetDescription
TRKFSKDEMOD13:0R−Current FSK demodulator value
TRKAFSKDEMOD1, TRKAFSKDEMOD0
Table 87. TRKAFSKDEMOD1, TRKAFSKDEMOD0
NameBitsR/WResetDescription
TRKAFSKDEMOD15:0R−Current AFSK demodulator value
1
4 BAUDRATE
,FREQGAINB2, or
1
4 BAUDRATE
for
for
Tracking Register Resets
Writes to TRKAMPL1, TRKAMPL0, TRKPHASE1,
TRKPHASE0, TRKDATARATE2, TRKDATARATE1,
TRKDATARATE0 cause the following action:
Table 88. TRACKING REGISTER RESET
NameBitsR/WResetDescription
DTRKRESET3W−Writing 1 clears the Datarate Tracking Register
ATRKRESET4W−Writing 1 clears the Amplitude Tracking Register
PTRKRESET5W−Writing 1 clears the Phase Tracking Register
RTRKRESET6W−Writing 1 clears the RF Frequency Tracking Register
FTRKRESET7W−Writing 1 clears the Frequency Tracking Register
Timer
TIMER2, TIMER1, TIMER0
The main purpose of the fast µs Timer is to enable the
microcontroller to exactly determine the packet start time. A
Table 89. TIMER2, TIMER1, TIMER0
NameBitsR/WResetDescription
TIMER23:0R−1 MHz (f
snapshot of this timer at packet start can be written to the
FIFO.
/ 16) Counter; starts counting as soon as modem
voltage regulator and Crystal Oscillator running
XTAL
www.onsemi.com
48
AND9347/D
Wakeup Timer
The wakeup timer is a low power timer that can generate
periodic events. It can generate a microcontroller interrupt
(register IRQMASK1) or start the receiver in wake-on-radio
mode (register PWRMODE). The interrupt can be cleared
by reading or writing any wakeup timer register.
The wakeup timer is driven by the low power oscillator.
At every low power oscillator clock edge, the
WAKEUPTIMER register is incremented by 1. The
counting frequency can be set to 640 Hz or 10.24 kHz
(register LPOSCCONFIG).
Whenever the WAKEUPTIMER register matches the
WAKEUP register, an event is signalled, and the
WAKEUPFREQ register is added to the WAKEUP register,
to prepare for the next wakeup event.
Since crystals often take a significant amount of time to
start up, the crystal oscillator may be started early using the
WAKEUPXOEARLY register.
WAKEUPTIMER1, WAKEUPTIMER0
Table 90. WAKEUPTIMER1, WAKEUPTIMER0
NameBitsR/WResetDescription
WAKEUPTIMER15:0R−Wakeup Timer
WAKEUP1, WAKEUP0
Table 91. WAKEUP1, WAKEUP0
NameBitsR/WResetDescription
WAKEUP15:0RW0x0000Wakeup Time
WAKEUPFREQ1, WAKEUPFREQ0
Table 92. WAKEUPFREQ1, WAKEUPFREQ0
NameBitsR/WResetDescription
WAKEUPFREQ15:0RW0x0000Wakeup Frequency; Zero disables Wakeup
WAKEUPXOEARLY
Table 93. WAKEUPXOEARLY
NameBitsR/WResetDescription
WAKEUPXOEARLY7:0RW0x00Number of LPOSC clock cycles by which the Crystal Oscillator
Receiver Parameters
is woken up before the main receiver
IFFREQ1, IFFREQ0
Table 94. IFFREQ1, IFFREQ0
NameBitsR/WResetDescription
IFFREQ15:0RW0x1327
IF Frequency;
IFFREQ +
pIF p
ƪ
p
XTAL
XTALDIV
220)
1
ƫ
2
Please use the AX_RadioLab software to calculate the
optimum IF frequency for given physical layer parameters.
DECIMATION
Table 95. DECIMATION
NameBitsR/WResetDescription
DECIMATION6:0RW0001101
Filter Decimation factor; Filter Output runs at
p
p
BASEBAND
The value 0 is illegal.
+
24 p
XTALDIV
XTAL
DECIMATION
www.onsemi.com
49
AND9347/D
RXDATARATE2, RXDATARATE1, RXDATARATE0
Table 96. RXDA TARATE2, RXDATARATE1, RXDATARATE0
NameBitsR/WResetDescription
RXDATARATE23:0RW0x003D8A
RXDATARATE +
ƪ
p
27 p
BITRATE DECIMATION
XTALDIV
XTAL
1
ƫ
)
2
RXDATARATE - TIMEGAINx ≥ 212 should be ensured
when programming. Otherwise, the hardware does it, but
this may cause instability due to asymmetric timing
correction.
The maximum bitrate offset the receiver is able to tolerate
can be specified by the parameter BITRATE. The receiver
will be able to tolerate a data rate within the range BITRATE
±BITRATE. The downside of increasing BITRATE is
that the required preamble length increases. Therefore,
MAXDROFFSET +
ƪ
BITRATE should only be chosen as large as the
transmitters require. If the bitrate offset is less than
approximately ±1%, receiver bitrate tracking should be
switched off completely by setting MAXDROFFSET to
zero, to ensure minimum preamble length.
FREQOFFSCORR23RW0Correct frequency offset at the first LO if this bit is one; at the
second LO if this bit is zero
p
ƪ
CARRIER
p
XTAL
224)
1
ƫ
2
1
ƫ
)
2
This register sets the maximum frequency offset the
built-in Automatic Frequency Correction (AFC) should
handle. Set it to the maximum frequency offset between
Transmitter and Receiver. Enlarging this register increases
the time needed for the AFC to achieve lock. The AFC can
only achieve lock if the transmit signal partially passes
through the receiver channel filter . This limits the practically
usable range for the AFC circuit to approximately ±
Filter Bandwidth. The acquisition and tracking range can be
increased by increasing the Receiver Channel Filter
Bandwidth, at the expense of slightly reducing the
Sensitivity.
FSKDMAX1, FSKDMAX0
Table 99. FSKDMAX1, FSKDMAX0
NameBitsR/WResetDescription
FSKDEVMAX15:0RW0x0080Current FSK Demodulator Max Deviation
p
In manual mode, it should be set to 3 512
DEVIATION
BAUDRATE
.
FSKDMIN1, FSKDMIN0
Table 100. FSKDMIN1, FSKDMIN0
NameBitsR/WResetDescription
FSKDEVMIN15:0RW0xFF80Current FSK Demodulator Min Deviation
1
/4 of the
www.onsemi.com
50
AND9347/D
In manual mode, it should be set to
p
* 3 512
AFSKSPACE1, AFSKSPACE0
Table 101. AFSKSP ACE1, AFSKSPACE0
AFSKSPACE15:0RW0x0040AFSK Space (0-Bit encoding) Frequency
For receive, the register should be computed as follows:
AFSKSPACE +
For transmit, the register has a slightly different
definition:
AFSKMARK1, AFSKMARK0
Table 102. AFSKMARK1, AFSKMARK0
AFSKMARK15:0RW0x0075AFSK Mark (1-Bit encoding) Frequency
DEVIATION
BAUDRATE
NameBitsR/WResetDescription
p
ƪ
AFSKSPACE +
NameBitsR/WResetDescription
.
AFSKSPACE
DECIMATION p
p
XTAL
p
AFSKSPACE
ƪ
p
XTAL
2
18
)
XTALDIV
1
ƫ
2
2
16
1
ƫ
)
2
For receive, the register should be computed as follows:
AFSKMARK +
p
AFSKMARK
ƪ
DECIMATION p
p
XTAL
XTALDIV
2
For transmit, the register has a slightly different
definition:
AFSKMARK +
p
AFSKMARK
ƪ
p
XTAL
2
18
1
ƫ
)
2
AFSKCTRL
Table 103. AFSKCTRL
NameBitsR/WResetDescription
AFSKSHIFT4:0RW00100
16
1
ƫ
)
2
AFSK Detector Bandwidth;
p
ƪ
2
log2(
25 BITRATE p
3dB corner frequency of the AFSK detector filter
is:
pc+
with
25 p p
*
k
+ 2
ƪ
XTALDIV
AFSKSHIFT
2
p
ƫ
XTAL
XTAL
XTALDIV
DECIMATION
DECIMATION
arccos
(k
2 (k * 1)
ƫ
)
2
) 2k * 2
)
www.onsemi.com
51
AMPLFILTER
Table 104. AMPLFILTER
NameBitsR/WResetDescription
AMPLFILTER3:0RW0000
AND9347/D
3dB corner frequency of the Amplitude (Magnitude)
Lowpass Filter;
p
p
+
c
25 p p
AMPLFILTER
k
+ 2
*
with
0000: Filter bypassed
XTAL
XTALDIV
DECIMATION
arccos
2
(k
) 2k * 2
2 (k * 1)
)
www.onsemi.com
52
AND9347/D
FREQUENCYLEAK
Table 105. FREQUENCYLEAK
NameBitsR/WResetDescription
FREQUENCYLEAK3:0RW0000Leakiness of the Baseband Frequency Recovery Loop
RXPARAMSETS
Table 106. RXPARAMSETS
NameBitsR/WResetDescription
RXPS01:0RW00RX Parameter Set Number to be used for initial settling
RXPS13:2RW00RX Parameter Set Number to be used after Pattern 1 matched
RXPS25:4RW00RX Parameter Set Number to be used after Pattern 0 matched
RXPS37:6RW00RX Parameter Set Number to be used after a packet start has
RXPARAMCURSET
Table 107. RXP ARAMCURSET
NameBitsR/WResetDescription
RXSI1:0R−RX Parameter Set Index (determines which RXPS is used)
RXSN3:2R−RX Parameter Set Number (=RXPS[RXSI (1:0)])
RXSI4R−Rx Parameter Set Index (special function bit), See Table 108
The AGC{ATTACK|DECAY}x values can be computed
from the 3dB corner frequency f
as follows:
3dB
www.onsemi.com
53
AND9347/D
t
c + cos
AGC{ATTACK|DECAY}x +*log2(1 * c ) c
≅ * log
ǒ
2
1 * 1Ǹ*
p
XTALDIV
2
25 p p
ǒ
The recommended AGCATTACK setting is
f
≅ ΒΙΤRΑΤΕ/10 for ASK, and f
3dB
(G)FSK.
The recommended AGCDECAY setting is
f
≅ ΒΙΤRΑΤΕ/100 for ASK, and f
3dB
XTALDIV
6
p p
p
p
3dB
Ǔ
XTALDIV
XTAL
Ǹ
2
* 4 c ) 3))
p
3bD
Ǔ
≅ ΒΙΤRΑΤΕ for
3dB
≅ ΒΙΤRΑΤΕ/10 for
3dB
A value of 0xF in the AGC{ATTACK|DECAY}x
disables AGC update. Thus, setting the AGCGAI
N0/AGCGAIN1/AGCGAIN2/AGCGAIN3 register to
0xFF completely freezes the AGC.
000This field specifies Digital Threshold Range. It is
(AGCAHYSTx+1) 3 dB; If set to zero, the analog AGC always
follows immediately. Increasing this value gives the AGC
controller more leeway delay analog AGC following.
000When the digital AGC attenuation exceeds its maximum value, i
is reset to the value given in AGCMAXDAx, and the analog AGC
gain is recomputed accordingly. This value is given in 3 dB
steps. Setting it to AGCAHYSTx causes “drag” AGC behaviour
with minimum analog AGC steps (probably desirable);
decreasing it causes less frequent but larger analog AGC steps
000When the digital AGC attenuation exceeds its minimum value, it
is reset to the value given in AGCMINDAx, and the analog AGC
gain is recomputed accordingly. This value is given in 3 dB
steps. Setting it to 000 causes “drag” AGC behaviour with
minimum analog AGC steps (probably desirable); increasing it
causes less frequent but larger analog AGC steps
Gain of the baseband frequency recovery loop; the frequency
error is measured with the phase detector
If set to 1, only update the frequency offset recovery loops if the
amplitude of the signal is larger than half the maximum (or large
than the average amplitude)
If 1, the Frequency offset wraps around from 0x1fff to − 0x2000,
and vice versa.
If 1, the Frequency offset wraps around from 0x3fff to − 0x4000,
and vice versa.
If 1, limit Frequency Offset to − 0x4000…0x3fff
Hz
Set FREQGAINA0 = 15 and FREQGAINB0 = 31 to
completely disable the baseband frequency recovery loop,
setting its output to zero.
1if 1, try to correct the amplitude register when AGC jumps. This
0if 0, the amplitude is recovered by a peak detector with decay;
is not perfect, though
if 1, the amplitude is recovered by averaging
Receiver Frequency Deviation;
p
DEVIATION
FREQDEVx +
is k
transmitter shaping and receiver filtering dependent
SF
constant. It is usually around k
ƪ
28 k
BITRATE
≅ 0.8
sf
SF
1
ƫ
)
2
Enabling this feature (FREQDEVx 0 0) can lead the
frequency offset estimator to lock at the wrong offset. It is
therefore recommended to enable it only after the frequency
offset estimator is close to the correct offset (i.e.
FREQDEV0 = 0).
Deviation Decay
www.onsemi.com
58
AND9347/D
DCLK
PWRUP
Figure 21. 4−FSK Frequency Diagram
In 4−FSK mode, two bits are transmitted together during
each symbol, by using four frequencies instead of two.
Figure 21 depicts the frequencies used.
T able 124. 4−FSK BIT TO FREQUENCY MAPPING
M
x
00f
01f
11f
10f
In framing mode, unless ENC NOSYNC in the
ENCODING register is set, the shift register is synchronized
to the dibit boundaries, and the pattern matches only at dibit
DATA
L0M1L1M2L2M0
Figure 22. Wiremode Timing Diagram
Wiremode i s also available in 4−FSK mode, see Figure 22.
The two bits that encode one symbol are serialized on the
DATA pin. The PWRUP pin can be used as a
synchronisation pin to allow symbol (dibit) boundaries to be
reconstructed. DCLK is approximately but not exactly
square. Gray encoding is used to reduce the number of bit
errors in case of a wrong decision. The two bits encode the
following frequencies:
L
x
CARRIER
CARRIER
CARRIER
CARRIER
Frequency
* 3 V f
DEVIATION
* f
DEVIATION
+ f
DEVIATION
+ 3 V f
DEVIATION
boundaries. The shift register shifts right, so the bits end up
in the FIFO word as follows:
T able 125.
76543210
L
n+3
In 4−FSK mode, it is no longer sufficient to compare the
actual frequency with the center frequency and just record
the sign. The frequency deviation of the transmitter must be
known in order to choose the correct decision thresholds.
This is the purpose of the FSKDMAX1, FSKDMAX0,
FSKDMIN1 and FSKDMIN0 registers. These registers can
either be set manually or recover the frequency deviation
automatically. DEVUPDATE selects automatic mode if set
to one, and manual mode if set to zero. Normally, automatic
M
n+3
L
n+2
M
n+2
L
n+1
M
n+1
L
mode can be selected, but if the frequency deviation of the
transmitter is exactly known at the receiver, manual mode
can result in slightly better performance.
In automatic mode, FSKDMAX1, FSKDMAX0,
FSKDMIN1 and FSKDMIN0 record the maximal and the
minimal frequency seen at the receiver. “Leakage” or
“gravity to zero” is added such that if these registers are
disturbed by noise spikes, the effect decays. The amount of
leakage is controlled by DEVDECAY.
In AFSK mode, the register has a slightly different
definition:
FSKDEV +
0.858785 p
ƪ
p
XTAL
DEVIATION
224)
1
ƫ
2
In FM mode, the register has a different definition. It
defines the conditioning of the ADC values prior to applying
them to the transmit amplitude or the frequency deviation.
Table 133. FMINPUT BIT V ALUES
BitsMeaning
00GPADC13
01GPADC1
10GPADC2
11GPADC3
MODCFGA
This register selects the amplitude shaping mode of the
transmitter. Amplitude shaping is used even for constant
modulus modulation such as FSK, to ramp up and down the
transmitter at the beginning and the end of the transmission.
Table 134. MODCFGA
NameBitsR/WResetDescription
TXDIFF0RW1Enable Differential Transmitter
TXSE1RW0Enable Single Ended Transmitter
AMPLSHAPE2RW1See Table 135
SLOWRAMP5:4RW00See Table136
PTTLCK GATE6RW0If 1, disable transmitter if PLL looses lock
BROWN GATE7RW0If 1, disable transmitter if Brown Out is detected
Table 135. AMPLSHAPE BIT VALUES
BitsMeaning
0Unshaped
1Raised Cosine
Table 136. SLOWRAMP BIT VALUES
BitsMeaning
00Normal Startup (1 Bit Time)
012 Bit Time Startup
104 Bit Time Startup
118 Bit Time Startup
www.onsemi.com
61
AND9347/D
If BROWN GATE is set, the transmitter is disabled
whenever one (or more) of the SSVIO, SSBEVMODEM or
SSBEVANA bits of the POWSTICKYSTAT register is zero.
TXRATE2, TXRATE1, TXRATE0
Table 137. TXRATE2, TXRATE1, TXRATE0
NameBitsR/WResetDescription
TXRATE23:0RW0x0028F6
p
In asynchronous wire mode, BITRATE t
XTAL
32
TXPWRCOEFFA1, TXPWRCOEFFA0
Table 138. TXPWRCOEFFA1, TXPWRCOEFFA0
NameBitsR/WResetDescription
TXPWRCOEFFA15:0RW0x0000
See TXPWRCOEFFB0 for an explanation.
TXPWRCOEFFB1, TXPWRCOEFFB0
Table 139. TXPWRCOEFFB1, TXPWRCOEFFB0
NameBitsR/WResetDescription
TXPWRCOEFFB15:0RW0x0FFF
In order for this to work, the user must read the
POWSTICKYSTAT after setting the PWRMODE register
for transmission.
Transmit Bitrate,
Transmit Predistortion,
Transmit Predistortion,
TXRATE +
BITRATE
ƪ
p
XTAL
TXPWRCOEFFA +
TXPWRCOEFFB +
224)
1
2
ƪ
a0 212)
ƪ
a1 212)
ƫ
1
ƫ
2
1
ƫ
2
The transmit predistortion circuit applies the following
function to the output of the raised cosine amplitude
shaping:
p(x) + a4@ x4) a3@ x3) a2@ x2) a1@ x ) a
0
x is the input from the raised cosine shaping circuit
(0 ≤ x ≤ 1), and the output f(x) drives the power amplifier
TXPWRCOEFFC1, TXPWRCOEFFC0
Table 140. TXPWRCOEFFC1, TXPWRCOEFFC0
NameBitsR/WResetDescription
TXPWRCOEFFC15:0RW0x0000
See TXPWRCOEFFB0 for an explanation.
TXPWRCOEFFD1, TXPWRCOEFFD0
Table 141. TXPWRCOEFFD1, TXPWRCOEFFD0
NameBitsR/WResetDescription
TXPWRCOEFFD15:0RW0x0000
See TXPWRCOEFFB0 for an explanation.
(0 means no output power, 1 means maximum output
power).
For conventional (non-predistorted output), α
= α2 = α
0
= α4 = 0 and 0 ≤ α1 ≤ 1 controls the output power. If hard
amplitude shaping is selected, both the raised cosine
amplitude shaper and the predistortion is bypassed, and α
used.
Transmit Predistortion,
Transmit Predistortion,
TXPWRCOEFFB +
TXPWRCOEFFB +
ƪ
a2 212)
ƪ
a3 212)
1
ƫ
2
1
ƫ
2
3
1
www.onsemi.com
62
AND9347/D
TXPWRCOEFFE1, TXPWRCOEFFE0
Table 142. TXPWRCOEFFE1, TXPWRCOEFFE0
NameBitsR/WResetDescription
TXPWRCOEFFE15:0RW0x0000
Transmit Predistortion,
TXPWRCOEFFB +
ƪ
a4 212)
See TXPWRCOEFFB0 for an explanation.
PLL Parameters
PLLVCOI
Table 143. PLLVCOI
NameBitsR/WResetDescription
VCOI5:0RW010010This field sets the bias current for both VCOs. The increment is
VCOIE7RW0Enable manual VCOI
50 μA for VCO1 and 10 μA for VCO2.
PLLVCOIR
Table 144. PLLVCOIR
NameBitsR/WResetDescription
VCOIR5:0R−This field reflects the actual VCO current selected. If VCOIE
(Register PLLVCOI) is selected, this field reads the same as
VCOI (also Register PLLVCOI). Otherwise, the value reflects the
automatic setting.
1
2
ƫ
PLLLOCKDET
Table 145. PLLLOCKDET
NameBitsR/WResetDescription
LOCKDETDLY1:0RW11See Table 146: LOCKDETDL Y Bit Values
LOCKDETDLYM2RW00 = Automatic Lock Delay (determined by the currently active
LOCKDETDLYR7:6R−Lock Detect Read Back (not valid in power down mode)
frequency register);
1 = Manual Lock Delay (Bits LOCKDETDLY)
PLLRNGCLK2:0RW011See Table 148: PLLRNGCLK Bit Values
www.onsemi.com
63
AND9347/D
Table 148. PLLRNGCLK BIT VALUES
BitsMeaning
000
PLL Ranging Clock:
000
PLL Ranging Clock:
000
PLL Ranging Clock:
000
PLL Ranging Clock:
000
PLL Ranging Clock:
000
PLL Ranging Clock:
000
PLL Ranging Clock:
000
PLL Ranging Clock:
p
PLLRNG
p
PLLRNG
p
PLLRNG
p
PLLRNG
p
PLLRNG
p
PLLRNG
p
PLLRNG
p
PLLRNG
p
XTAL
+
8
2
p
XTAL
+
9
2
p
XTAL
+
8
2
p
XTAL
+
11
2
p
XTAL
+
12
2
p
XTAL
+
13
2
p
XTAL
+
14
2
p
XTAL
+
15
2
f
bandwidth, to allow enough settling time.
Crystal Oscillator
XTALCAP
Table 149. XTALCAP
NameBitsR/WResetDescription
XTALCAP7:0RW00000000Load Capacitance Configuration, See Table 150
should be less than one tenth of the loop filter
PLLRNG
Table 150. LOCKDETDLY BIT VALUES
BitsMeaning
0000003 pF
0000018.5 pF
0000109 pF
……
11011136 pF
……
11111140 pF
For values XTALCAP(5:0) ≠ 0, CL = 8 pF + 0.5 pF ⋅
XTALCAP (5:0).
Baseband
BBTUNE
Table 151. BBTUNE
NameBitsR/WResetDescription
BBTUNE3:0RW1001Baseband Tuning Value
BBTUNERUN4RW0Baseband Tuning Start
BBOFFSCAP
Table 152. BBOFFSCAP
NameBitsR/WResetDescription
CAPINTA2:0RW111Baseband Gain Block A Offset Compensation Capacitors
CAPINTB6:4RW111Baseband Gain Block B Offset Compensation Capacitors
www.onsemi.com
64
AND9347/D
Packet Format
PKTADDRCFG
Table 153. PKTADDRCFG
NameBitsR/WResetDescription
ADDR POS3:0RW0000Position of the address bytes
FEC SYNC DIS5RW1When set, disable FEC sync search during packet reception
CRC SKIP FIRST6RW0When set, the first byte of the packet is not included in the CRC
MSB FIRST7RW0When set, each byte is sent MSB first; when cleared, each byte
PKTLENCFG
Table 154. PKTLENCFG
NameBitsR/WResetDescription
LEN POS3:0RW0000Position of the length byte
LEN BITS7:4RW0000Number of significant bits in the length byte
calculation
is sent LSB first
The built-in packet length logic can support up to 255 byte
packets. It is still possible to receive lar ger packets if packet
length and, unless using HDLC, CRC is handled in the
microprocessor firmware. In order to enable reception of
arbitrary length packets, the following settings must be
• Register PKTLENCFG LEN BITS (bits 7:4) = 1111
• Register PKTMAXLEN = 0xFF
• Register PKTACCEPTFLAGS ACCPT LRGP (bit 5)
= 1
made:
PKTLENOFFSET
Table 155. PKTLENOFFSET
NameBitsR/WResetDescription
LEN OFFSET7:0RW0x00Packet Length Offset
The receiver adds LEN OFFSET to the length byte. The
Mode specific Framing0x03B1B2B3CRC
value of (length byte + LEN OFFSET) counts every byte in
the packet after the synchronization pattern, up to and
excluding the CRC bytes, but including the length byte.
For example with PKTLENCFG = 0x80 and
PKTLENOFFSET = 0x00 the receiver will correctly receive
With PKTLENCFG = 0x00 and PKTLENOFFSET =
0x03 the receiver will correctly receive the following packet
without length byte
Mode specific FramingB1B2B3CRC
the following packet (b1, b2 and b3 being data bytes).
Mode specific Framing0x04B1B2B3CRC
The length offset is treated as a signed value; LEN
OFFSET 0xff means the length offset is −1.
With PKTLENCFG = 0x80 and PKTLENOFFSET =
0x01 the receiver will correctly receive the following packet
The PKTCHUNKSIZE limits the maximum chunk size in
the FIFO. This number includes the flags byte and all data
bytes, but not the chunk header and the chunk length byte.
Packets larger than PKTCHUNKSIZE - 1 are split into
multiple chunks.
PKTMISCFLAGS
Table 184. PKTMISCFLAGS
NameBitsR/WResetDescription
RXRSSI CLK0RW0Clock source for RSSI settling timeout: 0 = 1 μs, 1 = Bit clock
RXAGC CLK1RW0Clock source for AGC settling timeout: 0 = 1 μs, 1 = Bit clock
BGND RSSI2RW0If 1, enable the calculation of the background noise/RSSI level
AGC SETTL DET3RW0If 1, if AGC settling is detected, terminate settling before timeout
WOR MULTI PKT4RW0If 1, the receiver continues to be on after a packet is received in
wake-on-radio mode; otherwise, it is shut down
PKTSTOREFLAGS
Table 185. PKTSTOREFLAGS
NameBitsR/WResetDescription
ST TIMER0RW0Store Timer value when a delimiter is detected
ST FOFFS1RW0Store Frequency offset at end of packet
ST RFOFFS2RW0Store RF Frequency offset at end of packet
ST DR3RW0Store Datarate offset at end of packet
ST RSSI4RW0Store RSSI at end of packet
www.onsemi.com
70
AND9347/D
Table 185. PKTSTOREFLAGS (continued)
NameDescriptionResetR/WBits
ST CRCB5RW0Store CRC Bytes. Normally, CRC bytes are discarded after
ST ANT RSSI6RW0Store RSSI and Background Noise Estimate at antenna
PKTACCEPTFLAGS
Table 186. PKTACCEPTFLAGS
NameBitsR/WResetDescription
ACCPT RESIDUE0RW0Accept Packets with a nonintegral number of Bytes (HDLC [1]
ACCPT ABRT1RW0Accept aborted Packets
ACCPT CRCF2RW0Accept Packets that fail CRC check
ACCPT ADDRF3RW0Accept Packets that fail Address check
ACCPT SZF4RW0Accept Packets that are too long
ACCPT LRGP5RW0Accept Packets that span multiple FIFO chunks
General Purpose ADC
GPADCCTRL
Table 187. GP ADCCTRL
NameBitsR/WResetDescription
CH ISOL0RW0Isolate Channels by sampling common mode between channels
CONT1RW0Enable Continuous Sampling (period according to
GPADC132RW0Enable Sampling GPADC1−GPADC3
BUSY7RS0Conversion ongoing when 1; when writing 1, a single conversion
checking. In HDLC [1] mode, CRC bytes are always stored,
regardless of this bit.
selection time
only)
GPADCPERIOD)
is started
GPADCPERIOD
Table 188. GPADCPERIOD
NameBitsR/WResetDescription
GPADCPERIOD7:0RW00111111
GPADC13VALUE1, GPADC13V ALUE0
Table 189. GP ADC13VALUE1, GPADC13VALUE0
NameBitsR/WResetDescription
GPADC13VALUE9:0R−
−
Reading this register clears the GPADC Interrupt.
www.onsemi.com
GPADC Sampling Period,
p
+
SR
GPADC13 Value
71
32 GPADCPERIOD
p
XTAL
AND9347/D
Low Power Oscillator Calibration
LPOSCCONFIG
Table 190. LPOSCCONFIG
NameBitsR/WResetDescription
LPOSC ENA0RW0Enable the Low Power Oscillator. If 0, it is disabled.
LPOSC FAST1RW0Select the Frequency of the Low Power Oscillator. 0 = 640Hz,
LPOSC IRQR2RW0Enable LP Oscillator Interrupt on the Rising Edge
LPOSC IRQF3RW0Enable LP Oscillator Interrupt on the Falling Edge
LPOSC CALIBF4RW0Enable LP Oscillator Calibration on the Falling Edge
LPOSC CALIBR5RW0Enable LP Oscillator Calibration on the Rising Edge
LPOSC OSC DOUBLE6RW0Enable LP Oscillator Calibration Reference Oscillator Doubling
LPOSC OSC INVERT7RW0Invert LP Oscillator Clock
LPOSCSTATUS
Table 191. LPOSCSTATUS
NameBitsR/WResetDescription
LPOSC EDGE0R−Enabled Low Power Oscillator Edge detected
LPOSC IRQ1R−Low Power Oscillator Interrupt Active
1 = 10.24 kHz
The EDGE and IRQ flags can be cleared by reading either
the LPOSCCONFIG, LPOSCSTATUS, LPOSCPER1 or
LPOSCPER0 register.
LPOSCKFILT1, LPOSCKFILT0
Table 192. LPOSCKFILT1, LPOSCKFILT0
NameBitsR/WResetDescription
LPOSCKFILT15:0RW0x20C4
The maximum value of k
, that results in quickest
FILT
calibration (single cycle), but no jitter suppression, is:
k
FILT
21333Hz 2
ƪ
+
p
XTAL
20
ƫ
LPOSCREF1, LPOSCREF0
Table 193. LPOSCREF1, LPOSCREF0
NameBitsR/WResetDescription
LPOSCREF15:0RW0x61A8
LPOSCFREQ1, LPOSCFREQ0
Table 194. LPOSCFREQ1, LPOSCFREQ0
NameBitsR/WResetDescription
LPOSCFREQ
9:-2
RW0x000LP Oscillator Frequency Tune Value; in 1/32 %.
k
(Low Power Oscillator Calibration Filter Constant)
Note that in ΣΔ mode, the output range is limited to the
range ¼…¾ ⋅ VDDIO, to ensure modulator stability. The
11
input value −2
results in ¼ ⋅ VDDIO, the input value 2
1 results in ¾ ⋅ VDDIO. In PWM mode, the output voltage
range is 0…VDDIO.
Performance Tuning Registers
Registers with Addresses from 0xF00 to 0xFFF are
performance tuning registers. Their optimum values are
computed by AX_RadioLab; this section only gives a rough
overview of how they should be set. Do not read or write
addresses not listed in the table below.
11
−
Table 199. REGISTER MAP
AddrRX/TXDescription
F00RX/TXSet to 0x0F
F0CRX/TXKeep the default 0x00
F0DRX/TXSet to 0x03
F10RX/TXSet to 0x04 if a TCXO is used. If a crystal is used, set to 0x0D if the reference frequency (crystal or
F11RX/TXSet to 0x07 if a crystal is connected to CLK16P/CLK16N, or 0x00 if a TCXO is used
F1CRX/TXSet to 0x07
F21RXSet to 0x5C
F22RXSet to 0x53
F23RXSet to 0x76
F26RXSet to 0x92
TCXO) is more than 43 MHz, or to 0x03 otherwise
www.onsemi.com
73
AND9347/D
Table 199. REGISTER MAP (continued)
AddrDescriptionRX/TX
F30RXThis register should be reset between WOR wake-ups. The reset value is the value read after
successful packet reception or 0x3F if no packet has been received yet.
F31RXThis register should be reset between WOR wake-ups. The reset value is the value read after
F32RXThis register should be reset between WOR wake-ups. The reset value is the value read after
F33RXThis register should be reset between WOR wake-ups. The reset value is the value read after
F34RX/TXSet to 0x28 if RFDIV in register PLLVCODIV is set, or to 0x08 otherwise
F35RX/TXSet to 0x10 for reference frequencies (crystal or TCXO) less than 24.8 MHz (f
F44RX/TXSet to 0x24
F72RXSet to 0x06 if the framing mode is set to “Raw, Soft Bits” (register FRAMING), or to 0x00 otherwise
successful packet reception or 0xF0 if no packet has been received yet.
successful packet reception or 0x3F if no packet has been received yet.
successful packet reception or 0xF0 if no packet has been received yet.
otherwise (f
XTALDIV
= 2)
XTALDIV
= 1), or to 0x11
www.onsemi.com
74
REFERENCES
P
al
AND9347/D
[1] Wikipedia. High-Level Data Link Control. see http://en.wikipedia.org/wiki/HDLC
.
[2] ON Semiconductor. AX5043 Datasheet. see http://www.onsemi.com
[3] Ross N. Williams. A Painless Guide to CRC Error Detection Algorithms. http://www.ross.net/crc/download/crc_v3.txt
ON Semiconductor and are trademarks of Semiconductor Components Industries, LLC dba ON Semiconductor or its subsidiaries in the United States and/or other countries.
ON Semiconductor owns the rights to a number of patents, trademarks, copyrights, trade secrets, and other intellectual property. A listing of ON Semiconductor’s product/patent
coverage may be accessed at www.onsemi.com/site/pdf/Patent−Marking.pdf. ON Semiconductor reserves the right to make changes without further notice to any products herein.
ON Semiconductor makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does ON Semiconductor assume any liability
arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation special, consequential or incidental damages.
Buyer is responsible for its products and applications using ON Semiconductor products, including compliance with all laws, regulations and safety requirements or standards,
regardless of any support or applications information provided by ON Semiconductor. “Typical” parameters which may be provided in ON Semiconductor data sheets and/or
specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including “Typicals” must be validated for each customer
application by customer’s technical experts. ON Semiconductor does not convey any license under its patent rights nor the rights of others. ON Semiconductor products are not
designed, intended, or authorized for use as a critical component in life support systems or any FDA Class 3 medical devices or medical devices with a same or similar classification
in a foreign jurisdiction or any devices intended for implantation in the human body. Should Buyer purchase or use ON Semiconductor products for any such unintended or unauthorized
application, Buyer shall indemnify and hold ON Semiconductor and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and
expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such
claim alleges that ON Semiconductor was negligent regarding the design or manufacture of the part. ON Semiconductor is an Equal Opportunity/Affirmative Action Employer. This
literature is subject to all applicable copyright laws and is not for resale in any manner.
UBLICATION ORDERING INFORMATION
LITERATURE FULFILLMENT:
Literature Distribution Center for ON Semiconductor
19521 E. 32nd Pkwy, Aurora, Colorado 80011 USA
Phone: 303−675−2175 or 800−344−3860 Toll Free USA/Canada
Fax: 303−675−2176 or 800−344−3867Toll Free USA/Canada
Email: orderlit@onsemi.com
◊
N. American Technical Support: 800−282−9855 Toll Free
USA/Canada
Europe, Middle East and Africa Technical Support:
Phone: 421 33 790 2910
Japan Customer Focus Center
Phone: 81−3−5817−1050
www.onsemi.com
ON Semiconductor Website: www.onsemi.com
Order Literature: http://www.onsemi.com/orderlit
For additional information, please contact your loc
Sales Representative
AND9347/D
75
RF Warning Statement
To comply with FCC RF exposure compliance requirements, the antennas used for this transmitter
must be installed to provide a separation distance of at least 20 cm from all persons and must not
be co-located or operating in conjunction with any other antenna or transmitter. This device is
intended only for OEM integrators under the following conditions:
1) The antenna must be installed such that 20 cm is maintained between the antenna and users, and
2) The transmitter module may not be co-located with any other transmitter or antenna.
As long as two conditions above are met, further transmitter test will not be required as something
related to RF exposure. However, the OEM integrator is still responsible for testing their end-product
for any additional compliance requirements required with this module installed. To ensure compliance
with all non-transmitter functions the host manufacturer is responsible for ensuring compliance with
the module(s) installed and fully operational. For example, if a host was previously authorized as an
unintentional radiator under the Declaration of Conformity procedure without a transmitter certified
module and a module is added, the host manufacturer is responsible for ensuring that the after the
module is installed and operational the host continues to be compliant with the Part 15B unintentional
radiator requirements.
The module is limited to OEM installation ONLY. The module is limited to installation in mobile or
fixed application. We hereby acknowledge our responsibility to provide guidance to the host
manufacturer in the event that they require assistance for ensuring compliance with the Part 15 Subpart
B requirements.
End Product Labeling
This transmitter module is authorized only for use in device where the antenna may be installed such
that 20 cm may be maintained between the antenna and users. The final end product must be labeled in
a visible area with the following: “Contains FCC ID: R2ZEC5X43S”. The grantee's
FCC ID and IC Number can be used only when all FCC and ISED compliance requirements are met.
The following FCC part 15.19 statement has to also be available on the label: This device complies
with Part 15 of FCC rules. Operation is subject to the following two conditions:
(1) this device may not cause harmful interference and
(2) this device must accept any interference received, including interference that may cause undesired
operation.
Manual Information to the End User
The OEM integrator has to be aware not to provide information to the end user regarding how to
install or remove this RF module in the user’s manual of the end product which integrates this module.
In the user manual of the end product, the end user has to be informed that the equipment complies
with FCC radio-frequency exposure guidelines set forth for an uncontrolled environment. The end user
has to also be informed that any changes or modifications not expressly approved by the manufacturer
could void the user's authority to operate this equipment. The end user manual shall include all
required regulatory information/warning as show in this manual.
This device complies with Part 15 of the FCC Rules and with RSS-210 of Industry Canada. Operation
is subject to the following two conditions:
(1) This device may not cause harmful interference, and
(2) this device must accept any interference received, including interference that may cause undesired
operation.
Le présent appareil est conforme aux CNR d'Industrie Canada applicables aux appareils radio exempts
de licence. L'exploitation est autorisée aux deux conditions suivantes :
(1) l'appareil ne doit pas produire de brouillage, et
(2) l'utilisateur de l'appareil doit accepter tout brouillage radioélectrique subi, même si le brouillage est
susceptible d'en compromettre le fonctionnement.
Radiation Exposure Statement:
This equipment complies with IC radiation exposure limits set forth for an uncontrolled environment.
This equipment should be installed and operated with minimum distance 20cm between the radiator &
your body
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.