The LoRa Developer Forum is now in read-only mode and new content will not be added.
Semtech, in its commitment to enhance user experience and streamline content, has successfully integrated the LoRa Developer Portal content into Semtech.com. As a result of this consolidation effort, the LoRa® Developer Portal Forum will be discontinued on May 1st. After this date, you will be automatically redirected to Semtech.com.
For any technical support related to LoRa, please feel free to reach out to our experts here. If you have sales inquiries, please contact us here.

FORUM

SX1262MB2xAS can't reach +22 dBm

Hello,
I’m using sx1262 with stm32 board and stm32 Ide.

This is my configuration :

And this is the init of my communication :

setPacketType(0x01);
setRfFrequency(915000000); //or 868000000 because I’m in Europe
setPaConfig(0x04, 0x07, 0x00, 0x01); //PaDuty, hpMax, Device, paLut
setTxParams(0x16, 0x00); //0x16 = 22 dBm
setBufferBaseAddress(0x00, 0x00);
setModulationParams(sf, bw, cr, ldro);
setDioIrqParams(IRQ_RADIO_ALL, IRQ_TX_DONE, 0, 0);

I use attenuators to respect the radio transmission laws in Europe and a spectrum analyser to see the transmitted power. However, even adding the loss in my attenuators I never reach +22 dBm I stay stuck at around +10 dBm…

Do you have a solution to help me please?
Thanks

Hi @estelle.beneito!

On this PCB, there is a RF switch between the chip and the antenna connector.

image

It should be solved if you add a call the following call SetDIO2AsRfSwitchCtrl(0x01). You also have to drive high the pin D8 (ANT_SW in the schematic).

3 Likes

Hi @mantoine !

Thanks a lot it works now !! :partying_face: :partying_face:

1 Like