We want to create a production environment for our product which contains the CC1101 RF chip. We want to test if the radio is working and if the transmitted signal strength is high enough. We have a test environment with the product to test (DUT) and a reference device which also contains a radio.
The test will send a couple of messages between the two devices and determines the RSSI values and validates them with a target value. When testing the product now we see some fluctuations in the RSSI values we read while nothing is changed in the test environment.
We think this is related to the Automatic Gain Control (AGC) of the CC1101 chip. I saw there is a possibility to manually freeze the AGC in the AGCCTRL0 register and you can set the AGC values manually but I cannot find out where this can be set manually. Is this the AGCTEST register where this can be written ? The datasheet says this register should not be written and is for testing only. When it is allowed to write during production testing, what is the meaning of the values in this register ?
Is this the best way to test the correct working of these registers or are there better options for unit testing during production ?
Erwin