Post Go back to editing

About CFR not working properly

1. Test environment: signal 5G NR, 100MHz bandwidth, TM3.1, center frequency 3.65001MHz, adrv9025 (4 channels (4RX, 4TX, 4ORX)), test mode downlink normally open mode (RX_OFF, TX_ON)

2. cfr program configuration execution steps

3. The waveform files are 100MHz, 30KHz, 4x, and 245.76MHz.

int16_t coeff_array[] ={-4,-5,-4,-1,2,3,-2,-16,-39,-69,-101,-125,-135,-123,-88,-35,27,83,121,131,113,74,27,-11,-27,-13,27,83,137,172,177,152,104,51,11,-2,18,64,121,168,191,180,139,83,30,1,4,40,95,150,184,185,152,96,38,-3,-12,15,68,126,168,179,153,100,38,-11,-29,-10,40,100,149,168,148,97,33,-22,-47,-34,13,75,129,154,140,91,25,-35,-66,-57,-13,51,109,139,129,82,14,-49,-84,-80,-37,28,89,124,117,71,3,-64,-103,-102,-60,6,71,109,105,60,-10,-79,-122,-123,-82,-14,54,95,93,49,-23,-95,-141,-144,-102,-33,38,82,82,37,-37,-111,-160,-164,-122,-50,23,69,70,25,-50,-128,-178,-183,-140,-67,9,58,60,13,-65,-145,-197,-202,-158,-81,-3,47,49,1,-79,-162,-216,-220,-174,-95,-14,38,40,-10,-94,-179,-234,-238,-190,-108,-23,30,31,-22,-108,-196,-253,-256,-205,-119,-32,22,22,-33,-123,-214,-271,-273,-219,-129,-39,16,14,-44,-138,-232,-290,-290,-232,-138,-45,11,7,-55,-154,-250,-308,-306,-244,-146,-50,6,0,-67,-169,-269,-327,-322,-255,-152,-53,3,-6,-78,-185,-287,-346,-337,-265,-158,-56,0,-12,-89,-201,-307,-364,-352,-275,-162,-57,-1,-17,-100,-218,-326,-383,-367,-283,-164,-56,-2,-22,-111,-235,-346,-402,-381,-291,-166,-55,-1,-27,-123,-253,-367,-422,-395,-297,-166,-52,0,-31,-135,-271,-389,-441,-408,-302,-164,-47,3,-35,-147,-290,-411,-461,-421,-307,-161,-41,6,-38,-159,-311,-434,-481,-434,-309,-156,-33,11,-42,-173,-332,-458,-502,-446,-311,-149,-23,17,-45,-186,-354,-483,-523,-457,-311,-140,-11,25,-47,-201,-378,-509,-544,-468,-309,-129,3,34,-49,-216,-403,-537,-567,-479,-306,-115,20,45,-51,-233,-430,-568,-590,-489,-300,-98,39,57,-53,-251,-460,-600,-615,-498,-293,-78,62,72,-55,-271,-493,-636,-642,-507,-282,-54,89,89,-56,-293,-530,-675,-670,-515,-268,-24,121,109,-58,-318,-571,-719,-701,-523,-250,11,159,134,-59,-346,-618,-769,-736,-530,-228,54,205,163,-60,-380,-674,-826,-776,-537,-199,107,260,198,-61,-419,-739,-895,-822,-542,-162,172,329,242,-61,-467,-820,-978,-877,-548,-114,256,417,298,-62,-528,-921,-1084,-946,-552,-50,367,532,371,-63,-608,-1055,-1223,-1036,-556,39,519,690,473,-63,-719,-1240,-1416,-1162,-560,169,741,922,623,-63,-884,-1520,-1710,-1354,-562,376,1095,1297,868,-64,-1160,-1994,-2215,-1688,-564,754,1755,2008,1343,-64,-1721,-2987,-3305,-2431,-566,1671,3422,3897,2676,-64,-3521,-6445,-7488,-5635,-566,7159,16171,24609,30602};

