mirror of
https://github.com/espressif/openthread.git
synced 2026-08-02 09:07:47 +00:00
[efr32] Radio: correct PA supply selection for BRD4166A (#4506)
This commit is contained in:
committed by
Jonathan Hui
parent
609665d017
commit
83c75333ec
@@ -45,4 +45,6 @@
|
||||
#define RADIO_CONFIG_DMP_SUPPORT 0 /// Set to 1 to enable Dynamic Multi-Protocol support in radio.c
|
||||
#endif
|
||||
|
||||
#define RADIO_CONFIG_PA_USES_DCDC 0 /// The PA(s) is(are) fed from VBAT
|
||||
|
||||
#endif // __BOARD_CONFIG_H__
|
||||
|
||||
@@ -45,4 +45,6 @@
|
||||
#define RADIO_CONFIG_DMP_SUPPORT 0 /// Set to 1 to enable Dynamic Multi-Protocol support in radio.c
|
||||
#endif
|
||||
|
||||
#define RADIO_CONFIG_PA_USES_DCDC 1 /// The PA(s) is(are) fed from the DCDC
|
||||
|
||||
#endif // __BOARD_CONFIG_H__
|
||||
|
||||
@@ -46,4 +46,6 @@
|
||||
#define RADIO_CONFIG_DMP_SUPPORT 0 /// Set to 1 to enable Dynamic Multi-Protocol support in radio.c
|
||||
#endif
|
||||
|
||||
#define RADIO_CONFIG_PA_USES_DCDC 0 /// The PA(s) is(are) fed from VBAT
|
||||
|
||||
#endif // __BOARD_CONFIG_H__
|
||||
|
||||
@@ -45,4 +45,6 @@
|
||||
#define RADIO_CONFIG_DMP_SUPPORT 0 /// Set to 1 to enable Dynamic Multi-Protocol support in radio.c
|
||||
#endif
|
||||
|
||||
#define RADIO_CONFIG_PA_USES_DCDC 0 /// The PA(s) is(are) fed from VBAT
|
||||
|
||||
#endif // __BOARD_CONFIG_H__
|
||||
|
||||
@@ -186,7 +186,11 @@ static const RAIL_IEEE802154_Config_t sRailIeee802154Config = {
|
||||
.isPanCoordinator = false,
|
||||
};
|
||||
|
||||
#if RADIO_CONFIG_PA_USES_DCDC
|
||||
RAIL_DECLARE_TX_POWER_DCDC_CURVES(piecewiseSegments, curvesSg, curves24Hp, curves24Lp);
|
||||
#else
|
||||
RAIL_DECLARE_TX_POWER_VBAT_CURVES(piecewiseSegments, curvesSg, curves24Hp, curves24Lp);
|
||||
#endif
|
||||
|
||||
static int8_t sTxPowerDbm = OPENTHREAD_CONFIG_DEFAULT_TRANSMIT_POWER;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user