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 again

    1. Yes, I would recommend the nRFs acting as slaves and the Raspberry as the master.

    2. You should make sure that the Raspberry has enough SPI instances though, or else it won't be able to communicate with all five nRF52 DKs at the same time. From what I can see here, this won't be a problem as it seems to have 7(!) SPI instances SPI0-SPI6. Each DK should be connected to its own set of GPIOs that are configured to one SPI instance each.

    3. Sumair's tutorial videos are pretty good, and I see that he has a part 36 B going deeper into how using SPI communication here. We don't have much official tutorials on basic SPI projects, as the SPI slave example and driver documentation should be sufficient.

    Best regards,

    Simon

Reply
  • Hi again

    1. Yes, I would recommend the nRFs acting as slaves and the Raspberry as the master.

    2. You should make sure that the Raspberry has enough SPI instances though, or else it won't be able to communicate with all five nRF52 DKs at the same time. From what I can see here, this won't be a problem as it seems to have 7(!) SPI instances SPI0-SPI6. Each DK should be connected to its own set of GPIOs that are configured to one SPI instance each.

    3. Sumair's tutorial videos are pretty good, and I see that he has a part 36 B going deeper into how using SPI communication here. We don't have much official tutorials on basic SPI projects, as the SPI slave example and driver documentation should be sufficient.

    Best regards,

    Simon

Children
  • very thanks from your answer

    about the raspberry pi 4 multiple spi is the good choice as your link , however i do not have it in my hand now ,cause the raspbery pi 4 sold out from online store from official raspberry pi 4 website

    question 1 . --> my case after watching the youtube video from sumair 's tutorial , he said , the wire cable max length should be not over 3 feet (90 cm) **** my case is 120 - 150 cm or 4 - 5 feet  max length ,  is it still ok with the length 4 - 5 feet -->between raspberry pi and nRF52840dk ??

    question 2  --> https://www.adafruit.com/product/4292 ---> regarding to  this link , i am not sure . i do not know the raspberry pi 4 model B 2 GB as you see in this link , it will be RASPBERRY PI 4 MULTIPLE SPIs  that has 7 SPIs as your previous answer  or  not ??

Related