RX Frame Time Stamping

Instead of using TRX_IRQ_RX_START to get a time stamp, pin 10 (DIG2) can be activated to signal the start of an incoming frame. If enabled DIG2 is set to DIG2=H at the same time as TRX_IRQ_RX_START, even if this interrupt is disabled.

This function is enabled with register bit SR_IRQ_2_EXT_EN (register 0x04) set. DIG2 could be connected to a timer capture unit of the microcontroller. For more details refer to section 11.6 (RX Frame Time Stamping) of the AT86RF231 datasheet.

Note:
Do not enable Antenna Diversity RF switch control (SR_ANT_EXT_SW_EN = 1) and RX Frame Time Stamping (SR_IRQ_2_EXT_EN = 1) at the same time.
Use Cases:


SET_TIME_STAMP_CFG

Parameters:
tstamp 
  • 0: Deactivate RX frame time stamping
  • 1: Activate RX frame time stamping
inline_mscgraph_103
Code example
    /* AT86RF231::[ACTIVE] */
    trx_bit_write(SR_IRQ_2_EXT_EN, tstamp);

GET_TIME_STAMP_CFG

Returns:
tstamp
inline_mscgraph_104
Code example
    /* AT86RF231::[ACTIVE] */
    tstamp = trx_bit_read(SR_IRQ_2_EXT_EN);

Generated on Mon Jan 12 18:32:19 2009 for SWPM AT86RF231 by  doxygen 1.5.2