![Analog Devices AD9361 Reference Manual Download Page 25](http://html1.mh-extra.com/html/analog-devices/ad9361/ad9361_reference-manual_2939854025.webp)
AD9361 Reference Manual
UG-570
| Page 25 of 128
ENABLE STATE MACHINE GUIDE
OVERVIEW
The
AD9361
transceiver includes an enable state machine
(ENSM), allowing real time control over the current state of the
device. The ENSM has two possible control methods—SPI
control and pin control. The ENSM is controlled asynchro-
nously by writing SPI registers to advance the current state to
the next state. The ENABLE and TXNRX pins allow real time
control of the current state. The ENSM also allows TDD or
FDD operation. The ad9361_set_en_state_machine_mode
function configures the ENSM.
The gray states displayed in Figure 9 require no user control
and will fall through to the next state after a set time. The
TO_ALERT signal is a setting in the ENSM Config 1 register.
To move to the WAIT state, clear the TO_ALERT bit while in
the Rx or Tx states. In that configuration when moving out of
the Rx, Tx, or FDD states, the ENSM will transition to the
WAIT state. If the bit is set the ENSM will transition to the
ALERT state. The SLEEP state is the WAIT state with the
AD9361
clocks disabled. To enter the sleep state, transition to
the WAIT state, then disable the
AD9361
clocks in the BPLL
register.
Figure 9. TDD and FDD State Diagrams for the Enable State Machine
ENSM STATE DEFINITIONS
The enable state machine contains the states shown in Table 13.
Table 13. ENSM State Values
ENSM State Name
Value in ENSM State (decimal)
Description
SLEEP
0
WAIT state with
AD9361
clocks/BBPLL disabled
WAIT
1
0
Synthesizers disabled (power saving mode)
CALIBRATION
1, 2, 3
WAIT to ALERT delay
4
Fixed delay set by Register 0x024 and Register 0x025
ALERT
1
5
Synthesizers enabled.
Tx
1
6
Tx signal chain enabled
Tx FLUSH
7
Time to allow digital filters and signal path to flush
Rx
1
8
Rx signal chain enabled
Rx FLUSH
9
Time to allow digital filters and signal path to flush
FDD
1
10
Tx and Rx signal chains enabled
FDD FLUSH
11
Time to allow digital filters and signal path to flush
1
These states require user interaction to move to the next state.
SLEEP
WAIT
ALERT
TX
RX
RX
FLUSH
TX
FLUSH
POWER ON
VCO LDO
TO_ALERT = 0
TO_ALERT = 0
TO_ALERT = 1
TO_ALERT = 1
TDD ENABLE STATE
MACHINE
SLEEP
WAIT
ALERT
FDD
FDD
FLUSH
POWER ON
VCO LDO
TO_ALERT = 0
TO_ALERT = 1
FDD ENABLE STATE
MACHINE
1
1668-
010
Rev. A