Hello !
I have included to my net core radio driver header
#include <hal/nrf_radio.h>
and expect to use all positive and negative TX power enumerations from nrf_radio_txpower_t enumeration.
But looks like positive values are not defined anywhere
typedef enum
{
#if defined(RADIO_TXPOWER_TXPOWER_Pos8dBm) || defined(__NRFX_DOXYGEN__)
NRF_RADIO_TXPOWER_POS8DBM = RADIO_TXPOWER_TXPOWER_Pos8dBm, /**< 8 dBm. */
#endif
#if defined(RADIO_TXPOWER_TXPOWER_Pos7dBm) || defined(__NRFX_DOXYGEN__)
NRF_RADIO_TXPOWER_POS7DBM = RADIO_TXPOWER_TXPOWER_Pos7dBm, /**< 7 dBm. */
#endif
....
But I think for nRF5340 only 0dM to -40 dbm power is valid
and for have +3dBm I should request VREQCTRL high voltage and set POWER register to 0 dbm
I cook combined driver for nRF52840 and nRF5340 and try to take radio differences in account.
Regards,
Eugene
Is this so ?