cancel
Showing results for 
Search instead for 
Did you mean: 

How to get S2-LP into CW mode?

eddie McS
Associate III
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

1 ACCEPTED SOLUTION

Accepted Solutions
eddie McS
Associate III
Posted on August 10, 2017 at 16:40

I forgot to start transmitting...

S2LPCmdStrobeTx();

All works now

View solution in original post

2 REPLIES 2
eddie McS
Associate III
Posted on August 10, 2017 at 16:40

I forgot to start transmitting...

S2LPCmdStrobeTx();

All works now

DInga.1
Associate

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