152
8111C–MCU Wireless–09/09
AT86RF231
11.7
Frame Buffer Empty Indicator
11.7.1
Overview
For time critical applications that want to start reading the frame data as early as possible, the
Frame Buffer status can be indicated to the microcontroller through a dedicated pin. This pin
indicates to the microcontroller if an access to the Frame Buffer is not possible since valid PSDU
data are missing.
Pin 24 (IRQ) can be configured as a Frame Buffer Empty Indicator during a Frame Buffer read
access. This mode is enabled by register bit RX_BL_CTRL (register 0x04, TRX_CTRL_1). The
IRQ pin turns into Frame Buffer Empty Indicator after the Frame Buffer read access command,
Buffer read procedure has finished indicated by /SEL = H, see note (4).
Figure 11-13. Timing Diagram of Frame Buffer Empty Indicator
The microcontroller has to observe the IRQ pin during the Frame Buffer read procedure. A
Frame Buffer read access can proceed as long as pin IRQ = L, see note (2). Pin IRQ = H indi-
cates that the Frame Buffer is currently not ready for another SPI cycle, note (3), and thus the
Frame Buffer read procedure has to wait for valid data accordingly.
The access indicator pin 24 (IRQ) shows a valid access signal (either access is allowed or
denied) not before t
13 = 750 nsec after the rising edge of last SCLK clock of the Frame Buffer
read command byte.
After finishing the SPI frame receive procedure, and the SPI has been released by /SEL = H,
note (4), pending interrupts are indicated immediately by pin IRQ. During all other SPI accesses,
except during a SPI frame receive procedure with RX_BL_CTRL = 1, pin IRQ only indicates
interrupts.
If a receive error occurs during the Frame Buffer read access the Frame Buffer Empty Indicator
locks on 'empty' (pin IRQ = H) too. To prevent possible deadlocks, the microcontroller should
impose a timeout counter that checks whether the Frame Buffer Empty Indicator remains logic
high for more than 64 s. Presuming a PHY data rate of 250 kb/s a new byte must have been
arrived at the Frame Buffer during that period. If not, the Frame Buffer read access should be
aborted.
/SEL
MOSI
MISO
IRQ
SCLK
Command
PHY_STATUS
XX
IRQ_STATUS
Command
PHY_STATUS
XX
PHR[7:0]
XX
PSDU[7:0]
IRQ_2 (RX_START)
XX
PSDU[7:0]
XX
PSDU[7:0]
t13
XX
LQI[7:0]
Command
PHY_STATUS
XX
IRQ_STATUS
IRQ_3 (TRX_END)
Frame Buffer Empty Indicator
(1)
(4)
(3)
(2)
Notes