cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WL55 can't change FSK Data rate.

Xynium
Associate III

I use the wl55 on the nucleo kit, with the ping pong exemple (one core but same with 2) in subghz_phy_app.h i change the define for

 #elif (( USE_MODEM_LORA == 0 ) && ( USE_MODEM_FSK == 1 ))

#define FSK_FDEV                                   10000    /* Hz */

#define FSK_DATARATE                               10000  /* bps */

#define FSK_BANDWIDTH                              399000    /* Hz */

#define FSK_PREAMBLE_LENGTH                        50        /* Same for Tx and Rx */

#define FSK_FIX_LENGTH_PAYLOAD_ON                  false

Changing value of FSK_DATARATE don't change data rate on air which stay at about 6800bds (i have try from 50000 to 1000 with the same result)

 changing FSK_FDEV change effectivly the spectrum.

 i use Gnuradio for these tests.

 As far as i can debug trace every thing appear normal, on the subghz SPI 0x8A and 0x8B packet seem correct.

 Where and what is the problem ?

JP

3 REPLIES 3
Xynium
Associate III

Hi,

To reformulate my question, has anyone succeeded in changing FSK data rate, on the ping pong example?

I have 2 boards and the example doing very well, but with a wrong data rate.

JP

Xynium
Associate III

Hi,

I have made a basic test program without the subGHz middleware, and there the data rate can be changed.

So i think the trouble is in the ping pong example.

JP

Yuvi
Senior

Hello @Xynium 

I have just now started with FSk using the B-L072Z LRWAN1 board.

I wanted to know what is the maximum bps/data rate you got using FSK.

Thank you.