3. The CFR configuration parameters are as follows

#cfr config

cfrPeakThreshold=0.37

cfrCorrectionThresholdScaler=0.98

cfrEngine1PeakThresholdScaler=0.98

cfrEngine2PeakThresholdScaler=0.985

cfrEngine3PeakThresholdScaler=0.99

cfrEngine1MaxNumOfPeaks=5

cfrEngine2MaxNumOfPeaks=5

cfrEngine3MaxNumOfPeaks=5

cfrTxDelay=511

cfrEngine1Enable=1

cfrEngine2Enable=1

cfrEngine3Enable=1

cfrHardClipperEnable=1

cfrHardClipperThreshold=0.4

cfrInterpolationFactor=2

(1) On the basis of the above cfr configuration, read the cfr status values of TX1, TX2, TX3, and TX4 respectively.

(2) The CCDF spectrum on the channel TX1 signal analyzer shows that the spectrum of channels TX2, TX3, TX4 is similar to that of TX1

                               Amplified spectrum

                        Spectrum before power amplifier after Adrv9025 output

Question 1. The values of cfrEnginePeaksDetected and cfrEnginePeaksSkipped in the cfr status reading are the same. What causes these two values to be the same?
Question 2. Change the values of cfrPeakThreshold (0.37 to 0.7) and cfrHardClipperThreshold (0.4 to 0.71), or change the coeff_array[] array of adi_adrv9010_CfrCorrectionPulseWrite_v2, or change the parameters of cfrEngine1MaxNumOfPeaks, cfrEngine2MaxNumOfPeaks, cfrEngine3MaxNumOfPeaks, on the signal analyzer The CCDF spectrum shows that there is no change, it's all the same metrics as shown in the picture above, is this because the cfr is not working? Which of the above parameters is wrong? Or is there something wrong with the program?

3. The CFR configuration parameters are as follows, set the 4 enable to 0

(1) On the basis of the above cfr configuration, read the cfr status values of TX1, TX2, TX3, and TX4 respectively.

(2) The CCDF spectrum on the channel TX1 signal analyzer shows that the spectrum of channels TX2, TX3, TX4 is similar to that of TX1

               Amplified spectrum

Question 3.There is no difference in the value displayed by the CCDF indicator of the signal analyzer when the 4 enable are turned on or not. This phenomenon seems to be that the CFR does not work. Is there any step in the program that has not been executed, or is executed incorrectly?

