Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 1 month ago.
Tx Power problem
Hi, I'm using STM32L152 Nucleo platform together with SX1276MB1MAS board. While trying to send at +10 dBm I measure -25 dBm max. on my spectrum analyzer. My config are: REG_PACONFIG, 0x0F PA Config -> 10.8 dBm REG_PARAMP, 0x09}, PA Ramp REG_OCP, 0x2B}, Default OCP
Are there other registers that I'm missing? Does anyone has an idea where I am mistaking?
Thanks for your help,
Nico
Hi, make sure you use RFO as PA output (not PA boost)
posted by Yoann Bouvet 23 Oct 2015My PACONFIG register is at 0x0F so it should be the case, shouldn't it?
posted by Nicolas Gugger 23 Oct 2015Could it be RXTX_EXT that is wrongly configured?
posted by Nicolas Gugger 26 Oct 2015problem solved. It was RXTX pin. Thx Yoann for your help
posted by Nicolas Gugger 26 Oct 2015Thanks Yoann for assisting on the TX questions from Nicolas. Nicolas was it a HW control pin connection or the register config?
posted by Loren Geilen 26 Oct 2015Not sure on how A4 (pin connected to RXTX) is configured that's the reason why it worked with the example code but not on my code. Therefore I removed R16 and fitted R15. Now Tx power seems correct. Thx for helping
posted by Nicolas Gugger 27 Oct 2015Looks like the control for the antenna switch is now coming from the SX1276 instead of the external STM32L152 RXTX_EXT connection. Good to hear that your code is working.
posted by Loren Geilen 28 Oct 2015