janjongboom / sam-lorawan-mbedos5

Mbed OS 5 LoRaWAN stack running on SAML21 and SAMR34 Xplained Pro
Apache License 2.0
6 stars 1 forks source link

Enabling PABoost in SAMR34 with MBedOS::: #6

Open Govardhan1999 opened 4 years ago

Govardhan1999 commented 4 years ago

When using MBedOS in SAMR34 Xplained Pro with the following LoRa configuration I am facing the issue with enabling PABoost

Configuration used::

Observations::

How can we enable PABoost in SAMR34 with MBedOS??

elsalahy commented 4 years ago

I think you can do this in multiple ways, one via SW and one via HW. I have tested the SW method, but you are welcome to try both.

  1. SW case you can change the radio-variant to SX1276MB1MAS just add "sx1276-lora-driver.radio-variant":"SX1276MB1MAS" to your mbed_app.json. This will change your default runtime registers configuration. I think PA_BOOST is the default.

image

image

  1. HW case pin LORA_RFSWITCH_CTL1 which is PA13 in case of Xplained pro board can switch on PA_BOOST by applying high on the output PA13 pin. image