FreeCalypso > hg > freecalypso-reveng
view se_k200i/rf_1800.c @ 394:07000c2d21cd
se_k200i: add compiled-in RF parameter table extracts
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 06 Nov 2022 02:35:54 +0000 |
parents | |
children |
line wrap: on
line source
/* * This compiled-in RF parameter default table has been extracted * out of Vadim's flash1.bin firmware image. This SE K200i version * equals Openmoko's l1_cust.obj version (which is in turn believed * to be unchanged TI's internal mainline) in all parameters except * Tx ramp templates. * * Tx ramp templates depend on the PA type and they are generally not * calibrated per unit, hence most fw designs will incorporate correct * ramp templates for their PA into their compiled-in RF tables. * The same principle appears to hold here as well. */ const T_RF_BAND rf_1800 = { { /* Rx structure */ { /* T_RX_CAL_PARAMS */ 188, 40, 40, 44, }, { /* T_RF_AGC_BANDs */ { 548, 0}, { 622, 0}, { 680, 0}, { 745, 0}, { 812, 0}, { 860, 0}, { 885, 0}, { 991, 0}, { 992, 0}, { 1023, 0}, }, { /* Rx temperature compensation */ { -15, 0}, { -5, 0}, { 6, 0}, { 16, 0}, { 25, 0}, { 35, 0}, { 45, 0}, { 56, 0}, { 66, 0}, { 75, 0}, { 100, 0}, }, }, { /* Tx structure */ { /* levels */ { 436, 0, 0}, /* 0 */ { 363, 1, 0}, /* 1 */ { 310, 2, 0}, /* 2 */ { 253, 3, 0}, /* 3 */ { 205, 4, 0}, /* 4 */ { 168, 5, 0}, /* 5 */ { 138, 6, 0}, /* 6 */ { 113, 7, 0}, /* 7 */ { 93, 8, 0}, /* 8 */ { 76, 9, 0}, /* 9 */ { 61, 10, 0}, /* 10 */ { 50, 11, 0}, /* 11 */ { 40, 12, 0}, /* 12 */ { 32, 13, 0}, /* 13 */ { 26, 14, 0}, /* 14 */ { 20, 15, 0}, /* 15 */ { 20, 15, 0}, /* 16 */ { 20, 15, 0}, /* 17 */ { 20, 15, 0}, /* 18 */ { 20, 15, 0}, /* 19 */ { 20, 15, 0}, /* 20 */ { 20, 15, 0}, /* 21 */ { 20, 15, 0}, /* 22 */ { 20, 15, 0}, /* 23 */ { 20, 15, 0}, /* 24 */ { 20, 15, 0}, /* 25 */ { 20, 15, 0}, /* 26 */ { 20, 15, 0}, /* 27 */ { 20, 15, 0}, /* 28 */ { 20, 0, 0}, /* 29 */ { 20, 0, 0}, /* 30 */ { 20, 0, 0}, /* 31 */ }, { /* channel calibration tables */ { /* calibration table 0 */ { 554, 128}, { 722, 128}, { 746, 128}, { 774, 128}, { 808, 128}, { 851, 128}, { 870, 128}, { 885, 128}, }, { /* calibration table 1 */ { 554, 128}, { 722, 128}, { 746, 128}, { 774, 128}, { 808, 128}, { 851, 128}, { 870, 128}, { 885, 128}, }, { /* calibration table 2 */ { 554, 128}, { 722, 128}, { 746, 128}, { 774, 128}, { 808, 128}, { 851, 128}, { 870, 128}, { 885, 128}, }, { /* calibration table 3 */ { 554, 128}, { 722, 128}, { 746, 128}, { 774, 128}, { 808, 128}, { 851, 128}, { 870, 128}, { 885, 128}, }, }, { /* ramps */ { /* profile 0 */ /* ramp-up */ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 29, 29, 29, 29, 6, 6, 0}, /* ramp-down */ { 11, 31, 31, 21, 24, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, }, { /* profile 1 */ /* ramp-up */ { 0, 0, 0, 0, 0, 0, 0, 0, 3, 24, 31, 31, 31, 8, 0, 0}, /* ramp-down */ { 0, 8, 31, 31, 31, 27, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, }, { /* profile 2 */ /* ramp-up */ { 0, 0, 0, 0, 0, 0, 0, 0, 3, 24, 31, 31, 31, 8, 0, 0}, /* ramp-down */ { 0, 8, 31, 31, 31, 27, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, }, { /* profile 3 */ /* ramp-up */ { 0, 0, 0, 0, 0, 0, 0, 22, 6, 4, 24, 26, 24, 18, 4, 0}, /* ramp-down */ { 0, 1, 13, 31, 31, 31, 21, 0, 0, 0, 0, 0, 0, 0, 0, 0}, }, { /* profile 4 */ /* ramp-up */ { 0, 0, 0, 0, 0, 0, 0, 0, 3, 24, 31, 31, 31, 8, 0, 0}, /* ramp-down */ { 0, 8, 31, 31, 31, 27, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, }, { /* profile 5 */ /* ramp-up */ { 0, 0, 0, 0, 0, 0, 0, 0, 3, 24, 31, 31, 31, 8, 0, 0}, /* ramp-down */ { 0, 8, 31, 31, 31, 27, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, }, { /* profile 6 */ /* ramp-up */ { 0, 0, 0, 0, 0, 0, 0, 0, 3, 24, 31, 31, 31, 8, 0, 0}, /* ramp-down */ { 0, 8, 31, 31, 31, 27, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, }, { /* profile 7 */ /* ramp-up */ { 0, 0, 0, 0, 0, 0, 0, 0, 3, 24, 31, 31, 31, 8, 0, 0}, /* ramp-down */ { 0, 8, 31, 31, 31, 27, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, }, { /* profile 8 */ /* ramp-up */ { 0, 0, 0, 0, 0, 0, 0, 0, 3, 24, 31, 31, 31, 8, 0, 0}, /* ramp-down */ { 0, 8, 31, 31, 31, 27, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, }, { /* profile 9 */ /* ramp-up */ { 0, 0, 0, 0, 0, 0, 0, 0, 3, 24, 31, 31, 31, 8, 0, 0}, /* ramp-down */ { 0, 8, 31, 31, 31, 27, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, }, { /* profile 10 */ /* ramp-up */ { 0, 0, 0, 0, 0, 0, 0, 0, 3, 24, 31, 31, 31, 8, 0, 0}, /* ramp-down */ { 0, 8, 31, 31, 31, 27, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, }, { /* profile 11 */ /* ramp-up */ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 31, 31, 31, 31, 4, 0, 0}, /* ramp-down */ { 0, 4, 31, 31, 31, 31, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, }, { /* profile 12 */ /* ramp-up */ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 31, 31, 31, 31, 4, 0, 0}, /* ramp-down */ { 0, 0, 31, 31, 31, 31, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0}, }, { /* profile 13 */ /* ramp-up */ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 31, 31, 31, 31, 4, 0, 0}, /* ramp-down */ { 0, 0, 31, 31, 31, 31, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0}, }, { /* profile 14 */ /* ramp-up */ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 31, 31, 31, 31, 4, 0, 0}, /* ramp-down */ { 0, 0, 31, 31, 31, 31, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0}, }, { /* profile 15 */ /* ramp-up */ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 31, 31, 31, 31, 4, 0, 0}, /* ramp-down */ { 0, 0, 31, 31, 31, 31, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0}, }, }, { /* Tx temperature compensation */ { -11, 0, 0, 0}, { 9, 0, 0, 0}, { 39, 0, 0, 0}, { 59, 0, 0, 0}, { 127, 0, 0, 0}, }, }, 0 };