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