SUBGRF_SetTxParams Pa config #82
Labels
bug
Something isn't working
internal bug tracker
Issue confirmed and logged into the internal bug tracking system
mw
Middleware-related issue or pull-request.
subghz
Sub-GHz radio
I'm working on STM32CubeWL 1.3.0. I've seen that SUBGRF_SetTxParams function seems to set Pa config and power setting in according to Table 27. "PA optimal setting and operating mode of RM0461".
But I think the implementation in STM32CubeWL 1.1.0 is more correct beacause it use power instead of max_power to select the right configuration of PA.
Version 1.3.0:
`
`
Version 1.1.0
`
`
Example
In version 1.3.0 if the input power is 10dbm and max_power in LP is 15dbm the settings will be this:
SUBGRF_SetPaConfig(0x07, 0x00, 0x01, 0x01);
power = 0x0E - (max_power - power) = 0x0E - (15-10) = 14-5 = 9
These values are not what I'm expecting reading the RM0461
The text was updated successfully, but these errors were encountered: