Radio notifications on nRF5340?

Hi,

I have successfully used radio notifications in an nRF52840 app that I'm porting to nRF5340. Looking at the CONFIG_MPSL configuration option, it seems radio notifications are only available in the nRF53 net core build, whereas I would like to use them from my app core code. Is there a way of doing this?

Thanks

Parents
  • Hi

    Since the nRF5340 has the radio controller on the network core, the radio notifications aren't directly available on the APP core (host). The options you have for the nRF5340 will therefore be:

    1. Compile both host and controller on the NET core, and let the APP core run a simple "empty_app_core" sample on it. Not viable for larger solutions that won't fit on the NET core alone.

    2. Implement the radio notification callback on the NET core, and signal to the APP core whenever it has been triggered, you could possibly implement a vendor-specific HCI event and pass it onto the host through the bt_recv() function, or trigger an interrupt on the application core somehow. We don't have a sample of doing this I'm afraid.

    3. Use the "connected()" callback on the host side, which will be triggered as soon as the link is established, and before the first radio event due to this link being established.

    Best regards,

    Simon

Reply
  • Hi

    Since the nRF5340 has the radio controller on the network core, the radio notifications aren't directly available on the APP core (host). The options you have for the nRF5340 will therefore be:

    1. Compile both host and controller on the NET core, and let the APP core run a simple "empty_app_core" sample on it. Not viable for larger solutions that won't fit on the NET core alone.

    2. Implement the radio notification callback on the NET core, and signal to the APP core whenever it has been triggered, you could possibly implement a vendor-specific HCI event and pass it onto the host through the bt_recv() function, or trigger an interrupt on the application core somehow. We don't have a sample of doing this I'm afraid.

    3. Use the "connected()" callback on the host side, which will be triggered as soon as the link is established, and before the first radio event due to this link being established.

    Best regards,

    Simon

Children
No Data
Related