Skip to main content
Xynium
Associate III
Feb 19, 2022 4:48 PM UTC
Question

STM32WL55 can't change FSK Data rate.

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

This topic has been closed for replies.

3 replies

Xynium
XyniumAuthor
Associate III
Feb 23, 2022 8:37 AM UTC

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
XyniumAuthor
Associate III
Feb 25, 2022 2:22 PM UTC

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

Associate III
Oct 31, 2023 9:05 AM UTC

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.