How to add custom hci_rpmsg message ?

Is there any example of adding custom hci_rpmsg message ?  I want to send three numbers(x, y, z) coordinate from NetCore to AppCore using hci_rpmsg through shared memeory. Thanks

Parents
  • Hi,

    Are you looking to alter the existing hci_rpmsg sample to add this functionality, or are you looking to write a net-core application which uses the rpmsg service to send data to the app-core application?

    For the second situation there is a sample at zephyr/samples/subsys/ipc/rpmsg_service which should cover that.

  • Having both     CONFIG_BT=y    and  CONFIG_RPMSG_SERVICE=y  in prj.conf  will cause IRQ conflict in building sw

    gen_isr_tables.py: error: multiple registrations at table_index 42 for irq 42 (0x2a)
    Existing handler 0xa087, new handler 0xa087
    Has IRQ_CONNECT or IRQ_DIRECT_CONNECT accidentally been invoked on the same irq multiple times?

    I need BT because the bluetooth radio is attached to the NetCore of nrf5340.  The blue tooth sw stack  may be using RPMSG and I need RPMSG_SERVICE to send my own data from peripheral attached to NetCore too.

Reply
  • Having both     CONFIG_BT=y    and  CONFIG_RPMSG_SERVICE=y  in prj.conf  will cause IRQ conflict in building sw

    gen_isr_tables.py: error: multiple registrations at table_index 42 for irq 42 (0x2a)
    Existing handler 0xa087, new handler 0xa087
    Has IRQ_CONNECT or IRQ_DIRECT_CONNECT accidentally been invoked on the same irq multiple times?

    I need BT because the bluetooth radio is attached to the NetCore of nrf5340.  The blue tooth sw stack  may be using RPMSG and I need RPMSG_SERVICE to send my own data from peripheral attached to NetCore too.

Children
Related