Silicon Laboratories Si4010 Software Programming Manual page 96

Hide thumbs Also See for Si4010:
Table of Contents

Advertisement

AN370
Outputs:
None
bSleepTim_CheckDutyCycle
Description: Intended to be called before each transmission of a single frame. It compares
the sleep timer value stored by a prior call to vSleepTim_GetCount() with the value which
would take 1 hour for the counter to completely decrement. If the stored number is larger,
the next transmit will violate the duty cycle enforcing, and a value 0 is returned. If stored
value is smaller, the next transmit will not violate the duty cycle enforcing, and a value 1 is
returned.
The value which would take 1 hour for the counter to completely decrement is set into the
part during production test.
Inputs:
None
Outputs:
Clear to Transmit: (BYTE) 0 if the next transmission will violate duty cycle
enforcement, or 1 if the next transmission will not violate duty cycle enforcement.
vSleepTim_AddTxTimeToCounter
Description: Adds the appropriate value to the sleep timer based on the transmission time
of the next packet. Some preprocessing of the transmission time is required before passing
it to this function. Callers must run the transmit time through the following equation
before passing it in as wiIntegrand.
wiIntegrand = (TxTime * 256) / E
The TxTime is the total time of transmission of the next packet in seconds and E is the
duty cycle enforcement ratio. Due to the fact that transmission times should be consistent
and predictable in the Si4010 application, users should be able to define constants which
represent the result of the above equation. These constants can then be used as wiInte-
grand, and no calculation is necessary at runtime.
It is recommended that the longest packet transmission is no longer than 100 ms and the
96
Rev. 1.0

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Si4010 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents