Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bluetooth: Controller: nRF54Lx: Use NRF_GRTC for radio scheduling #74183

Merged
merged 20 commits into from
Aug 30, 2024

Commits on Aug 28, 2024

  1. Bluetooth: Controller: Fix BT_CTLR_EARLY_ABORT_PREVIOUS_PREPARE depends

    Fix BT_CTLR_EARLY_ABORT_PREVIOUS_PREPARE Kconfig depends on.
    
    Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
    cvinayak committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    b71ab0b View commit details
    Browse the repository at this point in the history
  2. Bluetooth: Controller: Fix sw switch single timer for spurious TXEN/RXEN

    Fix software tIFS switching using single timer from
    triggering spurious TXEN/RXEN if the first remainder is
    shorter than the tIFS delay calculated in the sw_switch()
    function.
    
    Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
    cvinayak committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    4266c3d View commit details
    Browse the repository at this point in the history
  3. Bluetooth: Controller: Fix ext conn create when using single timer

    Fix Extended Connection Creation when using single timer
    feature in the Controller.
    
    Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
    cvinayak committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    7bd9da3 View commit details
    Browse the repository at this point in the history
  4. Bluetooth: Controller: Refactor sw_switch hal interface use

    Refactor sw_switch hal interface use and document why some
    PPI/DPPI channel group related subscriptions are not
    disabled explicitly.
    
    Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
    cvinayak committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    b5ea478 View commit details
    Browse the repository at this point in the history
  5. Bluetooth: Controller: Remove redundant HAL_TICKER_CNTR_CLK_FREQ_HZ

    Remove redundant HAL_TICKER_CNTR_CLK_FREQ_HZ define.
    
    Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
    cvinayak committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    7ecf622 View commit details
    Browse the repository at this point in the history
  6. Bluetooth: Controller: Add HAL_TICKER_TICKS_TO_US_64BIT define

    Add HAL_TICKER_TICKS_TO_US_64BIT define, to return
    microsecond value in 64-bits.
    
    Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
    cvinayak committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    1e6244d View commit details
    Browse the repository at this point in the history
  7. Bluetooth: Controller: Ticker support for free running counter

    Add ticker implementation support for free running counter
    use.
    
    Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
    cvinayak committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    1ecbeb7 View commit details
    Browse the repository at this point in the history
  8. Bluetooth: Controller: nRF54Lx: Port for data whitening register use

    nRF54Lx have updated Data Whitening register settings, add
    implementation to correctly set them up.
    
    Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
    cvinayak committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    837de42 View commit details
    Browse the repository at this point in the history
  9. Bluetooth: Controller: nRF54Lx: Use NRF_GRTC for radio scheduling

    Use NRF_GRTC, Global real-time counter, instead of NRF_RTC.
    
    NRF_GRTC is present in a different power domain in the SoC.
    Also, NRF_GRTC provide microsecond resolution timing units,
    in the future use of NRF_TIMER for packet timer can also be
    replaced.
    
    Use of NRF_RTC would keep Radio power domain ON in addition
    to already ON NRF_GRTC's power domain, hence switch to using
    NRF_GRTC on nRF54Lx SoC to have lower power consumptions.
    
    Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
    cvinayak committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    8d07bc5 View commit details
    Browse the repository at this point in the history
  10. Bluetooth: Controller: nRF54Lx: Support Radio fast ramp up

    Add support for Radio fast ramp up for nRF54Lx SoCs.
    
    Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
    cvinayak committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    d781e6d View commit details
    Browse the repository at this point in the history
  11. samples: Bluetooth: hci_uart: Add preliminary DF support for nrf54l15pdk

    Add preliminary direction finding support building hci_uart
    sample for nrf54l15pdk.
    
    Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
    cvinayak committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    2016dd1 View commit details
    Browse the repository at this point in the history
  12. Bluetooth: Controller: nRF54Lx: Review rework GRTC support

    Review rework GRTC support for nRF54Lx SoCs.
    
    Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
    cvinayak committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    385ce38 View commit details
    Browse the repository at this point in the history
  13. Bluetooth: Controller: nRF54Lx: Use nrfx interface for bsim use (1/4)

    Use nrfx interface for register access with sideeffects to
    facilitate bsim use.
    
    4 part commits:
    1. Add nrf_grtc interface.
    2. Remove CMSIS interface use.
    3. Add nrf_grtc interface, once missing bsim port available.
    4. Remove CMSIS interface use, replaced by bsim port.
    
    Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
    cvinayak committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    8500a53 View commit details
    Browse the repository at this point in the history
  14. Bluetooth: Controller: nRF54Lx: Use nrfx interface for bsim use (2/4)

    Use nrfx interface for register access with sideeffects to
    facilitate bsim use.
    
    Remove CMSIS interface use, was replaced with nrf_grtc
    interface in previous commit.
    
    4 part commits:
    1. Add nrf_grtc interface.
    2. Remove CMSIS interface use.
    3. Add nrf_grtc interface, once missing bsim port available.
    4. Remove CMSIS interface use, replaced by bsim port.
    
    Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
    cvinayak committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    f224dda View commit details
    Browse the repository at this point in the history
  15. Bluetooth: Controller: nRF54Lx: Use nrfx interface for bsim use (3/4)

    Use nrfx interface for register access with sideeffects to
    facilitate bsim use.
    
    4 part commits:
    1. Add nrf_grtc interface.
    2. Remove CMSIS interface use.
    3. Add nrf_grtc interface, once missing bsim port available.
    4. Remove CMSIS interface use, replaced by bsim port.
    
    Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
    cvinayak committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    1e0c4a4 View commit details
    Browse the repository at this point in the history
  16. Bluetooth: Controller: nRF54Lx: Use nrfx interface for bsim use (4/4)

    Use nrfx interface for register access with sideeffects to
    facilitate bsim use.
    
    Remove CMSIS interface use, was replaced with nrf_grtc,
    nrf_dppic and nrf_ppib interface in previous commit.
    
    4 part commits:
    1. Add nrf_grtc interface.
    2. Remove CMSIS interface use.
    3. Add nrf_grtc interface, once missing bsim port available.
    4. Remove CMSIS interface use, replaced by bsim port.
    
    Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
    cvinayak committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    d914c2c View commit details
    Browse the repository at this point in the history
  17. Bluetooth: Controller: nRF54Lx: Use SW_SWITCH_SINGLE_TIMER

    Use SW_SWITCH_SINGLE_TIMER for nRF54Lx so that fast ramp
    can be used, and hence support assymmetric PHYs in ACL
    connections.
    
    nRF54Lx radio domain does not have second timer instance
    to efficiently implement software switch unless a second
    time is used from a different power domain needed use of
    PPIB for the double buffered switch timer compares.
    
    Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
    cvinayak committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    5210074 View commit details
    Browse the repository at this point in the history
  18. Bluetooth: Controller: nrf54L15bsim: Use NRF_GRTC

    Use NRF_GRTC in nrf54l15bsim board builds.
    
    Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
    cvinayak committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    3050e06 View commit details
    Browse the repository at this point in the history
  19. Revert "tests/bsim: Provisionally disable the nrf54l15 BT tests"

    This reverts commit 3d72998.
    
    Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
    cvinayak committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    e9f6c8e View commit details
    Browse the repository at this point in the history
  20. tests: bsim: Bluetooth: central_hr_peripheral_hr for nrf54l15bsim

    Enable central HR peripheral HR samples for nrf54l15bsim.
    RealEncryption is BabbleSIM is not enabled as nRF54L port
    in Zephyr Controller is not yet supported and the test is
    also not using security (SMP pairing).
    
    Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
    cvinayak committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    d1293ae View commit details
    Browse the repository at this point in the history