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