mirror of
https://github.com/peterantypas/maiana.git
synced 2025-05-18 08:20:08 -07:00
Restored original CCA headroom, fixed GPIO config for RX IC
This commit is contained in:
parent
88d6537eb1
commit
f116f73e98
@ -60,7 +60,7 @@
|
|||||||
|
|
||||||
// Headroom above noise floor (in dB) that constitutes a clear channel for transmission
|
// Headroom above noise floor (in dB) that constitutes a clear channel for transmission
|
||||||
#if FULL_RSSI_SAMPLING
|
#if FULL_RSSI_SAMPLING
|
||||||
#define TX_CCA_HEADROOM 3
|
#define TX_CCA_HEADROOM 6
|
||||||
#else
|
#else
|
||||||
// When sampling RSSI sparsely, there is a tendency to overestimate the noise floor, so there is no need for headroom
|
// When sampling RSSI sparsely, there is a tendency to overestimate the noise floor, so there is no need for headroom
|
||||||
#define TX_CCA_HEADROOM 0
|
#define TX_CCA_HEADROOM 0
|
||||||
|
@ -351,7 +351,7 @@ void Receiver::configureGPIOsForRX()
|
|||||||
gpiocfg.GPIO0 = 0x00; // No change
|
gpiocfg.GPIO0 = 0x00; // No change
|
||||||
gpiocfg.GPIO1 = 0x14; // RX data bits
|
gpiocfg.GPIO1 = 0x14; // RX data bits
|
||||||
gpiocfg.GPIO2 = 0x00; // No change
|
gpiocfg.GPIO2 = 0x00; // No change
|
||||||
gpiocfg.GPIO3 = 0x1F; // RX/TX data clock
|
gpiocfg.GPIO3 = 0x11; // RX data clock
|
||||||
gpiocfg.NIRQ = 0x00; // Nothing
|
gpiocfg.NIRQ = 0x00; // Nothing
|
||||||
gpiocfg.SDO = 0x00; // No change
|
gpiocfg.SDO = 0x00; // No change
|
||||||
gpiocfg.GENCFG = 0x00; // No change
|
gpiocfg.GENCFG = 0x00; // No change
|
||||||
|
@ -75,6 +75,7 @@ void Transceiver::configure()
|
|||||||
memcpy(p.Data, data, sizeof data);
|
memcpy(p.Data, data, sizeof data);
|
||||||
sendCmd(SET_PROPERTY, &p, 12, NULL, 0);
|
sendCmd(SET_PROPERTY, &p, 12, NULL, 0);
|
||||||
|
|
||||||
|
// These resulted from characterization with default BOM
|
||||||
pa_params pwr;
|
pa_params pwr;
|
||||||
switch(mPartNumber)
|
switch(mPartNumber)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user