Parents
  • Have you generated the CFR pulse as per your carrier configuration? It looks like the pulse could be wrong as the CFR is getting enabled and the peaks are also being detected. It could be due to incorrect CFR pulse being used.

  • We have produced pulse according to the signal (NR 100MHz@ 30KHz), but we do not know whether the production is correct, how to verify?

  • The carrier configuration must be defined w.r.to the LO. Check the below link for more details.

     CFR Pulse Generation 

  • We have followed this link to generate the CFR pluse  factor before but it still has no effect

  • Except CFR pulse, are there other factors that can cause CFR not to work?

  • Could you share the CFR pulse waveform that I can figure out whether I got a wrong waveform. The waveform for test is LTE100M/30KHz/4x/245.76MHz.

  • Whats the centre frequency of the LO and the carrier? What is the offset of the carrier from the LO frequency?

  • the LO is 3650.01MHZ and the offset of the carrier from the LO frequency is 50M

  • Please check with the attached CFR pulse and let us know.

    -4 1
    -5 0
    -4 -2
    -1 -1
    2 3
    3 12
    -2 24
    -16 37
    -39 44
    -69 40
    -101 21
    -125 -14
    -135 -62
    -123 -115
    -88 -161
    -35 -189
    27 -192
    83 -168
    121 -122
    131 -67
    113 -17
    74 12
    27 14
    -11 -12
    -27 -57
    -13 -105
    27 -139
    83 -147
    137 -124
    172 -76
    177 -18
    152 34
    104 62
    51 59
    11 27
    -2 -23
    18 -72
    64 -100
    121 -98
    168 -64
    191 -9
    180 51
    139 94
    83 107
    30 86
    1 40
    4 -14
    40 -56
    95 -69
    150 -48
    184 2
    185 63
    152 115
    96 140
    38 129
    -3 88
    -12 31
    15 -19
    68 -44
    126 -33
    168 11
    179 72
    153 130
    100 163
    38 161
    -11 124
    -29 67
    -10 11
    40 -23
    100 -21
    149 18
    168 78
    148 140
    97 180
    33 185
    -22 152
    -47 94
    -34 34
    13 -7
    75 -11
    129 22
    154 82
    140 147
    91 192
    25 202
    -35 173
    -66 115
    -57 51
    -13 5
    51 -5
    109 25
    139 84
    129 151
    82 201
    14 215
    -49 189
    -84 131
    -80 64
    -37 14
    28 -1
    89 26
    124 85
    117 154
    71 207
    3 225
    -64 201
    -103 143
    -102 73
    -60 19
    6 0
    71 25
    109 83
    105 155
    60 212
    -10 232
    -79 209
    -122 151
    -123 79
    -82 21
    -14 -1
    54 22
    95 81
    93 155
    49 214
    -23 238
    -95 215
    -141 156
    -144 81
    -102 20
    -33 -4
    38 18
    82 78
    82 153
    37 216
    -37 241
    -111 219
    -160 158
    -164 81
    -122 17
    -50 -9
    23 12
    69 74
    70 152
    25 216
    -50 243
    -128 221
    -178 159
    -183 79
    -140 12
    -67 -16
    9 6
    58 69
    60 149
    13 216
    -65 244
    -145 222
    -197 157
    -202 74
    -158 5
    -81 -24
    -3 -2
    47 63
    49 146
    1 215
    -79 244
    -162 221
    -216 154
    -220 68
    -174 -4
    -95 -34
    -14 -11
    38 57
    40 143
    -10 214
    -94 243
    -179 218
    -234 148
    -238 60
    -190 -14
    -108 -45
    -23 -20
    30 50
    31 139
    -22 212
    -108 242
    -196 215
    -253 141
    -256 49
    -205 -27
    -119 -57
    -32 -31
    22 43
    22 135
    -33 210
    -123 239
    -214 210
    -271 133
    -273 38
    -219 -40
    -129 -71
    -39 -42
    16 35
    14 131
    -44 208
    -138 236
    -232 204
    -290 123
    -290 24
    -232 -56
    -138 -86
    -45 -54
    11 27
    7 126
    -55 205
    -154 232
    -250 197
    -308 112
    -306 9
    -244 -73
    -146 -102
    -50 -67
    6 19
    0 122
    -67 202
    -169 228
    -269 189
    -327 99
    -322 -8
    -255 -92
    -152 -119
    -53 -81
    3 10
    -6 117
    -78 199
    -185 223
    -287 180
    -346 84
    -337 -27
    -265 -112
    -158 -138
    -56 -95
    0 1
    -12 112
    -89 195
    -201 218
    -307 169
    -364 68
    -352 -48
    -275 -134
    -162 -158
    -57 -110
    -1 -8
    -17 107
    -100 192
    -218 211
    -326 158
    -383 50
    -367 -70
    -283 -158
    -164 -179
    -56 -125
    -2 -18
    -22 102
    -111 188
    -235 205
    -346 145
    -402 31
    -381 -94
    -291 -183
    -166 -201
    -55 -142
    -1 -27
    -27 98
    -123 184
    -253 197
    -367 131
    -422 9
    -395 -121
    -297 -211
    -166 -225
    -52 -159
    0 -37
    -31 93
    -135 180
    -271 189
    -389 115
    -441 -14
    -408 -150
    -302 -240
    -164 -250
    -47 -176
    3 -47
    -35 88
    -147 175
    -290 179
    -411 98
    -461 -40
    -421 -181
    -307 -272
    -161 -277
    -41 -195
    6 -57
    -38 83
    -159 170
    -311 169
    -434 79
    -481 -68
    -434 -215
    -309 -306
    -156 -306
    -33 -214
    11 -67
    -42 79
    -173 165
    -332 158
    -458 58
    -502 -99
    -446 -252
    -311 -342
    -149 -336
    -23 -235
    17 -77
    -45 74
    -186 160
    -354 146
    -483 34
    -523 -133
    -457 -292
    -311 -382
    -140 -368
    -11 -256
    25 -88
    -47 70
    -201 155
    -378 132
    -509 9
    -544 -170
    -468 -336
    -309 -425
    -129 -403
    3 -279
    34 -99
    -49 65
    -216 149
    -403 117
    -537 -20
    -567 -211
    -479 -384
    -306 -472
    -115 -441
    20 -303
    45 -110
    -51 61
    -233 142
    -430 100
    -568 -52
    -590 -257
    -489 -438
    -300 -524
    -98 -482
    39 -328
    57 -122
    -53 56
    -251 135
    -460 81
    -600 -88
    -615 -309
    -498 -498
    -293 -581
    -78 -527
    62 -356
    72 -134
    -55 52
    -271 127
    -493 59
    -636 -129
    -642 -367
    -507 -564
    -282 -645
    -54 -577
    89 -386
    89 -146
    -56 48
    -293 119
    -530 35
    -675 -175
    -670 -433
    -515 -640
    -268 -717
    -24 -633
    121 -419
    109 -160
    -58 44
    -318 109
    -571 6
    -719 -229
    -701 -509
    -523 -727
    -250 -799
    11 -696
    159 -456
    134 -174
    -59 40
    -346 98
    -618 -27
    -769 -292
    -736 -598
    -530 -829
    -228 -894
    54 -768
    205 -498
    163 -189
    -60 36
    -380 86
    -674 -66
    -826 -366
    -776 -703
    -537 -948
    -199 -1007
    107 -854
    260 -547
    198 -207
    -61 32
    -419 71
    -739 -113
    -895 -456
    -822 -830
    -542 -1093
    -162 -1142
    172 -956
    329 -605
    242 -227
    -61 28
    -467 54
    -820 -171
    -978 -567
    -877 -988
    -548 -1272
    -114 -1310
    256 -1082
    417 -676
    298 -250
    -62 25
    -528 32
    -921 -245
    -1084 -709
    -946 -1189
    -552 -1502
    -50 -1525
    367 -1244
    532 -767
    371 -279
    -63 21
    -608 3
    -1055 -342
    -1223 -898
    -1036 -1459
    -556 -1811
    39 -1814
    519 -1463
    690 -888
    473 -317
    -63 18
    -719 -35
    -1240 -478
    -1416 -1164
    -1162 -1840
    -560 -2249
    169 -2228
    741 -1776
    922 -1063
    623 -370
    -63 14
    -884 -91
    -1520 -683
    -1710 -1568
    -1354 -2425
    -562 -2929
    376 -2875
    1095 -2271
    1297 -1340
    868 -454
    -64 10
    -1160 -184
    -1994 -1029
    -2215 -2263
    -1688 -3449
    -564 -4139
    754 -4049
    1755 -3185
    2008 -1862
    1343 -613
    -64 7
    -1721 -369
    -2987 -1753
    -3305 -3765
    -2431 -5736
    -566 -6943
    1671 -6878
    3422 -5485
    3897 -3238
    2676 -1050
    -64 3
    -3521 -957
    -6445 -4268
    -7488 -9524
    -5635 -15598
    -566 -20893
    7159 -23774
    16171 -23036
    24609 -18291
    30602 -10127

