This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF5340 question (VTOR and shared peri)

I am developing application for nRF5340.
I have two questions.

1. What value VTOR when reset?
    ApplicationCore'VTOR==0x00000000/NetworkCore'VTOR==0x01000000 ?

2. How to use shared(?)-periheral?
   When set DCNF.EXTPERI[0] to '1', NetworkCore can use ApplicationCore's peripheral?
   When yes, how to use that? (IO-access, interrupt)

Parents
  • Hi,

    ApplicationCore'VTOR==0x00000000/NetworkCore'VTOR==0x01000000 ?

    That is correct.

    NetworkCore can use ApplicationCore's peripheral?

    Yes, that is correct. But this use-case is not facilitated/supported in Zephyr as of today.

    A typical use-case is to implement your application on the application core, use the application peripheral there, and then use IPC to communicate with the network core. See this link for more information.

    Quote:

    Communication between the application core and the network core happens through a shared memory area. The application core memory is mapped to the network core memory map. This means that the network core can access and use the application core memory for shared memory communication.

    Interprocessor Communication (IPC) is used to indicate to the other core that there is new data available to pick up. The actual data exchange is handled by Open Asymmetric Multi Processing (OpenAMP).

    If you want to test e.g. Bluetooth, you can flash the hci_rpmsg sample to the network core (board name is nrf5340_dk_nrf5340_cpunet), and e.g. peripheral_uart to the application core (board name nrf5340_dk_nrf5340_cpuapp). In that case, you will have this type of architecture:

Reply Children
No Data
Related