FreeCalypso > hg > fc-magnetite
comparison src/cs/layer1/cust0/l1_rf12.h @ 546:e48cc313ea31
l1_rf12.h AFC params for FC/OM targets: put in numbers for our VCXO
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 17 Nov 2018 07:58:41 +0000 |
parents | 395e464e4005 |
children | 205a3ec39d89 |
comparison
equal
deleted
inserted
replaced
545:2f880890c189 | 546:e48cc313ea31 |
---|---|
258 /* matching Pirelli's fw as read out via rftr 9 */ | 258 /* matching Pirelli's fw as read out via rftr 9 */ |
259 #define C_Psi_sta_inv 6974L // (1/C_Psi_sta) | 259 #define C_Psi_sta_inv 6974L // (1/C_Psi_sta) |
260 #define C_Psi_st 8L // C_Psi_sta * 0.8 F0.16 | 260 #define C_Psi_st 8L // C_Psi_sta * 0.8 F0.16 |
261 #define C_Psi_st_32 492713L // F0.32 | 261 #define C_Psi_st_32 492713L // F0.32 |
262 #define C_Psi_st_inv 8717L // (1/C_Psi_st) | 262 #define C_Psi_st_inv 8717L // (1/C_Psi_st) |
263 | |
264 #elif defined(CONFIG_TARGET_GTAMODEM) || defined(CONFIG_TARGET_FCFAM) | |
265 | |
266 /* | |
267 * We calibrate our VCXO per unit following OM's precedent, | |
268 * thus the compiled-in AFC params don't really matter on FC/OM targets, | |
269 * but let's put in some numbers that are representative of our VCXO, | |
270 * as opposed to the totally wrong numbers corresponding to the | |
271 * significantly different VCXO on the original Leonardo. | |
272 */ | |
273 | |
274 #define C_Psi_sta_inv 3462L // (1/C_Psi_sta) | |
275 #define C_Psi_st 15L // C_Psi_sta * 0.8 F0.16 | |
276 #define C_Psi_st_32 992326L // F0.32 | |
277 #define C_Psi_st_inv 4328L // (1/C_Psi_st) | |
263 | 278 |
264 #else | 279 #else |
265 | 280 |
266 /* original TCS211 values */ | 281 /* original TCS211 values */ |
267 #define C_Psi_sta_inv 5419L // (1/C_Psi_sta) | 282 #define C_Psi_sta_inv 5419L // (1/C_Psi_sta) |