NRF5340 Hello World APP+NET Core

Hi,

I just started with working on the Zephyr and nrf5340. I am trying to build an application where the app core prints ("Hello World from APP core") and the net core prints ("Hello World from NET core"). I was also able to go through the multicore/helloworld example but it doesn't seem to be useful enough to help out differentiate the source code for APP and NET core. It just combines both of them. 

In future I'd be making application where the I2C part will be taken care by the app core and the BLE part would be taken care by the net core. For now I just want to have two images which prints hello world from their respective cores. Is there any sample application someone can share? There seems to be no application or sample where there is segregation between source code for both the cores.

Thanks

Regards

  • Hi,

    The most common architecture for using BLE on the nRF5340 is to run the Bluetooth controller on the network core, and the Bluetooth host on the application core along with the other application code. Please refer to the Split Controller and Host' section of the SDK documentation for more details.

    In future I'd be making application where the I2C part will be taken care by the app core and the BLE part would be taken care by the net core. For now I just want to have two images which prints hello world from their respective cores. Is there any sample application someone can share? There seems to be no application or sample where there is segregation between source code for both the cores.

    The Bluetooth controller (Bluetooth: HCI RPMsg is automatically included as a child image when you build a Bluetooth example for the 'nrf5340dk_nrf5340_cpuapp' board using the SDK's support for Multi-image builds. You can browse the source code for this child-image by selecting it here in the UI:

    Regards,

    Vidar

Related