ru# show radio pa-protect
Peak Avg Pavg Ppar Perravg
--------+-------+-----------+-----------+-----------
normal error -8.778dBFS -7.298dB -8.778dBFS --> Radio 1 is in the PA-protect mode.
normal normal -48.165dBFS -0.000dB 0.000dBFS
normal normal -45.154dBFS -0.000dB 0.000dBFS
normal normal -48.165dBFS -0.000dB 0.000dBFS
OK
Clear the mode if that’s the case.
ru# clear radio pa-protect
OK
If you see the PA-protect mode, try the following parameters.
Thank you for your helpful suggestions. After configuring the power scaling parameters as you mentioned above, the msg3 PUSCH now is CRC OK.
But the timing advance of msg3 PUSCH seems not good, about 22 ~ 23. Our setup is in lab and the UE is located 1 meter away from the ORU. So the radio condition should be good enough and the timing advance is expected to be around 31.
Below is the fapi capture logs of CRC.indication and related UL_TTI.request. (Full log is attached)
Since msg3 is the initial PUSCH transmission, can you check if the TA value is converged to these values after a few minutes?
The initial TA value, i.e., msg3, should be based on the TA value in RACH.indication. Can you check it as well?
If the TA value in RACH.indication is far from the TA value for msg3, I guess your L2 isn’t working based on the TA feedback or the TA control feature isn’t working. Can you confirm them on your L2?
Thank you Nori. Now the msg3 TA is correct after I modify L2 TAC.
I still have a small question. I found that the timing advance reported by phy in msg1 is consistently about 9 or 10 (see below picture). But the test setup is quite simple, UE is located very close to the RU (less than 1 meter) and RU is directly connected to Spark (no switch between them). So I expected the msg1 TA should be close to ZERO.
My question is, is it normal with cudaPhy? Or should I configure some other parameters which can make the msg1 TA lower?
I checked some logs captured in a wired setup, but the TA values are ZERO when a preamble is detected. Did the RACH.indication messages in your screenshot report that a preamble was detected?
YES, preamble is detected by phy and the preambleID is correctly matched with UE side. Below is a capture of FAPI. In this case, L2 needs to add an additional TA_offset value of 10, to make msg3 arrive at the expected uplink timing.
If prach_ta_offset_usec of 0 changes the TA output and the TA value is non-zero with such a short distance, there is a fixed offset with this O-RU or this setup.
Can you look at the phy.log and find the following log? raw TA {} us indicates the fixed offset. prach_ta_offset_usec should be set to this raw TA value.
Please note that this log is an INFO-level log. Please set nvlog.shm_log_level or shm_level for tag 333: SCF.PHY to 5 (INFO).
The following line shows how the TA output value is calculated using prach_ta_offset_usec.
Yes, if you set prach_ta_offset_usec to 4.94 (us), the TA value will be zero. As far as I can tell from reviewing the code, there are no limits on the configuration range.