Hi there,
I am trying to change the transmission power of the NRF5340 devices (for IEEE 802.15.4 radio) with Contiki-NG.
With some other hardware (sky motes) that is based on CC2420 radio we use a function like this:
static void set_txpower(uint8_t power) { uint16_t reg; reg = getreg(CC2420_TXCTRL); reg = (reg & 0xffe0) | (power & 0x1f); setreg(CC2420_TXCTRL, reg); }
Iliar