Reply
  • Please check with the attached CFR pulse and let us know.

    -4 1
    -5 0
    -4 -2
    -1 -1
    2 3
    3 12
    -2 24
    -16 37
    -39 44
    -69 40
    -101 21
    -125 -14
    -135 -62
    -123 -115
    -88 -161
    -35 -189
    27 -192
    83 -168
    121 -122
    131 -67
    113 -17
    74 12
    27 14
    -11 -12
    -27 -57
    -13 -105
    27 -139
    83 -147
    137 -124
    172 -76
    177 -18
    152 34
    104 62
    51 59
    11 27
    -2 -23
    18 -72
    64 -100
    121 -98
    168 -64
    191 -9
    180 51
    139 94
    83 107
    30 86
    1 40
    4 -14
    40 -56
    95 -69
    150 -48
    184 2
    185 63
    152 115
    96 140
    38 129
    -3 88
    -12 31
    15 -19
    68 -44
    126 -33
    168 11
    179 72
    153 130
    100 163
    38 161
    -11 124
    -29 67
    -10 11
    40 -23
    100 -21
    149 18
    168 78
    148 140
    97 180
    33 185
    -22 152
    -47 94
    -34 34
    13 -7
    75 -11
    129 22
    154 82
    140 147
    91 192
    25 202
    -35 173
    -66 115
    -57 51
    -13 5
    51 -5
    109 25
    139 84
    129 151
    82 201
    14 215
    -49 189
    -84 131
    -80 64
    -37 14
    28 -1
    89 26
    124 85
    117 154
    71 207
    3 225
    -64 201
    -103 143
    -102 73
    -60 19
    6 0
    71 25
    109 83
    105 155
    60 212
    -10 232
    -79 209
    -122 151
    -123 79
    -82 21
    -14 -1
    54 22
    95 81
    93 155
    49 214
    -23 238
    -95 215
    -141 156
    -144 81
    -102 20
    -33 -4
    38 18
    82 78
    82 153
    37 216
    -37 241
    -111 219
    -160 158
    -164 81
    -122 17
    -50 -9
    23 12
    69 74
    70 152
    25 216
    -50 243
    -128 221
    -178 159
    -183 79
    -140 12
    -67 -16
    9 6
    58 69
    60 149
    13 216
    -65 244
    -145 222
    -197 157
    -202 74
    -158 5
    -81 -24
    -3 -2
    47 63
    49 146
    1 215
    -79 244
    -162 221
    -216 154
    -220 68
    -174 -4
    -95 -34
    -14 -11
    38 57
    40 143
    -10 214
    -94 243
    -179 218
    -234 148
    -238 60
    -190 -14
    -108 -45
    -23 -20
    30 50
    31 139
    -22 212
    -108 242
    -196 215
    -253 141
    -256 49
    -205 -27
    -119 -57
    -32 -31
    22 43
    22 135
    -33 210
    -123 239
    -214 210
    -271 133
    -273 38
    -219 -40
    -129 -71
    -39 -42
    16 35
    14 131
    -44 208
    -138 236
    -232 204
    -290 123
    -290 24
    -232 -56
    -138 -86
    -45 -54
    11 27
    7 126
    -55 205
    -154 232
    -250 197
    -308 112
    -306 9
    -244 -73
    -146 -102
    -50 -67
    6 19
    0 122
    -67 202
    -169 228
    -269 189
    -327 99
    -322 -8
    -255 -92
    -152 -119
    -53 -81
    3 10
    -6 117
    -78 199
    -185 223
    -287 180
    -346 84
    -337 -27
    -265 -112
    -158 -138
    -56 -95
    0 1
    -12 112
    -89 195
    -201 218
    -307 169
    -364 68
    -352 -48
    -275 -134
    -162 -158
    -57 -110
    -1 -8
    -17 107
    -100 192
    -218 211
    -326 158
    -383 50
    -367 -70
    -283 -158
    -164 -179
    -56 -125
    -2 -18
    -22 102
    -111 188
    -235 205
    -346 145
    -402 31
    -381 -94
    -291 -183
    -166 -201
    -55 -142
    -1 -27
    -27 98
    -123 184
    -253 197
    -367 131
    -422 9
    -395 -121
    -297 -211
    -166 -225
    -52 -159
    0 -37
    -31 93
    -135 180
    -271 189
    -389 115
    -441 -14
    -408 -150
    -302 -240
    -164 -250
    -47 -176
    3 -47
    -35 88
    -147 175
    -290 179
    -411 98
    -461 -40
    -421 -181
    -307 -272
    -161 -277
    -41 -195
    6 -57
    -38 83
    -159 170
    -311 169
    -434 79
    -481 -68
    -434 -215
    -309 -306
    -156 -306
    -33 -214
    11 -67
    -42 79
    -173 165
    -332 158
    -458 58
    -502 -99
    -446 -252
    -311 -342
    -149 -336
    -23 -235
    17 -77
    -45 74
    -186 160
    -354 146
    -483 34
    -523 -133
    -457 -292
    -311 -382
    -140 -368
    -11 -256
    25 -88
    -47 70
    -201 155
    -378 132
    -509 9
    -544 -170
    -468 -336
    -309 -425
    -129 -403
    3 -279
    34 -99
    -49 65
    -216 149
    -403 117
    -537 -20
    -567 -211
    -479 -384
    -306 -472
    -115 -441
    20 -303
    45 -110
    -51 61
    -233 142
    -430 100
    -568 -52
    -590 -257
    -489 -438
    -300 -524
    -98 -482
    39 -328
    57 -122
    -53 56
    -251 135
    -460 81
    -600 -88
    -615 -309
    -498 -498
    -293 -581
    -78 -527
    62 -356
    72 -134
    -55 52
    -271 127
    -493 59
    -636 -129
    -642 -367
    -507 -564
    -282 -645
    -54 -577
    89 -386
    89 -146
    -56 48
    -293 119
    -530 35
    -675 -175
    -670 -433
    -515 -640
    -268 -717
    -24 -633
    121 -419
    109 -160
    -58 44
    -318 109
    -571 6
    -719 -229
    -701 -509
    -523 -727
    -250 -799
    11 -696
    159 -456
    134 -174
    -59 40
    -346 98
    -618 -27
    -769 -292
    -736 -598
    -530 -829
    -228 -894
    54 -768
    205 -498
    163 -189
    -60 36
    -380 86
    -674 -66
    -826 -366
    -776 -703
    -537 -948
    -199 -1007
    107 -854
    260 -547
    198 -207
    -61 32
    -419 71
    -739 -113
    -895 -456
    -822 -830
    -542 -1093
    -162 -1142
    172 -956
    329 -605
    242 -227
    -61 28
    -467 54
    -820 -171
    -978 -567
    -877 -988
    -548 -1272
    -114 -1310
    256 -1082
    417 -676
    298 -250
    -62 25
    -528 32
    -921 -245
    -1084 -709
    -946 -1189
    -552 -1502
    -50 -1525
    367 -1244
    532 -767
    371 -279
    -63 21
    -608 3
    -1055 -342
    -1223 -898
    -1036 -1459
    -556 -1811
    39 -1814
    519 -1463
    690 -888
    473 -317
    -63 18
    -719 -35
    -1240 -478
    -1416 -1164
    -1162 -1840
    -560 -2249
    169 -2228
    741 -1776
    922 -1063
    623 -370
    -63 14
    -884 -91
    -1520 -683
    -1710 -1568
    -1354 -2425
    -562 -2929
    376 -2875
    1095 -2271
    1297 -1340
    868 -454
    -64 10
    -1160 -184
    -1994 -1029
    -2215 -2263
    -1688 -3449
    -564 -4139
    754 -4049
    1755 -3185
    2008 -1862
    1343 -613
    -64 7
    -1721 -369
    -2987 -1753
    -3305 -3765
    -2431 -5736
    -566 -6943
    1671 -6878
    3422 -5485
    3897 -3238
    2676 -1050
    -64 3
    -3521 -957
    -6445 -4268
    -7488 -9524
    -5635 -15598
    -566 -20893
    7159 -23774
    16171 -23036
    24609 -18291
    30602 -10127

Children