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 Reply Children
  • 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?

  • Hi,

    No, it is not necessary to use OpenAMP. That is just a library that implements a form of interprocess communication using shared memory. You could do it yourself if you like. The advantage of using a library is that you get a robust system ready to use, though.

  • Is it possible to use ESB on nrf5340? 

  • Yes, it is possible (see the ESB samples), but it only runs on the network core.

    That it is not directly relevant for this thread, though. Pleas make a new case if you have further questions.

Related