| 1 | /****************************************************************************** |
|---|
| 2 | * (c)2011-2012 Broadcom Corporation |
|---|
| 3 | * |
|---|
| 4 | * This program is the proprietary software of Broadcom Corporation and/or its licensors, |
|---|
| 5 | * and may only be used, duplicated, modified or distributed pursuant to the terms and |
|---|
| 6 | * conditions of a separate, written license agreement executed between you and Broadcom |
|---|
| 7 | * (an "Authorized License"). Except as set forth in an Authorized License, Broadcom grants |
|---|
| 8 | * no license (express or implied), right to use, or waiver of any kind with respect to the |
|---|
| 9 | * Software, and Broadcom expressly reserves all rights in and to the Software and all |
|---|
| 10 | * intellectual property rights therein. IF YOU HAVE NO AUTHORIZED LICENSE, THEN YOU |
|---|
| 11 | * HAVE NO RIGHT TO USE THIS SOFTWARE IN ANY WAY, AND SHOULD IMMEDIATELY |
|---|
| 12 | * NOTIFY BROADCOM AND DISCONTINUE ALL USE OF THE SOFTWARE. |
|---|
| 13 | * |
|---|
| 14 | * Except as expressly set forth in the Authorized License, |
|---|
| 15 | * |
|---|
| 16 | * 1. This program, including its structure, sequence and organization, constitutes the valuable trade |
|---|
| 17 | * secrets of Broadcom, and you shall use all reasonable efforts to protect the confidentiality thereof, |
|---|
| 18 | * and to use this information only in connection with your use of Broadcom integrated circuit products. |
|---|
| 19 | * |
|---|
| 20 | * 2. TO THE MAXIMUM EXTENT PERMITTED BY LAW, THE SOFTWARE IS PROVIDED "AS IS" |
|---|
| 21 | * AND WITH ALL FAULTS AND BROADCOM MAKES NO PROMISES, REPRESENTATIONS OR |
|---|
| 22 | * WARRANTIES, EITHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, WITH RESPECT TO |
|---|
| 23 | * THE SOFTWARE. BROADCOM SPECIFICALLY DISCLAIMS ANY AND ALL IMPLIED WARRANTIES |
|---|
| 24 | * OF TITLE, MERCHANTABILITY, NONINFRINGEMENT, FITNESS FOR A PARTICULAR PURPOSE, |
|---|
| 25 | * LACK OF VIRUSES, ACCURACY OR COMPLETENESS, QUIET ENJOYMENT, QUIET POSSESSION |
|---|
| 26 | * OR CORRESPONDENCE TO DESCRIPTION. YOU ASSUME THE ENTIRE RISK ARISING OUT OF |
|---|
| 27 | * USE OR PERFORMANCE OF THE SOFTWARE. |
|---|
| 28 | * |
|---|
| 29 | * 3. TO THE MAXIMUM EXTENT PERMITTED BY LAW, IN NO EVENT SHALL BROADCOM OR ITS |
|---|
| 30 | * LICENSORS BE LIABLE FOR (i) CONSEQUENTIAL, INCIDENTAL, SPECIAL, INDIRECT, OR |
|---|
| 31 | * EXEMPLARY DAMAGES WHATSOEVER ARISING OUT OF OR IN ANY WAY RELATING TO YOUR |
|---|
| 32 | * USE OF OR INABILITY TO USE THE SOFTWARE EVEN IF BROADCOM HAS BEEN ADVISED OF |
|---|
| 33 | * THE POSSIBILITY OF SUCH DAMAGES; OR (ii) ANY AMOUNT IN EXCESS OF THE AMOUNT |
|---|
| 34 | * ACTUALLY PAID FOR THE SOFTWARE ITSELF OR U.S. $1, WHICHEVER IS GREATER. THESE |
|---|
| 35 | * LIMITATIONS SHALL APPLY NOTWITHSTANDING ANY FAILURE OF ESSENTIAL PURPOSE OF |
|---|
| 36 | * ANY LIMITED REMEDY. |
|---|
| 37 | * |
|---|
| 38 | * $brcm_Workfile: bads_coef.c $ |
|---|
| 39 | * $brcm_Revision: 3 $ |
|---|
| 40 | * $brcm_Date: 2/9/12 12:44p $ |
|---|
| 41 | * |
|---|
| 42 | * Module Description: |
|---|
| 43 | * |
|---|
| 44 | * Revision History: |
|---|
| 45 | * |
|---|
| 46 | * $brcm_Log: /AP/ctfe/core/ads/bads_coef.c $ |
|---|
| 47 | * |
|---|
| 48 | * 3 2/9/12 12:44p farshidf |
|---|
| 49 | * SW3128-1: merge to main |
|---|
| 50 | * |
|---|
| 51 | * Fw_Integration_Devel/2 2/9/12 12:14p farshidf |
|---|
| 52 | * SW3128-1: merge to integ |
|---|
| 53 | * |
|---|
| 54 | * Fw_Integration_Devel/AP_V3_0_ADS_DEV/4 2/9/12 11:41a cbrooks |
|---|
| 55 | * sw3128-1:fixed baud loop droppouts |
|---|
| 56 | * |
|---|
| 57 | * Fw_Integration_Devel/AP_V3_0_ADS_DEV/3 1/30/12 6:50p cbrooks |
|---|
| 58 | * sw3128-1:fixed TL coefficients |
|---|
| 59 | * |
|---|
| 60 | * Fw_Integration_Devel/AP_V3_0_ADS_DEV/2 1/30/12 5:16p cbrooks |
|---|
| 61 | * sw3128-1:scaled coefficients for low baud rate |
|---|
| 62 | * |
|---|
| 63 | * Fw_Integration_Devel/AP_V3_0_ADS_DEV/1 12/12/11 4:14p cbrooks |
|---|
| 64 | * sw3128-1:added new coeffs for FOI timing loop |
|---|
| 65 | * |
|---|
| 66 | * 1 6/2/11 11:49a farshidf |
|---|
| 67 | * SW3128-1: add new file |
|---|
| 68 | * |
|---|
| 69 | *****************************************************************************/ |
|---|
| 70 | |
|---|
| 71 | #include "bstd.h" |
|---|
| 72 | #include "bads_coef.h" |
|---|
| 73 | |
|---|
| 74 | /***********************************************************************************************************************/ |
|---|
| 75 | /*the Baud Rates are broken up into 33 regions */ |
|---|
| 76 | /*The table was created using a baud spacing of 0.0602%, nominal values are within +-3.01% */ |
|---|
| 77 | /*This is so all of the loops can be lookuptables */ |
|---|
| 78 | /***********************************************************************************************************************/ |
|---|
| 79 | const uint32_t BaudRates_TBL[NUM_BAUD_RATES] = |
|---|
| 80 | { |
|---|
| 81 | 7300000, /*upperBR= 7300000 centerBR= 7080157 lowerBR= 6860314*/ |
|---|
| 82 | 6860314, /*upperBR= 6860314 centerBR= 6653713 lowerBR= 6447111*/ |
|---|
| 83 | 6447111, /*upperBR= 6447111 centerBR= 6252954 lowerBR= 6058796*/ |
|---|
| 84 | 6058796, /*upperBR= 6058796 centerBR= 5876333 lowerBR= 5693869*/ |
|---|
| 85 | 5693869, /*upperBR= 5693869 centerBR= 5522396 lowerBR= 5350922*/ |
|---|
| 86 | 5350922, /*upperBR= 5350922 centerBR= 5189777 lowerBR= 5028631*/ |
|---|
| 87 | 5028631, /*upperBR= 5028631 centerBR= 4877192 lowerBR= 4725752*/ |
|---|
| 88 | 4725752, /*upperBR= 4725752 centerBR= 4583434 lowerBR= 4441116*/ |
|---|
| 89 | 4441116, /*upperBR= 4441116 centerBR= 4307370 lowerBR= 4173624*/ |
|---|
| 90 | 4173624, /*upperBR= 4173624 centerBR= 4047934 lowerBR= 3922243*/ |
|---|
| 91 | 3922243, /*upperBR= 3922243 centerBR= 3804123 lowerBR= 3686003*/ |
|---|
| 92 | 3686003, /*upperBR= 3686003 centerBR= 3574998 lowerBR= 3463992*/ |
|---|
| 93 | 3463992, /*upperBR= 3463992 centerBR= 3359673 lowerBR= 3255353*/ |
|---|
| 94 | 3255353, /*upperBR= 3255353 centerBR= 3157317 lowerBR= 3059280*/ |
|---|
| 95 | 3059280, /*upperBR= 3059280 centerBR= 2967149 lowerBR= 2875017*/ |
|---|
| 96 | 2875017, /*upperBR= 2875017 centerBR= 2788435 lowerBR= 2701852*/ |
|---|
| 97 | 2701852, /*upperBR= 2701852 centerBR= 2620485 lowerBR= 2539117*/ |
|---|
| 98 | 2539117, /*upperBR= 2539117 centerBR= 2462651 lowerBR= 2386184*/ |
|---|
| 99 | 2386184, /*upperBR= 2386184 centerBR= 2314323 lowerBR= 2242462*/ |
|---|
| 100 | 2242462, /*upperBR= 2242462 centerBR= 2174929 lowerBR= 2107396*/ |
|---|
| 101 | 2107396, /*upperBR= 2107396 centerBR= 2043931 lowerBR= 1980466*/ |
|---|
| 102 | 1980466, /*upperBR= 1980466 centerBR= 1920824 lowerBR= 1861181*/ |
|---|
| 103 | 1861181, /*upperBR= 1861181 centerBR= 1805131 lowerBR= 1749080*/ |
|---|
| 104 | 1749080, /*upperBR= 1749080 centerBR= 1696406 lowerBR= 1643731*/ |
|---|
| 105 | 1643731, /*upperBR= 1643731 centerBR= 1594230 lowerBR= 1544728*/ |
|---|
| 106 | 1544728, /*upperBR= 1544728 centerBR= 1498208 lowerBR= 1451688*/ |
|---|
| 107 | 1451688, /*upperBR= 1451688 centerBR= 1407970 lowerBR= 1364252*/ |
|---|
| 108 | 1364252, /*upperBR= 1364252 centerBR= 1323167 lowerBR= 1282082*/ |
|---|
| 109 | 1282082, /*upperBR= 1282082 centerBR= 1243472 lowerBR= 1204861*/ |
|---|
| 110 | 1204861, /*upperBR= 1204861 centerBR= 1168576 lowerBR= 1132291*/ |
|---|
| 111 | 1132291, /*upperBR= 1132291 centerBR= 1098192 lowerBR= 1064092*/ |
|---|
| 112 | 1064092, /*upperBR= 1064092 centerBR= 1032046 lowerBR= 1000000*/ |
|---|
| 113 | 1000000 |
|---|
| 114 | }; |
|---|
| 115 | |
|---|
| 116 | |
|---|
| 117 | const int8_t ChannelNoisePower_TBL[NUM_BAUD_RATES] = |
|---|
| 118 | { |
|---|
| 119 | -105, /*upperBR= 7300000 centerBR= 7080157 lowerBR= 6860314*/ |
|---|
| 120 | -106, /*upperBR= 6860314 centerBR= 6653713 lowerBR= 6447111*/ |
|---|
| 121 | -106, /*upperBR= 6447111 centerBR= 6252954 lowerBR= 6058796*/ |
|---|
| 122 | -106, /*upperBR= 6058796 centerBR= 5876333 lowerBR= 5693869*/ |
|---|
| 123 | -106, /*upperBR= 5693869 centerBR= 5522396 lowerBR= 5350922*/ |
|---|
| 124 | -107, /*upperBR= 5350922 centerBR= 5189777 lowerBR= 5028631*/ |
|---|
| 125 | -107, /*upperBR= 5028631 centerBR= 4877192 lowerBR= 4725752*/ |
|---|
| 126 | -107, /*upperBR= 4725752 centerBR= 4583434 lowerBR= 4441116*/ |
|---|
| 127 | -108, /*upperBR= 4441116 centerBR= 4307370 lowerBR= 4173624*/ |
|---|
| 128 | -108, /*upperBR= 4173624 centerBR= 4047934 lowerBR= 3922243*/ |
|---|
| 129 | -108, /*upperBR= 3922243 centerBR= 3804123 lowerBR= 3686003*/ |
|---|
| 130 | -108, /*upperBR= 3686003 centerBR= 3574998 lowerBR= 3463992*/ |
|---|
| 131 | -109, /*upperBR= 3463992 centerBR= 3359673 lowerBR= 3255353*/ |
|---|
| 132 | -109, /*upperBR= 3255353 centerBR= 3157317 lowerBR= 3059280*/ |
|---|
| 133 | -109, /*upperBR= 3059280 centerBR= 2967149 lowerBR= 2875017*/ |
|---|
| 134 | -109, /*upperBR= 2875017 centerBR= 2788435 lowerBR= 2701852*/ |
|---|
| 135 | -110, /*upperBR= 2701852 centerBR= 2620485 lowerBR= 2539117*/ |
|---|
| 136 | -110, /*upperBR= 2539117 centerBR= 2462651 lowerBR= 2386184*/ |
|---|
| 137 | -110, /*upperBR= 2386184 centerBR= 2314323 lowerBR= 2242462*/ |
|---|
| 138 | -110, /*upperBR= 2242462 centerBR= 2174929 lowerBR= 2107396*/ |
|---|
| 139 | -111, /*upperBR= 2107396 centerBR= 2043931 lowerBR= 1980466*/ |
|---|
| 140 | -111, /*upperBR= 1980466 centerBR= 1920824 lowerBR= 1861181*/ |
|---|
| 141 | -111, /*upperBR= 1861181 centerBR= 1805131 lowerBR= 1749080*/ |
|---|
| 142 | -112, /*upperBR= 1749080 centerBR= 1696406 lowerBR= 1643731*/ |
|---|
| 143 | -112, /*upperBR= 1643731 centerBR= 1594230 lowerBR= 1544728*/ |
|---|
| 144 | -112, /*upperBR= 1544728 centerBR= 1498208 lowerBR= 1451688*/ |
|---|
| 145 | -112, /*upperBR= 1451688 centerBR= 1407970 lowerBR= 1364252*/ |
|---|
| 146 | -113, /*upperBR= 1364252 centerBR= 1323167 lowerBR= 1282082*/ |
|---|
| 147 | -113, /*upperBR= 1282082 centerBR= 1243472 lowerBR= 1204861*/ |
|---|
| 148 | -113, /*upperBR= 1204861 centerBR= 1168576 lowerBR= 1132291*/ |
|---|
| 149 | -113, /*upperBR= 1132291 centerBR= 1098192 lowerBR= 1064092*/ |
|---|
| 150 | -114, /*upperBR= 1064092 centerBR= 1032046 lowerBR= 1000000*/ |
|---|
| 151 | -114 |
|---|
| 152 | }; |
|---|
| 153 | |
|---|
| 154 | |
|---|
| 155 | /*Loop is scaled from a 5.38 MBaud phase loop parameters */ |
|---|
| 156 | /*PhaseLoopAcqCoeffs are calculated with Fn = 22275 Hz and zeta = 1.4568 above 3 MBaud*/ |
|---|
| 157 | /*PhaseLoopAcqCoeffs are calculated with Fn = 10000 Hz and zeta = 1.4568 below 3 MBaud*/ |
|---|
| 158 | const uint32_t PhaseLoopAcqCoeffs_TBL[NUM_BAUD_RATES] = |
|---|
| 159 | { |
|---|
| 160 | 0xFDA6FFBE, /*centerBR= 7080157*/ |
|---|
| 161 | 0xFD80FFB6, /*centerBR= 6653713*/ |
|---|
| 162 | 0xFD45FFA8, /*centerBR= 6252954*/ |
|---|
| 163 | 0xFD19FF9C, /*centerBR= 5876333*/ |
|---|
| 164 | 0xFCE9FF8F, /*centerBR= 5522396*/ |
|---|
| 165 | 0xFCB6FF80, /*centerBR= 5189777*/ |
|---|
| 166 | 0xFC80FF6F, /*centerBR= 4877192*/ |
|---|
| 167 | 0xFC47FF5C, /*centerBR= 4583434*/ |
|---|
| 168 | 0xFC0AFF47, /*centerBR= 4307370*/ |
|---|
| 169 | 0xFBC9FF2E, /*centerBR= 4047934*/ |
|---|
| 170 | 0xFB84FF13, /*centerBR= 3804123*/ |
|---|
| 171 | 0xFB3AFEF3, /*centerBR= 3574998*/ |
|---|
| 172 | 0xFAECFED0, /*centerBR= 3359673*/ |
|---|
| 173 | 0xFA99FEA8, /*centerBR= 3157317*/ |
|---|
| 174 | 0xFD8FFFB9, /*centerBR= 2967149*/ |
|---|
| 175 | 0xFD67FFB0, /*centerBR= 2788435*/ |
|---|
| 176 | 0xFD3CFFA5, /*centerBR= 2620485*/ |
|---|
| 177 | 0xFD0FFF99, /*centerBR= 2462651*/ |
|---|
| 178 | 0xFCDFFF8C, /*centerBR= 2314323*/ |
|---|
| 179 | 0xFCACFF7C, /*centerBR= 2174929*/ |
|---|
| 180 | 0xFC75FF6B, /*centerBR= 2043931*/ |
|---|
| 181 | 0xFC3BFF57, /*centerBR= 1920824*/ |
|---|
| 182 | 0xFBFDFF41, /*centerBR= 1805131*/ |
|---|
| 183 | 0xFBBBFF28, /*centerBR= 1696406*/ |
|---|
| 184 | 0xFB75FF0C, /*centerBR= 1594230*/ |
|---|
| 185 | 0xFB2BFEEB, /*centerBR= 1498208*/ |
|---|
| 186 | 0xFADBFEC7, /*centerBR= 1407970*/ |
|---|
| 187 | 0xFA87FE9D, /*centerBR= 1323167*/ |
|---|
| 188 | 0xFA2DFE6E, /*centerBR= 1243472*/ |
|---|
| 189 | 0xF9CEFE39, /*centerBR= 1168576*/ |
|---|
| 190 | 0xF968FDFD, /*centerBR= 1098192*/ |
|---|
| 191 | 0xF8FCFDB9, /*centerBR= 1032046*/ |
|---|
| 192 | 0xF889FD6C, /*centerBR= 1000000*/ |
|---|
| 193 | }; |
|---|
| 194 | |
|---|
| 195 | /*Loop is scaled from a 5.38 MBaud phase loop parameters */ |
|---|
| 196 | /*PhaseLoopTrkCoeffs are calculated with zeta = 0.69 and Fn = 28884 Hz above 3 MBaud */ |
|---|
| 197 | /*PhaseLoopTrkCoeffs are calculated with zeta = 1.00 and Fn = 20000 Hz below 3 MBaud */ |
|---|
| 198 | const uint32_t PhaseLoopTrkCoeffs_TBL[NUM_BAUD_RATES] = |
|---|
| 199 | { |
|---|
| 200 | 0xFE85FF8C, /*centerBR= 7080157*/ |
|---|
| 201 | 0xFE6CFF7D, /*centerBR= 6653713*/ |
|---|
| 202 | 0xFE53FF6C, /*centerBR= 6252954*/ |
|---|
| 203 | 0xFE37FF58, /*centerBR= 5876333*/ |
|---|
| 204 | 0xFE1AFF42, /*centerBR= 5522396*/ |
|---|
| 205 | 0xFDFBFF29, /*centerBR= 5189777*/ |
|---|
| 206 | 0xFDDAFF0D, /*centerBR= 4877192*/ |
|---|
| 207 | 0xFDB6FEED, /*centerBR= 4583434*/ |
|---|
| 208 | 0xFD91FEC8, /*centerBR= 4307370*/ |
|---|
| 209 | 0xFD69FE9F, /*centerBR= 4047934*/ |
|---|
| 210 | 0xFD3EFE70, /*centerBR= 3804123*/ |
|---|
| 211 | 0xFD11FE3C, /*centerBR= 3574998*/ |
|---|
| 212 | 0xFCE1FE00, /*centerBR= 3359673*/ |
|---|
| 213 | 0xFCAEFDBC, /*centerBR= 3157317*/ |
|---|
| 214 | 0xFC8CFED4, /*centerBR= 2967149*/ |
|---|
| 215 | 0xFC53FEAC, /*centerBR= 2788435*/ |
|---|
| 216 | 0xFC17FE80, /*centerBR= 2620485*/ |
|---|
| 217 | 0xFBD6FE4D, /*centerBR= 2462651*/ |
|---|
| 218 | 0xFB92FE13, /*centerBR= 2314323*/ |
|---|
| 219 | 0xFB4AFDD2, /*centerBR= 2174929*/ |
|---|
| 220 | 0xFAFCFD88, /*centerBR= 2043931*/ |
|---|
| 221 | 0xFAAAFD35, /*centerBR= 1920824*/ |
|---|
| 222 | 0xFA53FCD6, /*centerBR= 1805131*/ |
|---|
| 223 | 0xF9F5FC6B, /*centerBR= 1696406*/ |
|---|
| 224 | 0xF992FBF2, /*centerBR= 1594230*/ |
|---|
| 225 | 0xF929FB69, /*centerBR= 1498208*/ |
|---|
| 226 | 0xF8B9FACD, /*centerBR= 1407970*/ |
|---|
| 227 | 0xF841FA1D, /*centerBR= 1323167*/ |
|---|
| 228 | 0xF7C2F956, /*centerBR= 1243472*/ |
|---|
| 229 | 0xF73BF875, /*centerBR= 1168576*/ |
|---|
| 230 | 0xF6ABF775, /*centerBR= 1098192*/ |
|---|
| 231 | 0xF5C1F5B3, /*centerBR= 1000000*/ |
|---|
| 232 | 0xF5C1F5B3 |
|---|
| 233 | }; |
|---|
| 234 | |
|---|
| 235 | /*Loop is scaled from a 5.38 MBaud phase loop parameters */ |
|---|
| 236 | /*PhaseLoopTrkBurstModeCoeffs are calculated with zeta = 0.442 and Fn = 29560 Hz */ |
|---|
| 237 | const uint32_t PhaseLoopTrkBurstModeCoeffs_TBL[NUM_BAUD_RATES] = |
|---|
| 238 | { |
|---|
| 239 | 0xFF07FF87, /*centerBR= 7080157*/ |
|---|
| 240 | 0xFEF7FF77, /*centerBR= 6653713*/ |
|---|
| 241 | 0xFEE6FF65, /*centerBR= 6252954*/ |
|---|
| 242 | 0xFED4FF50, /*centerBR= 5876333*/ |
|---|
| 243 | 0xFEC1FF39, /*centerBR= 5522396*/ |
|---|
| 244 | 0xFEACFF1F, /*centerBR= 5189777*/ |
|---|
| 245 | 0xFE97FF01, /*centerBR= 4877192*/ |
|---|
| 246 | 0xFE7FFEDF, /*centerBR= 4583434*/ |
|---|
| 247 | 0xFE67FEB9, /*centerBR= 4307370*/ |
|---|
| 248 | 0xFE4DFE8E, /*centerBR= 4047934*/ |
|---|
| 249 | 0xFE31FE5D, /*centerBR= 3804123*/ |
|---|
| 250 | 0xFE13FE26, /*centerBR= 3574998*/ |
|---|
| 251 | 0xFDF4FDE7, /*centerBR= 3359673*/ |
|---|
| 252 | 0xFDD2FDA0, /*centerBR= 3157317*/ |
|---|
| 253 | 0xFDAEFD50, /*centerBR= 2967149*/ |
|---|
| 254 | 0xFD88FCF5, /*centerBR= 2788435*/ |
|---|
| 255 | 0xFD60FC8E, /*centerBR= 2620485*/ |
|---|
| 256 | 0xFD35FC1A, /*centerBR= 2462651*/ |
|---|
| 257 | 0xFD07FB96, /*centerBR= 2314323*/ |
|---|
| 258 | 0xFCD6FB00, /*centerBR= 2174929*/ |
|---|
| 259 | 0xFCA2FA57, /*centerBR= 2043931*/ |
|---|
| 260 | 0xFC6BF997, /*centerBR= 1920824*/ |
|---|
| 261 | 0xFC30F8BE, /*centerBR= 1805131*/ |
|---|
| 262 | 0xFBF2F7C9, /*centerBR= 1696406*/ |
|---|
| 263 | 0xFBAFF6B2, /*centerBR= 1594230*/ |
|---|
| 264 | 0xFB69F577, /*centerBR= 1498208*/ |
|---|
| 265 | 0xFB1DF413, /*centerBR= 1407970*/ |
|---|
| 266 | 0xFACDF27F, /*centerBR= 1323167*/ |
|---|
| 267 | 0xFA78F0B6, /*centerBR= 1243472*/ |
|---|
| 268 | 0xFA1DEEB0, /*centerBR= 1168576*/ |
|---|
| 269 | 0xF9BDEC66, /*centerBR= 1098192*/ |
|---|
| 270 | 0xF956E9CE, /*centerBR= 1032046*/ |
|---|
| 271 | 0xF923E85C /*centerBR= 1000000*/ |
|---|
| 272 | }; |
|---|
| 273 | |
|---|
| 274 | /*Loop is scaled from a 5.38 MBaud TT loop parameters */ |
|---|
| 275 | /*Coefficients are for TT with Fn=9649 Hz and Zeta=.517 */ |
|---|
| 276 | /*TL PD Gain full precision/full precision = 0.012 TLAGC = 8X */ |
|---|
| 277 | /*For FOI Loop match FOI gain to the TT loop */ |
|---|
| 278 | const uint16_t TimingLoopAcqCoeffs_TBL[NUM_BAUD_RATES] = |
|---|
| 279 | { |
|---|
| 280 | 0x3839, /*centerBR= 7080157*/ |
|---|
| 281 | 0x3839, /*centerBR= 6653713*/ |
|---|
| 282 | 0x3839, /*centerBR= 6252954*/ |
|---|
| 283 | 0x3839, /*centerBR= 5876333*/ |
|---|
| 284 | 0x3839, /*centerBR= 5522396*/ |
|---|
| 285 | 0x3839, /*centerBR= 5189777*/ |
|---|
| 286 | 0x3839, /*centerBR= 4877192*/ |
|---|
| 287 | 0x3839, /*centerBR= 4583434*/ |
|---|
| 288 | 0x3839, /*centerBR= 4307370*/ |
|---|
| 289 | 0x3839, /*centerBR= 4047934*/ |
|---|
| 290 | 0x3738, /*centerBR= 3804123*/ |
|---|
| 291 | 0x3738, /*centerBR= 3574998*/ |
|---|
| 292 | 0x3738, /*centerBR= 3359673*/ |
|---|
| 293 | 0x3738, /*centerBR= 3157317*/ |
|---|
| 294 | 0x3738, /*centerBR= 2967149*/ |
|---|
| 295 | 0x3738, /*centerBR= 2788435*/ |
|---|
| 296 | 0x3738, /*centerBR= 2620485*/ |
|---|
| 297 | 0x3738, /*centerBR= 2462651*/ |
|---|
| 298 | 0x3738, /*centerBR= 2314323*/ |
|---|
| 299 | 0x3738, /*centerBR= 2174929*/ |
|---|
| 300 | 0x3738, /*centerBR= 2043931*/ |
|---|
| 301 | 0x3738, /*centerBR= 1920824*/ |
|---|
| 302 | 0x3637, /*centerBR= 1805131*/ |
|---|
| 303 | 0x3637, /*centerBR= 1696406*/ |
|---|
| 304 | 0x3637, /*centerBR= 1594230*/ |
|---|
| 305 | 0x3637, /*centerBR= 1498208*/ |
|---|
| 306 | 0x3637, /*centerBR= 1407970*/ |
|---|
| 307 | 0x3637, /*centerBR= 1323167*/ |
|---|
| 308 | 0x3637, /*centerBR= 1243472*/ |
|---|
| 309 | 0x3637, /*centerBR= 1168576*/ |
|---|
| 310 | 0x3637, /*centerBR= 1098192*/ |
|---|
| 311 | 0x3637, /*centerBR= 1032046*/ |
|---|
| 312 | 0x3637 /*centerBR= 1000000*/ |
|---|
| 313 | }; |
|---|
| 314 | |
|---|
| 315 | /*Loop is scaled from a 5.38 MBaud TT loop parameters */ |
|---|
| 316 | /*Coefficients are for TT with Fn=1710 Hz and Zeta=0.732 */ |
|---|
| 317 | /*TL PD Gain full precision/full precision = 0.012 TLAGC = 8X */ |
|---|
| 318 | /*For FOI Loop match FOI gain to the TT loop */ |
|---|
| 319 | const uint16_t TimingLoopTrk1Coeffs_TBL[NUM_BAUD_RATES] = |
|---|
| 320 | { |
|---|
| 321 | 0x3634, /*centerBR= 7080157*/ |
|---|
| 322 | 0x3634, /*centerBR= 6653713*/ |
|---|
| 323 | 0x3634, /*centerBR= 6252954*/ |
|---|
| 324 | 0x3634, /*centerBR= 5876333*/ |
|---|
| 325 | 0x3634, /*centerBR= 5522396*/ |
|---|
| 326 | 0x3634, /*centerBR= 5189777*/ |
|---|
| 327 | 0x3634, /*centerBR= 4877192*/ |
|---|
| 328 | 0x3634, /*centerBR= 4583434*/ |
|---|
| 329 | 0x3634, /*centerBR= 4307370*/ |
|---|
| 330 | 0x3634, /*centerBR= 4047934*/ |
|---|
| 331 | 0x3533, /*centerBR= 3804123*/ |
|---|
| 332 | 0x3533, /*centerBR= 3574998*/ |
|---|
| 333 | 0x3533, /*centerBR= 3359673*/ |
|---|
| 334 | 0x3533, /*centerBR= 3157317*/ |
|---|
| 335 | 0x3533, /*centerBR= 2967149*/ |
|---|
| 336 | 0x3533, /*centerBR= 2788435*/ |
|---|
| 337 | 0x3533, /*centerBR= 2620485*/ |
|---|
| 338 | 0x3533, /*centerBR= 2462651*/ |
|---|
| 339 | 0x3533, /*centerBR= 2314323*/ |
|---|
| 340 | 0x3533, /*centerBR= 2174929*/ |
|---|
| 341 | 0x3533, /*centerBR= 2043931*/ |
|---|
| 342 | 0x3533, /*centerBR= 1920824*/ |
|---|
| 343 | 0x3432, /*centerBR= 1805131*/ |
|---|
| 344 | 0x3432, /*centerBR= 1696406*/ |
|---|
| 345 | 0x3432, /*centerBR= 1594230*/ |
|---|
| 346 | 0x3432, /*centerBR= 1498208*/ |
|---|
| 347 | 0x3432, /*centerBR= 1407970*/ |
|---|
| 348 | 0x3432, /*centerBR= 1323167*/ |
|---|
| 349 | 0x3432, /*centerBR= 1243472*/ |
|---|
| 350 | 0x3432, /*centerBR= 1168576*/ |
|---|
| 351 | 0x3432, /*centerBR= 1098192*/ |
|---|
| 352 | 0x3432, /*centerBR= 1032046*/ |
|---|
| 353 | 0x3432 /*centerBR= 1000000*/ |
|---|
| 354 | }; |
|---|
| 355 | |
|---|
| 356 | /*Loop is scaled from a 5.38 MBaud TT loop parameters */ |
|---|
| 357 | /*Coefficients are for TT with Fn=426 Hz and Zeta=0.732 */ |
|---|
| 358 | /*TL PD Gain full precision/full precision = 0.012 TLAGC = 8X */ |
|---|
| 359 | /*For FOI Loop match FOI gain to the TT loop */ |
|---|
| 360 | const uint16_t TimingLoopTrk2Coeffs_TBL[NUM_BAUD_RATES] = |
|---|
| 361 | { |
|---|
| 362 | 0x3430, /*centerBR= 7080157*/ |
|---|
| 363 | 0x3430, /*centerBR= 6653713*/ |
|---|
| 364 | 0x3430, /*centerBR= 6252954*/ |
|---|
| 365 | 0x3430, /*centerBR= 5876333*/ |
|---|
| 366 | 0x3430, /*centerBR= 5522396*/ |
|---|
| 367 | 0x3430, /*centerBR= 5189777*/ |
|---|
| 368 | 0x3430, /*centerBR= 4877192*/ |
|---|
| 369 | 0x3430, /*centerBR= 4583434*/ |
|---|
| 370 | 0x3430, /*centerBR= 4307370*/ |
|---|
| 371 | 0x3430, /*centerBR= 4047934*/ |
|---|
| 372 | 0x332F, /*centerBR= 3804123*/ |
|---|
| 373 | 0x332F, /*centerBR= 3574998*/ |
|---|
| 374 | 0x332F, /*centerBR= 3359673*/ |
|---|
| 375 | 0x332F, /*centerBR= 3157317*/ |
|---|
| 376 | 0x332F, /*centerBR= 2967149*/ |
|---|
| 377 | 0x332F, /*centerBR= 2788435*/ |
|---|
| 378 | 0x332F, /*centerBR= 2620485*/ |
|---|
| 379 | 0x332F, /*centerBR= 2462651*/ |
|---|
| 380 | 0x332F, /*centerBR= 2314323*/ |
|---|
| 381 | 0x332F, /*centerBR= 2174929*/ |
|---|
| 382 | 0x332F, /*centerBR= 2043931*/ |
|---|
| 383 | 0x332F, /*centerBR= 1920824*/ |
|---|
| 384 | 0x322E, /*centerBR= 1805131*/ |
|---|
| 385 | 0x322E, /*centerBR= 1696406*/ |
|---|
| 386 | 0x322E, /*centerBR= 1594230*/ |
|---|
| 387 | 0x322E, /*centerBR= 1498208*/ |
|---|
| 388 | 0x322E, /*centerBR= 1407970*/ |
|---|
| 389 | 0x322E, /*centerBR= 1323167*/ |
|---|
| 390 | 0x322E, /*centerBR= 1243472*/ |
|---|
| 391 | 0x322E, /*centerBR= 1168576*/ |
|---|
| 392 | 0x322E, /*centerBR= 1098192*/ |
|---|
| 393 | 0x322E, /*centerBR= 1032046*/ |
|---|
| 394 | 0x322E /*centerBR= 1000000*/ |
|---|
| 395 | }; |
|---|
| 396 | |
|---|
| 397 | /*Loop is scaled from a 5.38 MBaud loop parameters */ |
|---|
| 398 | /*Coefficients are for CFL with Fn=875 Hz and Zeta=4.18 */ |
|---|
| 399 | const uint16_t FrequencyLoopCoeffs_TBL[NUM_BAUD_RATES] = |
|---|
| 400 | { |
|---|
| 401 | 0x2923, /*centerBR= 7080157*/ |
|---|
| 402 | 0x2923, /*centerBR= 6653713*/ |
|---|
| 403 | 0x2923, /*centerBR= 6252954*/ |
|---|
| 404 | 0x2923, /*centerBR= 5876333*/ |
|---|
| 405 | 0x2923, /*centerBR= 5522396*/ |
|---|
| 406 | 0x2923, /*centerBR= 5189777*/ |
|---|
| 407 | 0x2923, /*centerBR= 4877192*/ |
|---|
| 408 | 0x2923, /*centerBR= 4583434*/ |
|---|
| 409 | 0x2923, /*centerBR= 4307370*/ |
|---|
| 410 | 0x2923, /*centerBR= 4047934*/ |
|---|
| 411 | 0x2924, /*centerBR= 3804123*/ |
|---|
| 412 | 0x2924, /*centerBR= 3574998*/ |
|---|
| 413 | 0x2924, /*centerBR= 3359673*/ |
|---|
| 414 | 0x2924, /*centerBR= 3157317*/ |
|---|
| 415 | 0x2924, /*centerBR= 2967149*/ |
|---|
| 416 | 0x2924, /*centerBR= 2788435*/ |
|---|
| 417 | 0x2924, /*centerBR= 2620485*/ |
|---|
| 418 | 0x2924, /*centerBR= 2462651*/ |
|---|
| 419 | 0x2924, /*centerBR= 2314323*/ |
|---|
| 420 | 0x2924, /*centerBR= 2174929*/ |
|---|
| 421 | 0x2924, /*centerBR= 2043931*/ |
|---|
| 422 | 0x2924, /*centerBR= 1920824*/ |
|---|
| 423 | 0x2925, /*centerBR= 1805131*/ |
|---|
| 424 | 0x2925, /*centerBR= 1696406*/ |
|---|
| 425 | 0x2925, /*centerBR= 1594230*/ |
|---|
| 426 | 0x2925, /*centerBR= 1498208*/ |
|---|
| 427 | 0x2925, /*centerBR= 1407970*/ |
|---|
| 428 | 0x2925, /*centerBR= 1323167*/ |
|---|
| 429 | 0x2925, /*centerBR= 1243472*/ |
|---|
| 430 | 0x2925, /*centerBR= 1168576*/ |
|---|
| 431 | 0x2925, /*centerBR= 1098192*/ |
|---|
| 432 | 0x2925, /*centerBR= 1032046*/ |
|---|
| 433 | 0x2925 |
|---|
| 434 | }; |
|---|
| 435 | |
|---|
| 436 | /*Loop is scaled from a 5.38 MBaud loop parameters */ |
|---|
| 437 | /*Coefficients are for CFL with Fn=437 Hz and Zeta=0.523 */ |
|---|
| 438 | const uint16_t FrequencyLoopBurstModeCoeffs_TBL[NUM_BAUD_RATES] = |
|---|
| 439 | { |
|---|
| 440 | 0x2521, /*centerBR= 7080157*/ |
|---|
| 441 | 0x2521, /*centerBR= 6653713*/ |
|---|
| 442 | 0x2521, /*centerBR= 6252954*/ |
|---|
| 443 | 0x2521, /*centerBR= 5876333*/ |
|---|
| 444 | 0x2521, /*centerBR= 5522396*/ |
|---|
| 445 | 0x2521, /*centerBR= 5189777*/ |
|---|
| 446 | 0x2521, /*centerBR= 4877192*/ |
|---|
| 447 | 0x2521, /*centerBR= 4583434*/ |
|---|
| 448 | 0x2521, /*centerBR= 4307370*/ |
|---|
| 449 | 0x2521, /*centerBR= 4047934*/ |
|---|
| 450 | 0x2521, /*centerBR= 3804123*/ |
|---|
| 451 | 0x2522, /*centerBR= 3574998*/ |
|---|
| 452 | 0x2522, /*centerBR= 3359673*/ |
|---|
| 453 | 0x2522, /*centerBR= 3157317*/ |
|---|
| 454 | 0x2522, /*centerBR= 2967149*/ |
|---|
| 455 | 0x2522, /*centerBR= 2788435*/ |
|---|
| 456 | 0x2522, /*centerBR= 2620485*/ |
|---|
| 457 | 0x2522, /*centerBR= 2462651*/ |
|---|
| 458 | 0x2522, /*centerBR= 2314323*/ |
|---|
| 459 | 0x2522, /*centerBR= 2174929*/ |
|---|
| 460 | 0x2522, /*centerBR= 2043931*/ |
|---|
| 461 | 0x2522, /*centerBR= 1920824*/ |
|---|
| 462 | 0x2523, /*centerBR= 1805131*/ |
|---|
| 463 | 0x2523, /*centerBR= 1696406*/ |
|---|
| 464 | 0x2523, /*centerBR= 1594230*/ |
|---|
| 465 | 0x2523, /*centerBR= 1498208*/ |
|---|
| 466 | 0x2523, /*centerBR= 1407970*/ |
|---|
| 467 | 0x2523, /*centerBR= 1323167*/ |
|---|
| 468 | 0x2523, /*centerBR= 1243472*/ |
|---|
| 469 | 0x2523, /*centerBR= 1168576*/ |
|---|
| 470 | 0x2523, /*centerBR= 1098192*/ |
|---|
| 471 | 0x2523, /*centerBR= 1032046*/ |
|---|
| 472 | 0x2523 /*centerBR= 1000000*/ |
|---|
| 473 | }; |
|---|
| 474 | |
|---|
| 475 | /*Values for PhaseLoopSweepAnnexA use SweepRange = 420KHz, SweepRate 5.95MHz/sec at 5.21 MBaud */ |
|---|
| 476 | const PhaseLoopSweep_t PhaseLoopSweepAnnexA_TBL[NUM_BAUD_RATES] = |
|---|
| 477 | { |
|---|
| 478 | {0x00B, 0x3DFB7304, 0xFF5, 0x02048CFC, 58}, |
|---|
| 479 | {0x00B, 0x3DFB7304, 0xFF5, 0x02048CFC, 58}, |
|---|
| 480 | {0x00D, 0x3DB84C35, 0xFF3, 0x0247B3CB, 62}, |
|---|
| 481 | {0x00D, 0x3DB84C35, 0xFF3, 0x0247B3CB, 62}, |
|---|
| 482 | {0x00F, 0x3D6C6A98, 0xFF1, 0x02939568, 69}, |
|---|
| 483 | {0x00F, 0x3D6C6A98, 0xFF1, 0x02939568, 69}, |
|---|
| 484 | {0x011, 0x3D16ABA7, 0xFEF, 0x02E95459, 78}, |
|---|
| 485 | {0x011, 0x3D16ABA7, 0xFEF, 0x02E95459, 78}, |
|---|
| 486 | {0x013, 0x3CB5C716, 0xFED, 0x034A38EA, 89}, |
|---|
| 487 | {0x013, 0x3CB5C716, 0xFED, 0x034A38EA, 89}, |
|---|
| 488 | {0x015, 0x3C4849ED, 0xFEB, 0x03B7B613, 103}, |
|---|
| 489 | {0x015, 0x3C4849ED, 0xFEB, 0x03B7B613, 103}, |
|---|
| 490 | {0x018, 0x3BCC90FA, 0xFE8, 0x04336F06, 115}, |
|---|
| 491 | {0x018, 0x3BCC90FA, 0xFE8, 0x04336F06, 115}, |
|---|
| 492 | {0x01B, 0x3B40C28B, 0xFE5, 0x04BF3D75, 130}, |
|---|
| 493 | {0x01B, 0x3B40C28B, 0xFE5, 0x04BF3D75, 130}, |
|---|
| 494 | {0x01F, 0x3AA2C75B, 0xFE1, 0x055D38A5, 145}, |
|---|
| 495 | {0x01F, 0x3AA2C75B, 0xFE1, 0x055D38A5, 145}, |
|---|
| 496 | {0x023, 0x39F0428D, 0xFDD, 0x060FBD73, 164}, |
|---|
| 497 | {0x023, 0x39F0428D, 0xFDD, 0x060FBD73, 164}, |
|---|
| 498 | {0x027, 0x392688A4, 0xFD9, 0x06D9775C, 188}, |
|---|
| 499 | {0x027, 0x392688A4, 0xFD9, 0x06D9775C, 188}, |
|---|
| 500 | {0x02C, 0x38429549, 0xFD4, 0x07BD6AB7, 212}, |
|---|
| 501 | {0x02C, 0x38429549, 0xFD4, 0x07BD6AB7, 212}, |
|---|
| 502 | {0x032, 0x3740FFBC, 0xFCE, 0x08BF0044, 239}, |
|---|
| 503 | {0x032, 0x3740FFBC, 0xFCE, 0x08BF0044, 239}, |
|---|
| 504 | {0x038, 0x361DEDC7, 0xFC8, 0x09E21239, 272}, |
|---|
| 505 | {0x038, 0x361DEDC7, 0xFC8, 0x09E21239, 272}, |
|---|
| 506 | {0x040, 0x34D50502, 0xFC0, 0x0B2AFAFE, 304}, |
|---|
| 507 | {0x040, 0x34D50502, 0xFC0, 0x0B2AFAFE, 304}, |
|---|
| 508 | {0x048, 0x33615A24, 0xFB8, 0x0C9EA5DC, 345}, |
|---|
| 509 | {0x048, 0x33615A24, 0xFB8, 0x0C9EA5DC, 345}, |
|---|
| 510 | {0x048, 0x33615A24, 0xFB8, 0x0C9EA5DC, 345} |
|---|
| 511 | }; |
|---|
| 512 | |
|---|
| 513 | const PhaseLoopSweep_FFT_t PhaseLoopSweepAnnexA_FFT_TBL[NUM_BAUD_RATES] = |
|---|
| 514 | { |
|---|
| 515 | {0x00B, 0x3FFFEE99, 5}, |
|---|
| 516 | {0x00B, 0x3FFFEFA5, 5}, |
|---|
| 517 | {0x00D, 0x3FFFF0A1, 5}, |
|---|
| 518 | {0x00D, 0x3FFFF18F, 5}, |
|---|
| 519 | {0x00F, 0x3FFFF26D, 5}, |
|---|
| 520 | {0x00F, 0x3FFFF33F, 5}, |
|---|
| 521 | {0x011, 0x3FFFF403, 5}, |
|---|
| 522 | {0x011, 0x3FFFF4BC, 5}, |
|---|
| 523 | {0x013, 0x3FFFF56A, 5}, |
|---|
| 524 | {0x013, 0x3FFFF60D, 5}, |
|---|
| 525 | {0x015, 0x3FFFF6A7, 5}, |
|---|
| 526 | {0x015, 0x3FFFF737, 5}, |
|---|
| 527 | {0x018, 0x3FFFF7BE, 5}, |
|---|
| 528 | {0x018, 0x3FFFF83E, 5}, |
|---|
| 529 | {0x01B, 0x3FFFF8B5, 5}, |
|---|
| 530 | {0x01B, 0x3FFFF926, 5}, |
|---|
| 531 | {0x01F, 0x3FFFF98F, 5}, |
|---|
| 532 | {0x01F, 0x3FFFF9F3, 5}, |
|---|
| 533 | {0x023, 0x3FFFFA50, 5}, |
|---|
| 534 | {0x023, 0x3FFFFAA8, 5}, |
|---|
| 535 | {0x027, 0x3FFFFAFA, 5}, |
|---|
| 536 | {0x027, 0x3FFFFB48, 5}, |
|---|
| 537 | {0x02C, 0x3FFFFB91, 5}, |
|---|
| 538 | {0x02C, 0x3FFFFBD5, 5}, |
|---|
| 539 | {0x032, 0x3FFFFC15, 5}, |
|---|
| 540 | {0x032, 0x3FFFFC52, 5}, |
|---|
| 541 | {0x038, 0x3FFFFC8A, 5}, |
|---|
| 542 | {0x038, 0x3FFFFCC0, 5}, |
|---|
| 543 | {0x040, 0x3FFFFCF2, 5}, |
|---|
| 544 | {0x040, 0x3FFFFD21, 5}, |
|---|
| 545 | {0x048, 0x3FFFFD4D, 5}, |
|---|
| 546 | {0x048, 0x3FFFFD77, 5}, |
|---|
| 547 | {0x048, 0x3FFFFD9E, 5} |
|---|
| 548 | }; |
|---|
| 549 | |
|---|
| 550 | |
|---|
| 551 | /*Values for PhaseLoopSweepAnnexB are for fixed Baud Rates and are from the cable script */ |
|---|
| 552 | const PhaseLoopSweep_t PhaseLoopSweepAnnexB_TBL[2] = |
|---|
| 553 | { |
|---|
| 554 | /*{0x010, 0x3DB8D140, 0xFF0, 0x02472EC0, 59}, |
|---|
| 555 | {0x010, 0x3DD9D89D, 0xFF0, 0x02262763, 53},*/ |
|---|
| 556 | {0x012, 0x3DB8D140, 0xFEE, 0x02472EC0, 53}, |
|---|
| 557 | {0x010, 0x3DD9D89D, 0xFEF, 0x02262763, 53}, |
|---|
| 558 | }; |
|---|
| 559 | |
|---|
| 560 | const uint32_t SNRLTHRESH_TBL[NUM_QAM_MODES] = |
|---|
| 561 | { |
|---|
| 562 | 0xb54, /*16Qam Low threshold approx. 55 dB*/ |
|---|
| 563 | 0xb54, /*32Qam Low threshold approx. 55 dB*/ |
|---|
| 564 | 0xb54, /*64Qam Low threshold approx. 55 dB*/ |
|---|
| 565 | 0xb54, /*128Qam Low threshold approx. 55 dB*/ |
|---|
| 566 | 0xb54, /*256Qam Low threshold approx. 55 dB*/ |
|---|
| 567 | 0xb54, /*512Qam Low threshold approx. 55 dB*/ |
|---|
| 568 | 0xb54, /*1024Qam Low threshold approx. 55 dB*/ |
|---|
| 569 | }; |
|---|
| 570 | |
|---|
| 571 | /*I think this table is wrong*/ |
|---|
| 572 | #if 0 |
|---|
| 573 | const uint32_t SNRHTHRESH_TBL[NUM_QAM_MODES] = |
|---|
| 574 | { |
|---|
| 575 | 0x49AB3, /*16Qam High Threshold 15 dB*/ |
|---|
| 576 | 0x34831, /*32Qam High Threshold 19 dB*/ |
|---|
| 577 | 0x34831, /*64Qam High Threshold 19 dB*/ |
|---|
| 578 | 0x178C4, /*128Qam High Threshold 25 dB*/ |
|---|
| 579 | 0x1A798, /*256Qam High Threshold 25 dB*/ |
|---|
| 580 | 0x093E4, /*512Qam High Threshold 28 dB*/ |
|---|
| 581 | 0x06A86, /*1024Qam High Threshold 31 dB*/ |
|---|
| 582 | }; |
|---|
| 583 | #endif |
|---|
| 584 | |
|---|
| 585 | const uint32_t SNRHTHRESH_TBL[NUM_QAM_MODES] = |
|---|
| 586 | { |
|---|
| 587 | 0x664DA, /*16Qam High Threshold 13 dB*/ |
|---|
| 588 | 0x486CD, /*32Qam High Threshold 16 dB*/ |
|---|
| 589 | 0x3345E, /*64Qam High Threshold 19 dB*/ |
|---|
| 590 | 0x244C7, /*128Qam High Threshold 22 dB*/ |
|---|
| 591 | 0x19B28, /*256Qam High Threshold 25 dB*/ |
|---|
| 592 | 0x12314, /*512Qam High Threshold 28 dB*/ |
|---|
| 593 | 0x0CE11, /*1024Qam High Threshold 31 dB*/ |
|---|
| 594 | }; |
|---|
| 595 | |
|---|
| 596 | |
|---|
| 597 | const FEC_t AnnexA_FEC_TBL[NUM_QAM_MODES] = |
|---|
| 598 | { |
|---|
| 599 | {0x004A0000, 0xFF800620, 0x08050031, 0x0000002F, 0x0000006A}, /* Annex A 16QAM*/ |
|---|
| 600 | {0x004A0000, 0xFF800620, 0x08050041, 0x000000EB, 0x00000179}, /* Annex A 32QAM*/ |
|---|
| 601 | {0x004A0000, 0xFF800620, 0x08050051, 0x0000002F, 0x00000037}, /* Annex A 64QAM*/ |
|---|
| 602 | {0x004A0000, 0xFF800620, 0x08050061, 0x00000149, 0x0000011B}, /* Annex A 128QAM*/ |
|---|
| 603 | {0x004A0000, 0xFF800620, 0x08050071, 0x0000005E, 0x0000003B}, /* Annex A 256QAM*/ |
|---|
| 604 | {0x004A0000, 0xFF800620, 0x08050081, 0x0000002F, 0x00000015}, /* Annex A 512QAM*/ |
|---|
| 605 | {0x004A0000, 0xFF800620, 0x08050091, 0x000000EB, 0x00000047}, /* Annex A 1024QAM*/ |
|---|
| 606 | }; |
|---|
| 607 | |
|---|
| 608 | const FEC_t AnnexB_FEC_TBL[NUM_QAM_MODES] = |
|---|
| 609 | { |
|---|
| 610 | {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, /* Annex B 16QAM unsupported*/ |
|---|
| 611 | {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, /* Annex B 32QAM unsupported*/ |
|---|
| 612 | {0x00E00000, 0x1E01E0FF, 0x01000059, 0x00000004, 0x00000005}, /* Annex B 64QAM*/ |
|---|
| 613 | {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, /* Annex B 128QAM unsupported*/ |
|---|
| 614 | {0x00E00000, 0x1E01E0FF, 0x01000079, 0x00001259, 0x00000C10}, /* Annex B 256QAM*/ |
|---|
| 615 | {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, /* Annex B 512QAM unsupported*/ |
|---|
| 616 | {0x00E00000, 0x1E01FE01, 0x01000099, 0x00003DB7, 0x00001343}, /* Annex B 1024QAM*/ |
|---|
| 617 | }; |
|---|
| 618 | |
|---|
| 619 | const uint32_t DS_EQ_CTL_TBL[NUM_QAM_MODES] = |
|---|
| 620 | { |
|---|
| 621 | 0x00040909, /*16Qam DS_EQ_CTL*/ |
|---|
| 622 | 0x00040A12, /*32Qam DS_EQ_CTL*/ |
|---|
| 623 | 0x00040B1B, /*64Qam DS_EQ_CTL*/ |
|---|
| 624 | 0x00040C24, /*128Qam DS_EQ_CTL*/ |
|---|
| 625 | 0x00040D2D, /*256Qam DS_EQ_CTL*/ |
|---|
| 626 | 0x00040E36, /*512Qam DS_EQ_CTL*/ |
|---|
| 627 | 0x00040F3F, /*1024Qam DS_EQ_CTL*/ |
|---|
| 628 | }; |
|---|
| 629 | |
|---|
| 630 | const uint32_t DS_EQ_CPL_TBL[NUM_QAM_MODES] = |
|---|
| 631 | { |
|---|
| 632 | 0xC1001001, /*16Qam Freq Det=On, CPLFTHRESH=0x100, fixed leakage, use diag points, reset CPL loop*/ |
|---|
| 633 | 0xC0401001, /*32Qam Freq Det=On, CPLFTHRESH=0x040, fixed leakage, use diag points, reset CPL loop*/ |
|---|
| 634 | 0x40001001, /*64Qam Freq Det=Off, CPLFTHRESH=0x000, fixed leakage, use diag points, reset CPL loop*/ |
|---|
| 635 | 0x40001001, /*128Qam Freq Det=Off, CPLFTHRESH=0x000, fixed leakage, use diag points, reset CPL loop*/ |
|---|
| 636 | 0x40001001, /*256Qam Freq Det=Off, CPLFTHRESH=0x000, fixed leakage, use diag points, reset CPL loop*/ |
|---|
| 637 | 0x40001001, /*512Qam Freq Det=Off, CPLFTHRESH=0x000, fixed leakage, use diag points, reset CPL loop*/ |
|---|
| 638 | 0x40001001, /*1024Qam Freq Det=Off, CPLFTHRESH=0x000, fixed leakage, use diag points, reset CPL loop*/ |
|---|
| 639 | }; |
|---|
| 640 | |
|---|