Skip to main content
AndyR1
Senior
July 9, 2021
Question

What is "LOCK_ST" S2LP status 0x14 ?

  • July 9, 2021
  • 1 reply
  • 994 views

Hello,

I have two custom boards with S2LP cut 3.0, with the same program, but one S2LP can't go in Rx or Tx mode. I tried

S2LPPacketHandlerSetTxMode( PN9_TX_MODE );
S2LPCmdStrobeTx();
while(1);

I checked the S2LP status ( MC_STATE ), its READY before and LOCK_ST (0x14) after Rx or Tx command. The LOCK_ST is in the S2LPState enum in S2LP_Types.h but it is not mentioned in the datasheet.

What does LOCK_ST mean ? Is there a link with STack packet mode (i use this config) ?

What could bring the S2LP in this mode ? (I tried sabort command and go in tx again).

Thanks.

    This topic has been closed for replies.

    1 reply

    RLind.3
    Associate III
    July 27, 2021

    Hi there,

    I was having a similar problem with my custom board - every time I tried to enter TX or RX mode I'd end up in the 0x14 state. My problem was that I hadn't set up the registers correctly for my board, so I wonder if the 0x14 state is some kind of fault state? After using the S2-LP-DK GUI to correctly set up my registers, I can now enter the TX and RX states.

    Edit: I just noted that you are using the same program on both boards - are the boards identical too? If they are, it could be a faulty component or solder joint etc. If they aren't, the S2-LPs may each need different set up code.

    Hopefully this is helpful :smiling_face_with_smiling_eyes: