I am running the RAILTest sample application on a Mighty Gecko 19dBm board (BRD4164A) on a WSTK. Simplicity Studio v5, SDK 3.1.1. The SMA connector on the board is hooked up directly to my spectrum analyzer. As I step through the power levels, it reaches -9.9dBm by about power-level 50, but that's as high as it goes. Even with power level 248, still just -9.9dBm. I was initially testing this on my custom board, so I was happy to be able to repeat the problem on the WSTK/BRD4164A -- it tells me that I'm doing something wrong in the project configuration or RAIL Setup... but I can not figure out what!
One interesting issue, after creating the RAILTest project and running on the board, I get an error saying "PA not configured". The only way I could get this to work was the comment out that switch-statement in parameter_ci.c and hard-code the 'end' to 248.
So I suspect that I am not properly setting up the SubGhz PA. I was following directions found in AN1127.
If anyone has any suggestions -- would be greatly appreciated
I have some questions on this issue as well as some ideas to help localize the root cause.
- Did you test it on an unmodified RAILTest project? Could you confirm, that you selected BRD4164 at the project creation? Which radio configuration had you used?
- Could you repeat these tests it in a radiated setup (just to rule out the possibility that the spectrum analyzer fails due to it got damaged/has been saturated)? Do you see difference on different power levels using antennas?
- What are the responses to the getPower and getPowerConfig CLI commands?
- What kind of test signal did you use? I suggest to use stream signal (CW/PN9; see the setTxStream command) for that purpose.
Do you have any update or further question on this topic?