What are the considerations when using the dual core of the nrf5340?


We made a product using nrf52840. and we are studying nrf5430 now.

Personally, I've never used dual-core, so I'm looking at how to develop it.
All of our product lines are using Bluetooth. So we'll have to use net-core.

We have low-power product lines and high-performance product lines.

1. For high-performance purposes, there is no burden on power.

so it is thought that the work can be distributed according to the peripheral devices available for the each cores.
Is there anything else to consider more good performance ?

2.How to distribute work to each core for low-power products that uses bluetooth?
is it better to use the net core as much as possible?
or, is it better to use the app core as much as possible? and net core use only for ble.
or, Is it good to divide the tasks appropriately for each core? , (For example, is it better for each core to handle its work without exchanging data as possible?)

3. Are there any considerations for data transfer between each core?

For example, it is bad to exchange data too often
It's not good to exchange too much data.

If there is anything else that can be helpful, please let me know comfortably.
If you have any document for efficient use of dual-core of nrf5340, please add a link.

thanks 

best regards

  • Hello,

    The network core is an Arm Cortex-M33 processor with a reduced feature set, designed for ultra-low-power operation. This core is used for radio communication and real time processing tasks involving low level radio protocol layers. 

    Application core is fully featured processor used for the tasks that require high performance for application-level logic. 

    Bluetooth LE controller runs on network core and Host runs on application core.

    When using IEEE 802.15.4 (for the sample nRF IEEE 802.15.4: Serialization RPMsg) on the nRF5340, run the IEEE 802.15.4 radio driver on the network core and the high-level radio stack (the host part of the Thread and Zigbee stacks) and the application logic on the application core, OpenAMp library is used to communicate with the nRF IEEE 802.15.4 radio driver serialization host that runs on a separate core like nRF5340 application core.

    We have documentation https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.2.0/nrf/ug_nrf5340.html that describes details about the samples work on these two cores, you can look at.

    Thanks.

    Best Regards,

    Kazi Afroza Sultana

Related