xref: /nrf52832-nimble/packages/NimBLE-latest/nimble/drivers/nrf52/syscfg.yml (revision 042d53a763ad75cb1465103098bb88c245d95138)
1*042d53a7SEvalZero# Licensed to the Apache Software Foundation (ASF) under one
2*042d53a7SEvalZero# or more contributor license agreements.  See the NOTICE file
3*042d53a7SEvalZero# distributed with this work for additional information
4*042d53a7SEvalZero# regarding copyright ownership.  The ASF licenses this file
5*042d53a7SEvalZero# to you under the Apache License, Version 2.0 (the
6*042d53a7SEvalZero# "License"); you may not use this file except in compliance
7*042d53a7SEvalZero# with the License.  You may obtain a copy of the License at
8*042d53a7SEvalZero#
9*042d53a7SEvalZero#  http://www.apache.org/licenses/LICENSE-2.0
10*042d53a7SEvalZero#
11*042d53a7SEvalZero# Unless required by applicable law or agreed to in writing,
12*042d53a7SEvalZero# software distributed under the License is distributed on an
13*042d53a7SEvalZero# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14*042d53a7SEvalZero# KIND, either express or implied.  See the License for the
15*042d53a7SEvalZero# specific language governing permissions and limitations
16*042d53a7SEvalZero# under the License.
17*042d53a7SEvalZero#
18*042d53a7SEvalZero
19*042d53a7SEvalZerosyscfg.defs:
20*042d53a7SEvalZero    BLE_PHY_SYSVIEW:
21*042d53a7SEvalZero        description: >
22*042d53a7SEvalZero            Enable SystemView tracing module for radio driver.
23*042d53a7SEvalZero        value: 0
24*042d53a7SEvalZero
25*042d53a7SEvalZero    BLE_PHY_CODED_RX_IFS_EXTRA_MARGIN:
26*042d53a7SEvalZero        description: >
27*042d53a7SEvalZero            This defines additional margin for T_IFS tolerance while in
28*042d53a7SEvalZero            RX on coded phy to allow maintaining connections with some
29*042d53a7SEvalZero            controllers that exceed proper T_IFS (150 usecs) by more
30*042d53a7SEvalZero            than allowed 2 usecs.
31*042d53a7SEvalZero            This value shall be only used for debugging purposes. It is
32*042d53a7SEvalZero            strongly recommended to keep this settings at default value
33*042d53a7SEvalZero            to ensure compliance with specification.
34*042d53a7SEvalZero        value: 0
35*042d53a7SEvalZero    BLE_PHY_DBG_TIME_TXRXEN_READY_PIN:
36*042d53a7SEvalZero        description: >
37*042d53a7SEvalZero            When set to proper GPIO pin number, this pin will be set
38*042d53a7SEvalZero            to high state when radio is enabled using PPI channels
39*042d53a7SEvalZero            20 or 21 and back to low state on radio EVENTS_READY.
40*042d53a7SEvalZero            This can be used to measure radio ram-up time.
41*042d53a7SEvalZero        value: -1
42*042d53a7SEvalZero
43*042d53a7SEvalZero    BLE_PHY_DBG_TIME_ADDRESS_END_PIN:
44*042d53a7SEvalZero        description: >
45*042d53a7SEvalZero            When set to proper GPIO pin number, this pin will be set
46*042d53a7SEvalZero            to high state on radio EVENTS_ADDRESS and back to low state
47*042d53a7SEvalZero            on radio EVENTS_END.
48*042d53a7SEvalZero            This can be used to measure radio pipeline delays.
49*042d53a7SEvalZero        value: -1
50*042d53a7SEvalZero
51*042d53a7SEvalZero    BLE_PHY_DBG_TIME_WFR_PIN:
52*042d53a7SEvalZero        description: >
53*042d53a7SEvalZero            When set to proper GPIO pin number, this pin will be set
54*042d53a7SEvalZero            to high state on radio EVENTS_RXREADY and back to low
55*042d53a7SEvalZero            state when wfr timer expires.
56*042d53a7SEvalZero            This can be used to check if wfr is calculated properly.
57*042d53a7SEvalZero        value: -1
58*042d53a7SEvalZero
59*042d53a7SEvalZero    BLE_PHY_NRF52840_ERRATA_164:
60*042d53a7SEvalZero        description: >
61*042d53a7SEvalZero            Enable workaround for anomaly 164 found in nRF52840.
62*042d53a7SEvalZero            "[164] RADIO: Low selectivity in long range mode"
63*042d53a7SEvalZero            This shall be only enabled for:
64*042d53a7SEvalZero            - nRF52840 Engineering A
65*042d53a7SEvalZero        value: 0
66*042d53a7SEvalZero
67*042d53a7SEvalZero    BLE_PHY_NRF52840_ERRATA_191:
68*042d53a7SEvalZero        description: >
69*042d53a7SEvalZero            Enable workaround for anomaly 191 found in nRF52840.
70*042d53a7SEvalZero            "[191] RADIO: High packet error rate in BLE Long Range mode"
71*042d53a7SEvalZero            This shall be only enabled for:
72*042d53a7SEvalZero            - nRF52840 Engineering B
73*042d53a7SEvalZero            - nRF52840 Engineering C
74*042d53a7SEvalZero            - nRF52840 Rev 1 (final silicon)
75*042d53a7SEvalZero        value: 1
76