Easily add all supported connectivity methods to your mbed OS project

Dependencies:   type-yd-driver

Committer:
MACRUM
Date:
Wed Jul 12 10:52:58 2017 +0000
Revision:
0:615f90842ce8
Initial commit

Who changed what in which revision?

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