nRF5340 network core booted twice for bluetooth applications #72725
Labels
area: Bluetooth
bug
The issue is a bug, or the PR is fixing a bug
platform: nRF
Nordic nRFx
priority: low
Low impact/importance bug
Describe the bug
For nRF5340, the network core will be booted twice for Bluetooth applications. Verified on nRF5340dk_nrf5340 and nrf5340_audio_dk_nrf5340. The double boot happens as the
nrf5340_cpunet_reset.c
in the board folder will directly enable the network core, and thedrivers/bluetoooth/hci/nrf53_support.c
will enable it again usingnrf53_cpunet_mgmt
.To Reproduce
nrf5340dk_nrf5340_cpunet
.boards/nordic/nrf5340dk/nrf5340_cpunet_reset.c
introduce a small sleep after the network core has been enabled (end ofremoteproc_mgr_boot()
). This is to simulate an application where there are more systems initializing during boot time, as the bug is not seen with theperipheral_hr
sample otherwise.peripheral_hr
sample fornrf5340dk_nrf5340_cpuapp
Expected behavior
Network core is only booted once for Bluetooth applications.
Impact
This causes an issue in the audio application in NCSDK, as the RTC references will be different between the application and network core when the network core is booted twice.
Logs and console output
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: