This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Data transfer between APP core and Net core.

The NRF5340 has a split architecture: with an Application Core and a Network Core.

Can we get a sample application for NRF5340 where App core and Net core exchanges data with each other ?

Basically, for example App core receives a set of inputs from Net core does some processing and send it back to Net core. 

Parents
  • Hi,

    Can we get a sample application for NRF5340 where App core and Net core exchanges data with each other ?

    The BLE examples use HCI over OpenAMP, so that is a reference of how this is done. There is no simple example demonstrating this on the nRF53, but you can refer to the implementation of Bluetooth: HCI RPMsg. You can also look at the OpenAMP Sample Application, though it does not support the nRF53 out of the box.

  • Is it necessary to use OpenAMP for inter-core communication? I have an appilcation where the App core is responsible for sampling 8 sensors and doing some digital filtering. As a simple test, I'll just send out the data with a basic protocol like ESB to another nRF5340. So I don't have many fanctions accessing the same variables. I just want the App core to signal that the sampling and filtering has finished. Then the Net core should take that data and send it out.

    I already have the IPC working, so I can signal events between cores, but I can't figure out how to share the data. I guess that I'd pass a pointer to the data from the App core to the Net core. This would only have to be done once. I just don't know how. Through a shared register?

Reply
  • Is it necessary to use OpenAMP for inter-core communication? I have an appilcation where the App core is responsible for sampling 8 sensors and doing some digital filtering. As a simple test, I'll just send out the data with a basic protocol like ESB to another nRF5340. So I don't have many fanctions accessing the same variables. I just want the App core to signal that the sampling and filtering has finished. Then the Net core should take that data and send it out.

    I already have the IPC working, so I can signal events between cores, but I can't figure out how to share the data. I guess that I'd pass a pointer to the data from the App core to the Net core. This would only have to be done once. I just don't know how. Through a shared register?

Children
Related