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

how to transfer data from nRF52840DK to raspberry pi 4 without deploying bluetooth ble5 ?

hello

i want to send the data from my 5 of nRF52840DK to 1 of raspberry pi4  , i known the nRF52840dk has built-in bluetooth ble5 and raspberry pi 4 also integrate bluetooth ble5 as well

BUT i do not want to send data with the bluetooth channel ,**  i want to transfer or send data from 5 nRF52840dk to 1 raspberry pi 4  WITH CABLE ** via GPIO pin or UART or SPI , i do not  know much about those , 

 how to send data from 5 nrf52840dk to 1 raspberry pi 4 with cable connection ?

Parents
  • Hi

    1. The rule of thumb when it comes to length between wired connections is to "keep it short and simple", or KISS for short. I would strongly recommend trying to find shorter wires than 120cm, and preferably as short as possible, as that will minimize the chances for lost data. It will likely work with 120cm I would think, but by getting shorter wires you will likely save yourself from lost data packets and retransmissions.

    2. Indeed, their product page does not say much on how many peripherals/instances they have, but from what I can find (here for example) it seems to have 7 SPI instances. To make sure I would suggest contacting either Raspberry Pi or a distributor that would know for sure.

    Best regards,

    Simon

Reply
  • Hi

    1. The rule of thumb when it comes to length between wired connections is to "keep it short and simple", or KISS for short. I would strongly recommend trying to find shorter wires than 120cm, and preferably as short as possible, as that will minimize the chances for lost data. It will likely work with 120cm I would think, but by getting shorter wires you will likely save yourself from lost data packets and retransmissions.

    2. Indeed, their product page does not say much on how many peripherals/instances they have, but from what I can find (here for example) it seems to have 7 SPI instances. To make sure I would suggest contacting either Raspberry Pi or a distributor that would know for sure.

    Best regards,

    Simon

Children
  • very thanks

    i have 2 questions below

    question 1 --->except  SPI ,  with the condition for the length of wire  /cable 120 cm , ---> are there other way to send data with lesser loss or without loss ( for example such as UART or I2C or other way ) ?

    question 2   as you said , the nRF52810DK  will act as slave , for programming , once sending the data by the slave configuration of MISO ,MOSI SCLK, MOSI, CS pin to send or communicate/exchange data with the raspberry pi4

    on the side of nRF52840DK , i will have to use segger embed studio with c/c++ for programming

    however, instead to program with python or c/c++ on the side of raspberry pi4 that needs to receive or communicate /exchange data from nRF52840Dk , so -->  Will i be able to use or deploy Nodejs  to program the raspberry pi4  in order to be able to read the data that has been sent from nRF52840DK with SPI communication ??  Nodejs - SPI link and  nodejs - SPI device * note; i am new for c/c++ or python because i am app/ web developer , i ask question 2 because it deploys different method / different programming language to communicate data each other instead of using the c/c++ as the side of nRF52840DK  , i want to know if i program the raspbeery pi 4 with nodejs as the nodejs - SPI documentation on this link Nodejs - SPI link and  nodejs - SPI device , then ---> the raspberry pi4 will be able to read the data that has been sent from nRF52840dk with the slave configuration of MISO ,MOSI SCLK, MOSI, CS pin from the nRF5284DK documentation and Sumair youtube video or not  ? 

    please let me know  this question 2 as well

Related