123r
Dependencies: WNC14A2AInterface
mcr20a-rf-driver/source/MCR20Overwrites.h@0:2563b0415d1f, 2017-04-19 (annotated)
- Committer:
- JMF
- Date:
- Wed Apr 19 01:13:10 2017 +0000
- Revision:
- 0:2563b0415d1f
Initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
JMF | 0:2563b0415d1f | 1 | /*! |
JMF | 0:2563b0415d1f | 2 | * Copyright (c) 2015, Freescale Semiconductor, Inc. |
JMF | 0:2563b0415d1f | 3 | * All rights reserved. |
JMF | 0:2563b0415d1f | 4 | * |
JMF | 0:2563b0415d1f | 5 | * \file MCR20Overwrites.h |
JMF | 0:2563b0415d1f | 6 | * Description: Overwrites header file for MCR20 Register values |
JMF | 0:2563b0415d1f | 7 | * |
JMF | 0:2563b0415d1f | 8 | * Redistribution and use in source and binary forms, with or without modification, |
JMF | 0:2563b0415d1f | 9 | * are permitted provided that the following conditions are met: |
JMF | 0:2563b0415d1f | 10 | * |
JMF | 0:2563b0415d1f | 11 | * o Redistributions of source code must retain the above copyright notice, this list |
JMF | 0:2563b0415d1f | 12 | * of conditions and the following disclaimer. |
JMF | 0:2563b0415d1f | 13 | * |
JMF | 0:2563b0415d1f | 14 | * o Redistributions in binary form must reproduce the above copyright notice, this |
JMF | 0:2563b0415d1f | 15 | * list of conditions and the following disclaimer in the documentation and/or |
JMF | 0:2563b0415d1f | 16 | * other materials provided with the distribution. |
JMF | 0:2563b0415d1f | 17 | * |
JMF | 0:2563b0415d1f | 18 | * o Neither the name of Freescale Semiconductor, Inc. nor the names of its |
JMF | 0:2563b0415d1f | 19 | * contributors may be used to endorse or promote products derived from this |
JMF | 0:2563b0415d1f | 20 | * software without specific prior written permission. |
JMF | 0:2563b0415d1f | 21 | * |
JMF | 0:2563b0415d1f | 22 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND |
JMF | 0:2563b0415d1f | 23 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
JMF | 0:2563b0415d1f | 24 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
JMF | 0:2563b0415d1f | 25 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR |
JMF | 0:2563b0415d1f | 26 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
JMF | 0:2563b0415d1f | 27 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
JMF | 0:2563b0415d1f | 28 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON |
JMF | 0:2563b0415d1f | 29 | * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
JMF | 0:2563b0415d1f | 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
JMF | 0:2563b0415d1f | 31 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
JMF | 0:2563b0415d1f | 32 | */ |
JMF | 0:2563b0415d1f | 33 | |
JMF | 0:2563b0415d1f | 34 | #ifndef OVERWRITES_H_ |
JMF | 0:2563b0415d1f | 35 | #define OVERWRITES_H_ |
JMF | 0:2563b0415d1f | 36 | |
JMF | 0:2563b0415d1f | 37 | typedef struct overwrites_tag { |
JMF | 0:2563b0415d1f | 38 | char address; |
JMF | 0:2563b0415d1f | 39 | char data; |
JMF | 0:2563b0415d1f | 40 | }overwrites_t; |
JMF | 0:2563b0415d1f | 41 | |
JMF | 0:2563b0415d1f | 42 | |
JMF | 0:2563b0415d1f | 43 | /*****************************************************************************************************************/ |
JMF | 0:2563b0415d1f | 44 | // This file is created exclusively for use with the transceiver 2.0 silicon |
JMF | 0:2563b0415d1f | 45 | // and is provided for the world to use. It contains a list of all |
JMF | 0:2563b0415d1f | 46 | // known overwrite values. Overwrite values are non-default register |
JMF | 0:2563b0415d1f | 47 | // values that configure the transceiver device to a more optimally performing |
JMF | 0:2563b0415d1f | 48 | // posture. It is expected that low level software (i.e. PHY) will |
JMF | 0:2563b0415d1f | 49 | // consume this file as a #include, and transfer the contents to the |
JMF | 0:2563b0415d1f | 50 | // the indicated addresses in the transceiver's memory space. This file has |
JMF | 0:2563b0415d1f | 51 | // at least one required entry, that being its own version current version |
JMF | 0:2563b0415d1f | 52 | // number, to be stored at transceiver's location 0x3B the |
JMF | 0:2563b0415d1f | 53 | // OVERWRITES_VERSION_NUMBER register. The RAM register is provided in |
JMF | 0:2563b0415d1f | 54 | // the transceiver address space to assist in future debug efforts. The |
JMF | 0:2563b0415d1f | 55 | // analyst may read this location (once device has been booted with |
JMF | 0:2563b0415d1f | 56 | // mysterious software) and have a good indication of what register |
JMF | 0:2563b0415d1f | 57 | // overwrites were performed (with all versions of the overwrites.h file |
JMF | 0:2563b0415d1f | 58 | // being archived forever at the Compass location shown above. |
JMF | 0:2563b0415d1f | 59 | // |
JMF | 0:2563b0415d1f | 60 | // The transceiver has an indirect register (IAR) space. Write access to this space |
JMF | 0:2563b0415d1f | 61 | // requires 3 or more writes: |
JMF | 0:2563b0415d1f | 62 | // 1st) the first write is an index value to the indirect (write Bit7=0, register access Bit 6=0) + 0x3E |
JMF | 0:2563b0415d1f | 63 | // 2nd) IAR Register #0x00 - 0xFF. |
JMF | 0:2563b0415d1f | 64 | // 3rd) The data to write |
JMF | 0:2563b0415d1f | 65 | // nth) Burst mode additional data if required. |
JMF | 0:2563b0415d1f | 66 | // |
JMF | 0:2563b0415d1f | 67 | // Write access to direct space requires only a single address, data pair. |
JMF | 0:2563b0415d1f | 68 | |
JMF | 0:2563b0415d1f | 69 | overwrites_t const overwrites_direct[] ={ |
JMF | 0:2563b0415d1f | 70 | {0x3B, 0x0C}, //version 0C: new value for ACKDELAY targeting 198us (23 May, 2013, Larry Roshak) |
JMF | 0:2563b0415d1f | 71 | {0x23, 0x17} //PA_PWR new default Power Step is "23" |
JMF | 0:2563b0415d1f | 72 | }; |
JMF | 0:2563b0415d1f | 73 | |
JMF | 0:2563b0415d1f | 74 | overwrites_t const overwrites_indirect[] ={ |
JMF | 0:2563b0415d1f | 75 | {0x31, 0x02}, //clear MISO_HIZ_EN (for single SPI master/slave pair) and SPI_PUL_EN (minimize HIB currents) |
JMF | 0:2563b0415d1f | 76 | {0x91, 0xB3}, //VCO_CTRL1 override VCOALC_REF_TX to 3 |
JMF | 0:2563b0415d1f | 77 | {0x92, 0x07}, //VCO_CTRL2 override VCOALC_REF_RX to 3, keep VCO_BUF_BOOST = 1 |
JMF | 0:2563b0415d1f | 78 | {0x8A, 0x71}, //PA_TUNING override PA_COILTUNING to 001 (27 Nov 2012, D. Brown, on behalf of S. Eid) |
JMF | 0:2563b0415d1f | 79 | {0x79, 0x2F}, //CHF_IBUF Adjust the gm-C filter gain (+/- 6dB) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 80 | {0x7A, 0x2F}, //CHF_QBUF Adjust the gm-C filter gain (+/- 6dB) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 81 | {0x7B, 0x24}, //CHF_IRIN Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 82 | {0x7C, 0x24}, //CHF_QRIN Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 83 | {0x7D, 0x24}, //CHF_IL Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 84 | {0x7E, 0x24}, //CHF_QL Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 85 | {0x7F, 0x32}, //CHF_CC1 Adjust the filter center frequency (+/- 1MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 86 | {0x80, 0x1D}, //CHF_CCL Adjust the filter center frequency (+/- 1MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 87 | {0x81, 0x2D}, //CHF_CC2 Adjust the filter center frequency (+/- 1MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 88 | {0x82, 0x24}, //CHF_IROUT Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 89 | {0x83, 0x24}, //CHF_QROUT Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 90 | {0x64, 0x28}, //PA_CAL_DIS=1 Disabled PA calibration |
JMF | 0:2563b0415d1f | 91 | {0x52, 0x55}, //AGC_THR1 RSSI tune up |
JMF | 0:2563b0415d1f | 92 | {0x53, 0x2D}, //AGC_THR2 RSSI tune up |
JMF | 0:2563b0415d1f | 93 | {0x66, 0x5F}, //ATT_RSSI1 tune up |
JMF | 0:2563b0415d1f | 94 | {0x67, 0x8F}, //ATT_RSSI2 tune up |
JMF | 0:2563b0415d1f | 95 | {0x68, 0x61}, //RSSI_OFFSET |
JMF | 0:2563b0415d1f | 96 | {0x78, 0x03}, //CHF_PMAGAIN |
JMF | 0:2563b0415d1f | 97 | {0x22, 0x50}, //CCA1_THRESH |
JMF | 0:2563b0415d1f | 98 | {0x4D, 0x13}, //CORR_NVAL moved from 0x14 to 0x13 for 0.5 dB improved Rx Sensitivity |
JMF | 0:2563b0415d1f | 99 | {0x39, 0x3D} //ACKDELAY new value targeting a delay of 198us (23 May, 2013, Larry Roshak) |
JMF | 0:2563b0415d1f | 100 | }; |
JMF | 0:2563b0415d1f | 101 | |
JMF | 0:2563b0415d1f | 102 | |
JMF | 0:2563b0415d1f | 103 | /* begin of deprecated versions |
JMF | 0:2563b0415d1f | 104 | |
JMF | 0:2563b0415d1f | 105 | ==VERSION 1== |
JMF | 0:2563b0415d1f | 106 | (version 1 is empty) |
JMF | 0:2563b0415d1f | 107 | |
JMF | 0:2563b0415d1f | 108 | ==VERSION 2== |
JMF | 0:2563b0415d1f | 109 | overwrites_t const overwrites_indirect[] ={ |
JMF | 0:2563b0415d1f | 110 | {0x31, 0x02} //clear MISO_HIZ_EN (for single SPI master/slave pair) and SPI_PUL_EN (minimize HIB currents) |
JMF | 0:2563b0415d1f | 111 | }; |
JMF | 0:2563b0415d1f | 112 | |
JMF | 0:2563b0415d1f | 113 | ==VERSION 3== |
JMF | 0:2563b0415d1f | 114 | overwrites_t const overwrites_indirect[] ={ |
JMF | 0:2563b0415d1f | 115 | {0x31, 0x02}, //clear MISO_HIZ_EN (for single SPI master/slave pair) and SPI_PUL_EN (minimize HIB currents) |
JMF | 0:2563b0415d1f | 116 | {0x91, 0xB3}, //VCO_CTRL1: override VCOALC_REF_TX to 3 |
JMF | 0:2563b0415d1f | 117 | {0x92, 0x07} //VCO_CTRL2: override VCOALC_REF_RX to 3, keep VCO_BUF_BOOST = 1 |
JMF | 0:2563b0415d1f | 118 | }; |
JMF | 0:2563b0415d1f | 119 | |
JMF | 0:2563b0415d1f | 120 | ==VERSION 4== |
JMF | 0:2563b0415d1f | 121 | overwrites_t const overwrites_direct[] ={ |
JMF | 0:2563b0415d1f | 122 | {0x3B, 0x04} //version 04 is the current version: update PA_COILTUNING default |
JMF | 0:2563b0415d1f | 123 | }; |
JMF | 0:2563b0415d1f | 124 | |
JMF | 0:2563b0415d1f | 125 | overwrites_t const overwrites_indirect[] ={ |
JMF | 0:2563b0415d1f | 126 | {0x31, 0x02}, //clear MISO_HIZ_EN (for single SPI master/slave pair) and SPI_PUL_EN (minimize HIB currents) |
JMF | 0:2563b0415d1f | 127 | {0x91, 0xB3}, //VCO_CTRL1: override VCOALC_REF_TX to 3 |
JMF | 0:2563b0415d1f | 128 | {0x92, 0x07} //VCO_CTRL2: override VCOALC_REF_RX to 3, keep VCO_BUF_BOOST = 1 |
JMF | 0:2563b0415d1f | 129 | {0x8A, 0x71} //PA_TUNING: override PA_COILTUNING to 001 (27 Nov 2012, D. Brown, on behalf of S. Eid) |
JMF | 0:2563b0415d1f | 130 | }; |
JMF | 0:2563b0415d1f | 131 | |
JMF | 0:2563b0415d1f | 132 | ==VERSION 5== |
JMF | 0:2563b0415d1f | 133 | overwrites_t const overwrites_direct[] ={ |
JMF | 0:2563b0415d1f | 134 | {0x3B, 0x05} //version 05: updates Channel Filter Register set (21 Dec 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 135 | }; |
JMF | 0:2563b0415d1f | 136 | |
JMF | 0:2563b0415d1f | 137 | overwrites_t const overwrites_indirect[] ={ |
JMF | 0:2563b0415d1f | 138 | {0x31, 0x02}, //clear MISO_HIZ_EN (for single SPI master/slave pair) and SPI_PUL_EN (minimize HIB currents) |
JMF | 0:2563b0415d1f | 139 | {0x91, 0xB3}, //VCO_CTRL1 override VCOALC_REF_TX to 3 |
JMF | 0:2563b0415d1f | 140 | {0x92, 0x07} //VCO_CTRL2 override VCOALC_REF_RX to 3, keep VCO_BUF_BOOST = 1 |
JMF | 0:2563b0415d1f | 141 | {0x8A, 0x71} //PA_TUNING override PA_COILTUNING to 001 (27 Nov 2012, D. Brown, on behalf of S. Eid) |
JMF | 0:2563b0415d1f | 142 | {0x79, 0x2F} //CHF_IBUF Adjust the gm-C filter gain (+/- 6dB) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 143 | {0x7A, 0x2F} //CHF_QBUF Adjust the gm-C filter gain (+/- 6dB) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 144 | {0x7B, 0x24} //CHF_IRIN Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 145 | {0x7C, 0x24} //CHF_QRIN Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 146 | {0x7D, 0x24} //CHF_IL Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 147 | {0x7E, 0x24} //CHF_QL Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 148 | {0x82, 0x24} //CHF_IROUT Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 149 | {0x83, 0x24} //CHF_QROUT Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 150 | {0x7F, 0x32} //CHF_CC1 Adjust the filter center frequency (+/- 1MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 151 | {0x80, 0x1D} //CHF_CCL Adjust the filter center frequency (+/- 1MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 152 | {0x81, 0x2D} //CHF_CC2 Adjust the filter center frequency (+/- 1MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 153 | }; |
JMF | 0:2563b0415d1f | 154 | |
JMF | 0:2563b0415d1f | 155 | ==VERSION 6== |
JMF | 0:2563b0415d1f | 156 | overwrites_t const overwrites_direct[] ={ |
JMF | 0:2563b0415d1f | 157 | {0x3B, 0x06} //version 06: disable PA calibration |
JMF | 0:2563b0415d1f | 158 | }; |
JMF | 0:2563b0415d1f | 159 | |
JMF | 0:2563b0415d1f | 160 | overwrites_t const overwrites_indirect[] ={ |
JMF | 0:2563b0415d1f | 161 | {0x31, 0x02}, //clear MISO_HIZ_EN (for single SPI master/slave pair) and SPI_PUL_EN (minimize HIB currents) |
JMF | 0:2563b0415d1f | 162 | {0x91, 0xB3}, //VCO_CTRL1 override VCOALC_REF_TX to 3 |
JMF | 0:2563b0415d1f | 163 | {0x92, 0x07} //VCO_CTRL2 override VCOALC_REF_RX to 3, keep VCO_BUF_BOOST = 1 |
JMF | 0:2563b0415d1f | 164 | {0x8A, 0x71} //PA_TUNING override PA_COILTUNING to 001 (27 Nov 2012, D. Brown, on behalf of S. Eid) |
JMF | 0:2563b0415d1f | 165 | {0x79, 0x2F} //CHF_IBUF Adjust the gm-C filter gain (+/- 6dB) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 166 | {0x7A, 0x2F} //CHF_QBUF Adjust the gm-C filter gain (+/- 6dB) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 167 | {0x7B, 0x24} //CHF_IRIN Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 168 | {0x7C, 0x24} //CHF_QRIN Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 169 | {0x7D, 0x24} //CHF_IL Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 170 | {0x7E, 0x24} //CHF_QL Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 171 | {0x82, 0x24} //CHF_IROUT Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 172 | {0x83, 0x24} //CHF_QROUT Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 173 | {0x7F, 0x32} //CHF_CC1 Adjust the filter center frequency (+/- 1MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 174 | {0x80, 0x1D} //CHF_CCL Adjust the filter center frequency (+/- 1MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 175 | {0x81, 0x2D} //CHF_CC2 Adjust the filter center frequency (+/- 1MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 176 | {0x64, 0x28} //PA_CAL_DIS=1 Disabled PA calibration |
JMF | 0:2563b0415d1f | 177 | }; |
JMF | 0:2563b0415d1f | 178 | |
JMF | 0:2563b0415d1f | 179 | ==VERSION 7== |
JMF | 0:2563b0415d1f | 180 | overwrites_t const overwrites_direct[] ={ |
JMF | 0:2563b0415d1f | 181 | {0x3B, 0x07} //version 07: updated registers for ED/RSSI |
JMF | 0:2563b0415d1f | 182 | }; |
JMF | 0:2563b0415d1f | 183 | |
JMF | 0:2563b0415d1f | 184 | overwrites_t const overwrites_indirect[] ={ |
JMF | 0:2563b0415d1f | 185 | {0x31, 0x02}, //clear MISO_HIZ_EN (for single SPI master/slave pair) and SPI_PUL_EN (minimize HIB currents) |
JMF | 0:2563b0415d1f | 186 | {0x91, 0xB3}, //VCO_CTRL1 override VCOALC_REF_TX to 3 |
JMF | 0:2563b0415d1f | 187 | {0x92, 0x07}, //VCO_CTRL2 override VCOALC_REF_RX to 3, keep VCO_BUF_BOOST = 1 |
JMF | 0:2563b0415d1f | 188 | {0x8A, 0x71}, //PA_TUNING override PA_COILTUNING to 001 (27 Nov 2012, D. Brown, on behalf of S. Eid) |
JMF | 0:2563b0415d1f | 189 | {0x79, 0x2F}, //CHF_IBUF Adjust the gm-C filter gain (+/- 6dB) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 190 | {0x7A, 0x2F}, //CHF_QBUF Adjust the gm-C filter gain (+/- 6dB) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 191 | {0x7B, 0x24}, //CHF_IRIN Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 192 | {0x7C, 0x24}, //CHF_QRIN Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 193 | {0x7D, 0x24}, //CHF_IL Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 194 | {0x7E, 0x24}, //CHF_QL Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 195 | {0x82, 0x24}, //CHF_IROUT Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 196 | {0x83, 0x24}, //CHF_QROUT Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 197 | {0x7F, 0x32}, //CHF_CC1 Adjust the filter center frequency (+/- 1MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 198 | {0x80, 0x1D}, //CHF_CCL Adjust the filter center frequency (+/- 1MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 199 | {0x81, 0x2D}, //CHF_CC2 Adjust the filter center frequency (+/- 1MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 200 | {0x64, 0x28}, //PA_CAL_DIS=1 Disabled PA calibration |
JMF | 0:2563b0415d1f | 201 | {0x52, 0x73}, //AGC_THR1 RSSI tune up |
JMF | 0:2563b0415d1f | 202 | {0x53, 0x2D}, //AGC_THR2 RSSI tune up |
JMF | 0:2563b0415d1f | 203 | {0x66, 0x5F}, //ATT_RSSI1 tune up |
JMF | 0:2563b0415d1f | 204 | {0x67, 0x8F}, //ATT_RSSI2 tune up |
JMF | 0:2563b0415d1f | 205 | {0x68, 0x60}, //RSSI_OFFSET |
JMF | 0:2563b0415d1f | 206 | {0x69, 0x65} //RSSI_SLOPE |
JMF | 0:2563b0415d1f | 207 | }; |
JMF | 0:2563b0415d1f | 208 | |
JMF | 0:2563b0415d1f | 209 | |
JMF | 0:2563b0415d1f | 210 | ==VERSION 8== |
JMF | 0:2563b0415d1f | 211 | overwrites_t const overwrites_direct[] ={ |
JMF | 0:2563b0415d1f | 212 | {0x3B, 0x08} //version 08: updated registers for ED/RSSI |
JMF | 0:2563b0415d1f | 213 | }; |
JMF | 0:2563b0415d1f | 214 | |
JMF | 0:2563b0415d1f | 215 | overwrites_t const overwrites_indirect[] ={ |
JMF | 0:2563b0415d1f | 216 | {0x31, 0x02}, //clear MISO_HIZ_EN (for single SPI master/slave pair) and SPI_PUL_EN (minimize HIB currents) |
JMF | 0:2563b0415d1f | 217 | {0x91, 0xB3}, //VCO_CTRL1 override VCOALC_REF_TX to 3 |
JMF | 0:2563b0415d1f | 218 | {0x92, 0x07}, //VCO_CTRL2 override VCOALC_REF_RX to 3, keep VCO_BUF_BOOST = 1 |
JMF | 0:2563b0415d1f | 219 | {0x8A, 0x71}, //PA_TUNING override PA_COILTUNING to 001 (27 Nov 2012, D. Brown, on behalf of S. Eid) |
JMF | 0:2563b0415d1f | 220 | {0x79, 0x2F}, //CHF_IBUF Adjust the gm-C filter gain (+/- 6dB) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 221 | {0x7A, 0x2F}, //CHF_QBUF Adjust the gm-C filter gain (+/- 6dB) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 222 | {0x7B, 0x24}, //CHF_IRIN Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 223 | {0x7C, 0x24}, //CHF_QRIN Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 224 | {0x7D, 0x24}, //CHF_IL Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 225 | {0x7E, 0x24}, //CHF_QL Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 226 | {0x82, 0x24}, //CHF_IROUT Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 227 | {0x83, 0x24}, //CHF_QROUT Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 228 | {0x7F, 0x32}, //CHF_CC1 Adjust the filter center frequency (+/- 1MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 229 | {0x80, 0x1D}, //CHF_CCL Adjust the filter center frequency (+/- 1MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 230 | {0x81, 0x2D}, //CHF_CC2 Adjust the filter center frequency (+/- 1MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 231 | {0x64, 0x28}, //PA_CAL_DIS=1 Disabled PA calibration |
JMF | 0:2563b0415d1f | 232 | {0x52, 0x73}, //AGC_THR1 RSSI tune up |
JMF | 0:2563b0415d1f | 233 | {0x53, 0x2D}, //AGC_THR2 RSSI tune up |
JMF | 0:2563b0415d1f | 234 | {0x66, 0x5F}, //ATT_RSSI1 tune up |
JMF | 0:2563b0415d1f | 235 | {0x67, 0x8F}, //ATT_RSSI2 tune up |
JMF | 0:2563b0415d1f | 236 | {0x69, 0x65} //RSSI_SLOPE |
JMF | 0:2563b0415d1f | 237 | {0x68, 0x61}, //RSSI_OFFSET |
JMF | 0:2563b0415d1f | 238 | {0x78, 0x03} //CHF_PMAGAIN |
JMF | 0:2563b0415d1f | 239 | }; |
JMF | 0:2563b0415d1f | 240 | |
JMF | 0:2563b0415d1f | 241 | |
JMF | 0:2563b0415d1f | 242 | ==VERSION 9== |
JMF | 0:2563b0415d1f | 243 | overwrites_t const overwrites_direct[] ={ |
JMF | 0:2563b0415d1f | 244 | {0x3B, 0x09} //version 09: updated registers for ED/RSSI and PowerStep |
JMF | 0:2563b0415d1f | 245 | {0x23, 0x17} //PA_PWR new default value |
JMF | 0:2563b0415d1f | 246 | }; |
JMF | 0:2563b0415d1f | 247 | |
JMF | 0:2563b0415d1f | 248 | overwrites_t const overwrites_indirect[] ={ |
JMF | 0:2563b0415d1f | 249 | {0x31, 0x02}, //clear MISO_HIZ_EN (for single SPI master/slave pair) and SPI_PUL_EN (minimize HIB currents) |
JMF | 0:2563b0415d1f | 250 | {0x91, 0xB3}, //VCO_CTRL1 override VCOALC_REF_TX to 3 |
JMF | 0:2563b0415d1f | 251 | {0x92, 0x07}, //VCO_CTRL2 override VCOALC_REF_RX to 3, keep VCO_BUF_BOOST = 1 |
JMF | 0:2563b0415d1f | 252 | {0x8A, 0x71}, //PA_TUNING override PA_COILTUNING to 001 (27 Nov 2012, D. Brown, on behalf of S. Eid) |
JMF | 0:2563b0415d1f | 253 | {0x79, 0x2F}, //CHF_IBUF Adjust the gm-C filter gain (+/- 6dB) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 254 | {0x7A, 0x2F}, //CHF_QBUF Adjust the gm-C filter gain (+/- 6dB) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 255 | {0x7B, 0x24}, //CHF_IRIN Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 256 | {0x7C, 0x24}, //CHF_QRIN Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 257 | {0x7D, 0x24}, //CHF_IL Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 258 | {0x7E, 0x24}, //CHF_QL Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 259 | {0x7F, 0x32}, //CHF_CC1 Adjust the filter center frequency (+/- 1MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 260 | {0x80, 0x1D}, //CHF_CCL Adjust the filter center frequency (+/- 1MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 261 | {0x81, 0x2D}, //CHF_CC2 Adjust the filter center frequency (+/- 1MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 262 | {0x82, 0x24}, //CHF_IROUT Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 263 | {0x83, 0x24}, //CHF_QROUT Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 264 | {0x64, 0x28}, //PA_CAL_DIS=1 Disabled PA calibration |
JMF | 0:2563b0415d1f | 265 | {0x52, 0x55}, //AGC_THR1 RSSI tune up |
JMF | 0:2563b0415d1f | 266 | {0x53, 0x2D}, //AGC_THR2 RSSI tune up |
JMF | 0:2563b0415d1f | 267 | {0x66, 0x5F}, //ATT_RSSI1 tune up |
JMF | 0:2563b0415d1f | 268 | {0x67, 0x8F}, //ATT_RSSI2 tune up |
JMF | 0:2563b0415d1f | 269 | {0x68, 0x61}, //RSSI_OFFSET |
JMF | 0:2563b0415d1f | 270 | {0x78, 0x03} //CHF_PMAGAIN |
JMF | 0:2563b0415d1f | 271 | }; |
JMF | 0:2563b0415d1f | 272 | |
JMF | 0:2563b0415d1f | 273 | ==VERSION A== |
JMF | 0:2563b0415d1f | 274 | overwrites_t const overwrites_direct[] ={ |
JMF | 0:2563b0415d1f | 275 | {0x3B, 0x0A} //version 0A: updated registers for CCA |
JMF | 0:2563b0415d1f | 276 | {0x23, 0x17} //PA_PWR new default Power Step is "23" |
JMF | 0:2563b0415d1f | 277 | }; |
JMF | 0:2563b0415d1f | 278 | |
JMF | 0:2563b0415d1f | 279 | overwrites_t const overwrites_indirect[] ={ |
JMF | 0:2563b0415d1f | 280 | {0x31, 0x02}, //clear MISO_HIZ_EN (for single SPI master/slave pair) and SPI_PUL_EN (minimize HIB currents) |
JMF | 0:2563b0415d1f | 281 | {0x91, 0xB3}, //VCO_CTRL1 override VCOALC_REF_TX to 3 |
JMF | 0:2563b0415d1f | 282 | {0x92, 0x07}, //VCO_CTRL2 override VCOALC_REF_RX to 3, keep VCO_BUF_BOOST = 1 |
JMF | 0:2563b0415d1f | 283 | {0x8A, 0x71}, //PA_TUNING override PA_COILTUNING to 001 (27 Nov 2012, D. Brown, on behalf of S. Eid) |
JMF | 0:2563b0415d1f | 284 | {0x79, 0x2F}, //CHF_IBUF Adjust the gm-C filter gain (+/- 6dB) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 285 | {0x7A, 0x2F}, //CHF_QBUF Adjust the gm-C filter gain (+/- 6dB) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 286 | {0x7B, 0x24}, //CHF_IRIN Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 287 | {0x7C, 0x24}, //CHF_QRIN Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 288 | {0x7D, 0x24}, //CHF_IL Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 289 | {0x7E, 0x24}, //CHF_QL Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 290 | {0x7F, 0x32}, //CHF_CC1 Adjust the filter center frequency (+/- 1MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 291 | {0x80, 0x1D}, //CHF_CCL Adjust the filter center frequency (+/- 1MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 292 | {0x81, 0x2D}, //CHF_CC2 Adjust the filter center frequency (+/- 1MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 293 | {0x82, 0x24}, //CHF_IROUT Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 294 | {0x83, 0x24}, //CHF_QROUT Adjust the filter bandwidth (+/- 0.5MHz) (21 Dec, 2012, on behalf of S. Soca) |
JMF | 0:2563b0415d1f | 295 | {0x64, 0x28}, //PA_CAL_DIS=1 Disabled PA calibration |
JMF | 0:2563b0415d1f | 296 | {0x52, 0x55}, //AGC_THR1 RSSI tune up |
JMF | 0:2563b0415d1f | 297 | {0x53, 0x2D}, //AGC_THR2 RSSI tune up |
JMF | 0:2563b0415d1f | 298 | {0x66, 0x5F}, //ATT_RSSI1 tune up |
JMF | 0:2563b0415d1f | 299 | {0x67, 0x8F}, //ATT_RSSI2 tune up |
JMF | 0:2563b0415d1f | 300 | {0x68, 0x61}, //RSSI_OFFSET |
JMF | 0:2563b0415d1f | 301 | {0x78, 0x03} //CHF_PMAGAIN |
JMF | 0:2563b0415d1f | 302 | {0x22, 0x50} //CCA1_THRESH |
JMF | 0:2563b0415d1f | 303 | }; |
JMF | 0:2563b0415d1f | 304 | |
JMF | 0:2563b0415d1f | 305 | end of deprecated versions */ |
JMF | 0:2563b0415d1f | 306 | |
JMF | 0:2563b0415d1f | 307 | |
JMF | 0:2563b0415d1f | 308 | #endif //OVERWRITES_H_ |
JMF | 0:2563b0415d1f | 309 |