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:
- Parameters:
-
| tstamp |
- 0: Deactivate RX frame time stamping
- 1: Activate RX frame time stamping
|
- Code example
- Returns:
- tstamp
- 0: RX frame time stamping deactivated
- 1: RX frame time stamping activated
- Code example
-
Generated on Mon Jan 12 18:32:19 2009 for SWPM AT86RF231 by
1.5.2