Is there an example of how to develop an application using the nRF5340 demonstrating how to use the two cores when developing an application? I am using the nRF Connect for VSCode add-in.
I have read Developing with nRF5340 DK where it introduces the network core and application core and it briefly covers inter-core communication and I see there is a Synchronized RTC sample which shows "how RTC clocks used for system clock on application and network core are synchronized".
I have looked through the overview of the nRF5340 DK support in Zephyr and the nRF5340 Product Specification but didn't get a clear understanding of what I need to do to take advantage of the two cores. I have also read Working with nRF5340.
I read this post which leads to a blog showing how to flash two sample applications to different cores: the HCI RPMsg on the network core and the Peripheral LBS on the application core.
What I do not understand is how the code needs to change in the peripheral_lbs and HCI RPMsg? Does the HCI RPMsg receive the bluetooth communication and pass it off to peripheral_lbs? How does it work? I don't see any Service or Characteristic derinitions in the RPMsg code.
I've been building my application using the cpuapp and don't know if there is anything I need to do on the net side.