GrumpyOldPizza / ArduinoCore-stm32l0

Arduino Core for STM32L0
125 stars 67 forks source link

Support of PA boost on CMWX1ZZABZ #73

Closed PAk-CatchFire closed 5 years ago

PAk-CatchFire commented 5 years ago

Hi again. On Murata's datasheet appears the following: "Normal output power is +14dBm but a PA boost function can be selected to increase RF output to + 20dBm for long-range applications"

Does this core support that function? Thank you

GrumpyOldPizza commented 5 years ago

Yes. Actually RFO goes to +15dBm. PA_BOOST to 20dBm nominally.

PAk-CatchFire commented 5 years ago

Thank you. How could I enable/disable it?

GrumpyOldPizza commented 5 years ago

You don't enable/disable that. Depending upon what TxPower you use the proper path will be selectecd.

On Thu, Mar 7, 2019 at 4:46 AM Pak notifications@github.com wrote:

Thank you. How could I enable/disable it?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/GrumpyOldPizza/ArduinoCore-stm32l0/issues/73#issuecomment-470495818, or mute the thread https://github.com/notifications/unsubscribe-auth/AG4QfFfw57CdCEknEWRuAwYxbCfMu7xMks5vUPwugaJpZM4biOuK .

PAk-CatchFire commented 5 years ago

Ok, I see.... So could I just call: LoRaRadio.setTxPower(20);

and get PA_BOOST on automatically?

Regards

GrumpyOldPizza commented 5 years ago

Pretty much. Except up to 15dBm RFO is in use. But if you used 20dBm, then yes PA_BOOST is used.