diff options
author | Keith Packard <keithp@keithp.com> | 2014-09-06 20:39:37 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-09-06 20:39:37 -0700 |
commit | f395bcaa620490954d4a42de9b4870bc12bedc91 (patch) | |
tree | 56ece9760e4873bd4b7e6bab907c8ad8dccb12cf /src/drivers/ao_cc1120.h | |
parent | dd26ec2e706bdd29090759deeb90090a0e3b74f0 (diff) |
altos: Reduce deviation at 2400/9600 baud
There's no reason to use 20.5kHz deviation at 2400 and 9600 baud, and
if we get a better receiver, we'll want to use narrower deviation to
have less bandwidth sucking noise into the radio. The new values are
(nominally) 5.125kHz deviation for 9600 baud and 1.5kHz deviation for
2400 baud.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/drivers/ao_cc1120.h')
-rw-r--r-- | src/drivers/ao_cc1120.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/drivers/ao_cc1120.h b/src/drivers/ao_cc1120.h index 5d24c49a..943f3449 100644 --- a/src/drivers/ao_cc1120.h +++ b/src/drivers/ao_cc1120.h @@ -189,6 +189,12 @@ #define CC1120_FREQ_IF_CFG 0x0f #define CC1120_IQIC 0x10 #define CC1120_CHAN_BW 0x11 +#define CC1120_CHAN_BW_CHFILT_BYPASS 7 +#define CC1120_CHAN_BW_ADC_CIC_DECFACT 6 +#define CC1120_CHAN_BW_ADC_CIC_DECFACT_20 0 +#define CC1120_CHAN_BW_ADC_CIC_DECFACT_32 1 +#define CC1120_CHAN_BW_BB_CIC_DECFACT 0 + #define CC1120_MDMCFG1 0x12 #define CC1120_MDMCFG1_CARRIER_SENSE_GATE 7 #define CC1120_MDMCFG1_FIFO_EN 6 |