Replies: 1 comment 1 reply
-
There certainly was an intent behind this - when I was first writing the SX126x driver, I didn't have any equipment to check the actual output power. So I defaulted to what seemed like the safest option, i.e. setting the maximum
Indeed that is what the datasheet implies. But this confusion was why I wanted to avoid messing with the PA parameters, despite having the device running at a suboptimal efficiency. We can revisit this and optimize - what I'm a bit confused by is what flexibility is there in the PA configuration. For example, can we select any |
Beta Was this translation helpful? Give feedback.
-
Hi There,
I noticed that the library defaults to 0x04-0x07 for the paDutyCycle and hpMax parameters regardless of the power output. As all in this library, I'm sure this was done like that for some good reason despite from the datasheet table, these do not appear to be the most efficient parameters.
Following the table it would seem that the ideal parameters for 14dbm (as example) would be 0x02-0x02, but it is a bit confusing as it seems that you should always put an output power of 22dbm (as the last row says) and modify paDutyCycle and hpMax instead?
Just out of curiosity. I attach the SX rf output to a powermeter (that should not be perfectly calibrated) I have gotten the following results:
Traditional way
radio.setOutputPower(14)
+15.1dbm - Power draw +55.6mAradio.setOutputPower(22)
+23.8dbm - (not power measured)Per PA table 14dbm recomended
Per PA table 14dbm recomended, increasing hpMax +1
Per PA table 14dbm recomended, increasing paDutyCycle and hpMax +1
I would still like to test if this translates into the same transmission distances, as on paper there seems to be an efficiency gain of +16%. Do not take the absolute consumption as a reference as it will depend on other factors such as packet length, ldo, frequency etc.. but it could be a good starting point.
This was test on a Heltec V3 board (heltec_wifi_kit_32_V3)
Looking forward to hearing your thoughts
Beta Was this translation helpful? Give feedback.
All reactions