misc update
This commit is contained in:
@@ -214,6 +214,11 @@ int32_t Hardware_Init(void)
|
|||||||
Status = Hardware_SwitchFreq(ad9361_1_reg_inst, TX_FREQ_4125);
|
Status = Hardware_SwitchFreq(ad9361_1_reg_inst, TX_FREQ_4125);
|
||||||
XGpioPs_WritePin(&Gpio, AD9361_TX_SWITCH, 0);
|
XGpioPs_WritePin(&Gpio, AD9361_TX_SWITCH, 0);
|
||||||
|
|
||||||
|
Status = ad9361_reg_write(ad9361_1_reg_inst, 0x0109, 0x00); // Rx Gain
|
||||||
|
Status = ad9361_reg_write(ad9361_1_reg_inst, 0x010C, 0x00); // Rx Gain
|
||||||
|
Status = ad9361_reg_write(ad9361_2_reg_inst, 0x0109, 0x00); // Rx Gain
|
||||||
|
Status = ad9361_reg_write(ad9361_2_reg_inst, 0x010C, 0x00); // Rx Gain
|
||||||
|
|
||||||
DBG_PRINT("Done.\n");
|
DBG_PRINT("Done.\n");
|
||||||
|
|
||||||
return SUCCESS;
|
return SUCCESS;
|
||||||
|
|||||||
@@ -150,12 +150,12 @@ const uint8_t hopPattern_2KBPS_100MS[L1_FRAME_2KBPS_100MS_HOPS] =
|
|||||||
|
|
||||||
const uint8_t hopPattern_10KBPS_10MS[L1_FRAME_10KBPS_10MS_HOPS] =
|
const uint8_t hopPattern_10KBPS_10MS[L1_FRAME_10KBPS_10MS_HOPS] =
|
||||||
{
|
{
|
||||||
80
|
0
|
||||||
};
|
};
|
||||||
|
|
||||||
const uint8_t hopPattern_10KBPS_20MS[L1_FRAME_10KBPS_20MS_HOPS] =
|
const uint8_t hopPattern_10KBPS_20MS[L1_FRAME_10KBPS_20MS_HOPS] =
|
||||||
{
|
{
|
||||||
80, 1, 2, 3, 4, 5, 6, 7,
|
0, 1, 2, 3, 4, 5, 6, 7,
|
||||||
8, 9, 10
|
8, 9, 10
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -63,10 +63,10 @@
|
|||||||
#define ATTN_DEFAULT 0
|
#define ATTN_DEFAULT 0
|
||||||
#define ATTN_2KBPS_100MS ATTN_DEFAULT
|
#define ATTN_2KBPS_100MS ATTN_DEFAULT
|
||||||
#define ATTN_2KBPS_20MS ATTN_DEFAULT
|
#define ATTN_2KBPS_20MS ATTN_DEFAULT
|
||||||
#define ATTN_10KBPS_10MS 12
|
#define ATTN_10KBPS_10MS 31
|
||||||
#define ATTN_10KBPS_20MS 12
|
#define ATTN_10KBPS_20MS 31
|
||||||
#define ATTN_40KBPS_10MS 0
|
#define ATTN_40KBPS_10MS 21
|
||||||
#define ATTN_40KBPS_20MS 0
|
#define ATTN_40KBPS_20MS 21
|
||||||
#define ATTN_200KBPS_5MS ATTN_DEFAULT
|
#define ATTN_200KBPS_5MS ATTN_DEFAULT
|
||||||
#define ATTN_1M2BPS_5MS ATTN_DEFAULT
|
#define ATTN_1M2BPS_5MS ATTN_DEFAULT
|
||||||
/** @} PhysicalLayer_Private_Constants*/
|
/** @} PhysicalLayer_Private_Constants*/
|
||||||
|
|||||||
Reference in New Issue
Block a user