Skip to content

Commit d211676

Browse files
Copilotmatthias-bs
andcommitted
Add explanatory comment for 890 MHz frequency band split
Co-authored-by: matthias-bs <83612361+matthias-bs@users.noreply.github.com>
1 parent 906b247 commit d211676

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/cc1101.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -747,6 +747,11 @@ def setOutputPower(self, power):
747747
# - 434 MHz band: 387–464 MHz
748748
# - 868 MHz band: 779–<890 MHz
749749
# - 915 MHz band: 890–928 MHz
750+
#
751+
# Note: The valid frequency range 779-928 MHz from setFrequency() is split at 890 MHz
752+
# to use appropriate PA_TABLE values for the 868 MHz ISM band (863-870 MHz) vs the
753+
# 915 MHz ISM band (902-928 MHz). This provides better power calibration for each
754+
# sub-band rather than using a single set of PA values for the entire range.
750755
if self._freq < 348.0:
751756
# 315 MHz band
752757
f = 0

0 commit comments

Comments
 (0)