[riot-users] Manipulate CPU Register on samr21-xpro

José Alamos jose.alamos at haw-hamburg.de
Mon Jul 15 11:22:43 CEST 2019

Hello Oliver,

For that purpose you can use the `at86rf2xx_set_txpower` function [1]
(if you are using the raw radio) or use the netdev interface (`set` [2]
function with NETOPT_TX_POWER netopt).

If you are using GNRC, you can use `netapi` to set the TX power on a
given interface(check e.g this [3])



On Fri, 2019-07-12 at 18:48 +0200, oliver wrote:
> Hello guys,
> I'm using some samr21-xpro boards and the output radio power of the
> modul is very strong.
> I want to reduce the power a little bit. The datasheet ([1],  Page
> 979 -
> 980) says, I have to manipulate register
> "PHY_TX_PWR" (Address 0x5).
> Does anyone have an idea how the implementation looks like in C.
> [1]: Datasheet:
> http://ww1.microchip.com/downloads/en/DeviceDoc/SAM-R21_Datasheet.pdf

More information about the users mailing list