Radio Control Layer (RCL)
|
The Generic Fs command handler is the simplest way to program the frequency synthesizer. The opposite action can be achieved with the Generic FS Off handler.
In order to submit a Generic FS command, the following steps must have taken place:
Once these steps have been completed, RCL_Command_submit and RCL_Command_pend are called to effectively send and then wait for the command to conclude. Once this has happened, the callback and the command status can be used for error checking and the application can proceed according to its specification.
The Generic FS command is normally used when the user wants to program the frequency synthesizer without starting to transmit or receive anything.
Once the command executes, it's important to keep in mind that a following RX or TX command must be started with frequency set to 0 to avoid new frequency programming. Therefore, the use of this command is normally discouraged.
The Generic FS command handler has a particular short life cycle since it does not transmit or receive anything. Having said this, it has significant implications on how the device conducts its power management. Once the operation succeeds, and the LRF event received is the expected one (that is, LRF_EventOpDone), power constraints are set to keep the device from going into the standby power mode, and are only released once the equivalent Generic FS Off command is used.
RCL Event (In) | Description |
---|---|
setup | Setup has been performed |
timerStart | Timer-based start signalled |
RCL Event (Out) | Description |
---|---|
lastCmdDone | The RCL is finished with the command |
cmdStarted | Command handler has accepted and started executing |
LRF Event | Description |
---|---|
opDone | The PBE operation has finished |
opError | Something went wrong. Cause located in the PBE ENDCAUSE register |