SX1278 Maximum Power output controls #1574
arizonajon1
started this conversation in
General
Replies: 1 comment
-
Therea re acouple of things that need to be done in order to enable +20 dBm output i nterms of configuring the registers, and all of it should be performed by the library, as seen in the source code. Including RegPaDac register: RadioLib/src/modules/SX127x/SX1278.cpp Lines 328 to 331 in 2d51048 If the output power is lacking, is missing configuration of the overcurrent protection with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there - I am very new to radiolib, so apologies if I am asking a question with an obvious answer %^).
I am using the Semtech SX1278 in LoRa operation. I want to force +20 dBm LoRa operation (I will manage the duty cycle). I am currently measuring +17 dBm at the antenna output. In the SX1278 datasheet, it says RegPaDac (addr 0x4d) must be changed from 0x84 to 0x87. How do I set RegPaDac to 0x87? Or is it already set?
In SX1278.h
/*!
\brief Sets transmission output power. Allowed values range from -4 to 15 dBm (RFO pin) or +2 to +17 dBm (PA_BOOST pin).
High power +20 dBm operation is also supported, on the PA_BOOST pin.
\param power Transmission output power in dBm.
\param forceRfo Whether to force using the RFO pin for the RF output (true)
or to leave the selection up to user (false) based on power output.
\returns \ref status_codes
*/
int16_t setOutputPower(int8_t power, bool forceRfo);
Beta Was this translation helpful? Give feedback.
All reactions