cancel
Showing results for 
Search instead for 
Did you mean: 

[ST Partner] S2-LP CSMA back-off procedure does not sleep

AndyR1
Senior

Hello,

I configured the s2-lp csma as follow:

 

xCsmaPersistentMode = S_DISABLE
xMultiplierTbit = CSMA_PERIOD_128TBIT
xCcaLength = 1
cMaxNb = 2
nBuCounterSeed = 0xFA21
cBuPrescaler = 2

 

I set the rssi threshold at -82 dBm, If the channel is free, it listens for 5.2ms (from the datasheet the Tcca time should be 2.56ms as the datarate = 50kbps : (1/50000)*128*xCcaLength ) and send the packet :

AndyR1_0-1713534456219.png

If the channel is busy, it listens continuously like in persistent mode until the channel becomes free :

AndyR1_1-1713534975911.png

It should go to sleep and to Rx mode again twice as I set the max. number of back-off cycles to 2 and I should get the MAX_BO_CCA_REACH Irq from s2-lp. (I did the RCO calibration in init and I use the SLEEP_B mode).

Why it does not go to sleep for BOtime after the 5.2ms of Rx ?

Thanks,

Andy Rochette,

Electronic engineer,

Inocess [ST Partner]

0 REPLIES 0