Skip to main content
eddie McS
Associate II
Aug 8, 2017 12:40 PM UTC
Solved

How to get S2-LP into CW mode?

Posted on August 08, 2017 at 14:40

Hi,

I have the ST S2-LP transceiver both transmitting and receiving just fine however i'm struggling to put the chip into a continuous wave mode.. 

from reading the data sheet i have configure the following : 

  • To set the continuous wave the TXSOURCE field (of the PCKTCTRL1 register) must be set to 0x03
  • To set the continuous wave the MOD_TYPE field (of the MOD2 register) must be set to 0x70

Is there any additional registers i should be aware of in order to configure continuous wave mode?

Thanks

Ed

    This topic has been closed for replies.
    eddie McS
    eddie McSBest answer
    Associate II
    Aug 10, 2017 2:40 PM UTC
    Posted on August 10, 2017 at 16:40

    I forgot to start transmitting...

    S2LPCmdStrobeTx();

    All works now

    2 replies

    eddie McS
    eddie McSAuthorBest answer
    Associate II
    Aug 10, 2017 2:40 PM UTC
    Posted on August 10, 2017 at 16:40

    I forgot to start transmitting...

    S2LPCmdStrobeTx();

    All works now

    DInga.1
    Visitor II
    Oct 13, 2020 1:52 PM UTC

    Hi Eddie,

    Were there any steps before sending these commands.

    I used the S2LP libraries like this:

    S2LP_RADIO_SetModulation( MOD_NO_MOD);

    S2LP_PCKT_HNDL_SetTxMode(PN9_TX_MODE);

    S2LP_CMD_StrobeTx();

    But no TX happening.

    It's flagging a Hard Fault Interrupt.

    I tried to initialize the radio by copying some codes from the example under X-CUBE-SUBG2 package.

    But still no luck.

    Any help will be appreciated.

    Regards,

    Dominique