FreeCalypso > hg > fc-magnetite
changeset 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 | 2f880890c189 |
children | c3f2f79dc5b8 |
files | src/cs/layer1/cust0/l1_rf12.h |
diffstat | 1 files changed, 15 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cs/layer1/cust0/l1_rf12.h Wed Nov 07 04:28:53 2018 +0000 +++ b/src/cs/layer1/cust0/l1_rf12.h Sat Nov 17 07:58:41 2018 +0000 @@ -261,6 +261,21 @@ #define C_Psi_st_32 492713L // F0.32 #define C_Psi_st_inv 8717L // (1/C_Psi_st) +#elif defined(CONFIG_TARGET_GTAMODEM) || defined(CONFIG_TARGET_FCFAM) + +/* + * We calibrate our VCXO per unit following OM's precedent, + * thus the compiled-in AFC params don't really matter on FC/OM targets, + * but let's put in some numbers that are representative of our VCXO, + * as opposed to the totally wrong numbers corresponding to the + * significantly different VCXO on the original Leonardo. + */ + +#define C_Psi_sta_inv 3462L // (1/C_Psi_sta) +#define C_Psi_st 15L // C_Psi_sta * 0.8 F0.16 +#define C_Psi_st_32 992326L // F0.32 +#define C_Psi_st_inv 4328L // (1/C_Psi_st) + #else /* original TCS211 values */