cancel
Showing results for 
Search instead for 
Did you mean: 

SUBGHZ_PHY on STM32WLE5CC

CChow.3
Associate

I have a problem with SUBGHZ_PHY on STM32WLE5CC.

I have 4 devices as follow:

Device1: STM32L0XX device using B-L072Z-LRWAN1(SX1261)

Device2: same as Device1

Device3: STM32WLE5CC

Device4: same as Device3

Device1 and Device2 can communicate with each other. It works fine.

Device3 and Device4 also can communicate with each other. 

But there is a problem between STM32L0XX and STM32WLE5CC:

The receiver always gets IRQ_HEADER_ERROR in the following case:

1. Device3 or Device4 Tx something to Device1 or Device2

2. Device1 or Device2 Tx something to Device3 or Device4

Those device is using the same Radio Config.

Does anyone know what am I missing or I did something wrong?

Here is my Radio Config:

#define RADIO_FREQUENCY   923300000

#define RADIO_MODEM      MODEM_LORA

#define RADIO_POWER      14

#define RADIO_FDEV      0

#define RADIO_BANDWIDTH    0

#define RADIO_DATARATE    12

#define RADIO_CODERATE    1

#define RADIO_PREMABLE    8

#define RADIO_FIX_LEN    false

#define RADIO_CRC      true

#define RADIO_FREQ_HOP    0

#define RADIO_HOP_PERIOD  0

#define RADIO_IQ_INVERT    true

#define RADIO_TIMEOUT    5000

#define RADIO_BANDWIDTH_AFC  0

#define RADIO_SYMB_TIMEOUT  0

 Radio.SetChannel(RADIO_FREQUENCY);

 Radio.SetTxConfig(

    RADIO_MODEM, RADIO_POWER, RADIO_FDEV,

    RADIO_BANDWIDTH, RADIO_DATARATE, RADIO_CODERATE,

    RADIO_PREMABLE, RADIO_FIX_LEN, RADIO_CRC, RADIO_FREQ_HOP,

    RADIO_HOP_PERIOD, RADIO_IQ_INVERT, RADIO_TIMEOUT

  );

 Radio.SetRxConfig(

    RADIO_MODEM, RADIO_BANDWIDTH,

    RADIO_DATARATE, RADIO_CODERATE,

    RADIO_BANDWIDTH_AFC, RADIO_PREMABLE,

    RADIO_SYMB_TIMEOUT, RADIO_FIX_LEN,

    0,

    RADIO_CRC, RADIO_FREQ_HOP, RADIO_HOP_PERIOD,

    RADIO_IQ_INVERT, true 

  );

0 REPLIES 0