Hi, I'm trying to implement a wake on radio schema. Basically I have two devices synchronized so, the receiving device knows the time slot where an incoming packet could arrive. In order to optimize the RX at the time of receiving slot, I'm trying to asses the CS state for noise and, only if the CS is detected the RX continues otherwise the radio is put to sleep.
In the same time I'm using CCA before TX. CCA and CS are closely related (in fact they negate each other) but for different use cases I need different thresholds. I'm using AGCCTRL2 and AGCCTRL1 registers to control the sensitivity. Before TX I need a different CCA noise sensitivity (lower) than before wake on radio (higher).
The question is related with the proper use of the mentioned registers. Can I change them whatever radio state is at that moment? Should be radio put to sleep before changing the values? Do I have to wait some time before the new values apply?
Thanks,
Dragos