How can I send data from nRF5340 to Raspberry Pi? Do I need nRF52840 Dongle dongle attached to raspberry pi? What functions should be used to send from nRF5340 and receive on Raspberry Pi?
How can I send data from nRF5340 to Raspberry Pi? Do I need nRF52840 Dongle dongle attached to raspberry pi? What functions should be used to send from nRF5340 and receive on Raspberry Pi?
If you meant through the air with rf then you can also use Bluetooth from nRF5340 to raspberry pi.
See the discussion here devzone.nordicsemi.com/.../how-to-send-string-message-from-nrf52840-to-raspberry-pi
Alternatively, you could use openthread, which has the advantage of being able to send messages to every internet device not only the raspberry pi, then you'd need a dongle such as the nRF52840 Dongle.
If your RPi has support for Bluetooth then you can use that to communicate between the two devices. Like wass proposed.
Regards,
Jonathan
Thanks for reply. Yes, RPi has bluetooth. Please provide link to code/example for nrf5340 and RPi (i.e. how to accept data in RPi).
In the ticket I mentioned there was a detailed explanation with a link to the bluetooth sample.
If you're not familiar with the SDK, the first thing to do would be to take the time to explore it and figure out which samples it has and how to compile them with which target.
Now when it comes to the Raspberry pi, it no longer relates to which uC you're using as Bluetooth is a standard, so you might find more help on either of Raspberry pi forums or standard linux bluetooth applications depending on the distribution you're using.
I also recommend first to get familiar with bluetooth and GATT by following some tutorials web/video or existing books or courses.
here's an example learn.adafruit.com/.../gatt
Ok thanks. Is the source code for the Heart Rate Monitor (HRM) demo application available as described in link infocenter.nordicsemi.com/index.jsp