nRF5 SDK is not maintained anymore
More Info: Consider nRF Connect SDK for new designs

How to interface nrf52832 with RPI compute module 4 to send the data from nrf app to nrf52832 device and device to RPI

BLE Hello,

In my project i want to send the data from the nrf app to nrf52832 device and i don't know how to interface it with RPI compute module once the data received by nrf52832 i want to receive that data in RPI then i need to process in the RPI. off course you can ask me directly we can use the RPI BLE but i am not going to use the monitor, keyboard ..etc like headless RPI so once we connect the BLE and if we restart again we need to pair the device with RPI otherwise we can't communicate with the RPI this is the drawback i have faced and that's why i am thinking to use nrf  BLE so is it possible.?? if yes means please guide me to implement this.

thank you

Parents Reply
  • sagarnayakm said:
    i just want to send the data to nrf52 device over virtual UART like over BLE so once its received however its going to send that data to HW UART with app_uart_put() function right so can we connect those TX,RX pins to RPI TX,RX pins and we can read the data right.??

    Yes, that is what the ble_app_uart example does.https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/ble_sdk_app_nus_eval.html

    sagarnayakm said:
    So i have already done this and from nrf APP to device i can able to send the data and after this from nrf device to RPI i  am trying to push the data but its not received when i reset the nrf device data was received so what's happening i don't know please let me know what is the issue.

    I'm not sure If I understand what you mean here, but If the nRF52 is reset, it will start advertising again, and the RPi need to connect to it again to send/receive data.

Children
Related