This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

customize board with nRF52840 needed to communicate via PC bluetooth

Hi All,

I am working on customized board using nRF52840 chip, I have a application which was developed using nRF development kit that communicates to my customize board.

But Right now I am not able to use the development kit and I have pc and my customized board.

So using PC's bluetooth is there any application there from nordic so that I can communicate to my board.

On board I have several peripheral I need to check.

so is it possible ?

Parents Reply Children
  • Thank you for replay.

    Yes I have installed the app and I am able to connect to board.
    But I have code to test on board using specific commands from PC.
    actually,

    on customize board to test leds, I have app from pc that talks via uard to dev. board. and dev. board was talking to customized board.

    Now, dev. board is not there, And can you tell me How Do I test via mobile app.?

    suppose, via dev. board I was sending a command (hex commands like 0x01 -> to turn led on).

    from mobile app how do I do that?

    can you have any idea?

    on mobile I found one 'nrf uart 2.0' app, but I am not able to get how do i send commands?

    Thanks,

  • You can send commands via nRF Connect for iOS or Android. Take a look at the ble app blinky testing documentation for more info. If you still have the dev kit available, I would flash the ble app blinky example from sdk 15 & test that example.

    The nrf uart app is outdated, so I would not recommend using that.

    Another option you have is to use a dongle (such as the new 52840 dongle) as an interface device between the pc & your 52840 custom device. You can then use nRF Connect for PC BLE application to connect to the custom board & write to a characteristic. I have tested with the new dongle using the newest version of nRF Connect & was easily able to write to the characteristic to turn an LED on or off. I used a nRF52 dev kit with the ble_app_blinky peripheral application from sdk 15 to test with.

     

  • Thank you very much for detailed answer.,

    But unfortunately I don't have dev kit with me, and I need to bring up the board with same chip set.

    I can also order the dongle you suggested in parallel, And It may take 2 weeks to process from my company side. AlsoI can exclude the testing of RF range as of now, I have went through the examples. So mean while to test board I have took the UART pins(i.e UART 3) and connected to PC.

    What I am thinking is to test peripherals via uart. So could point me for any examples where I can send data from UART and see the response back to PC.

    That I can modified according to my board design connection to test peripherals, (I.e I2C and SPI).

    Thanks,

  • Also I have one more query,
    Is it possible to use 52840 dongle and on dongle I flash my code ( meant for 52840-dev kit, only as communication bridge between my pc and customized board). and use it?

    Thanks,

  • Take a look at the uart example from sdk 15. If you want to experiment with BLE UART, you can take a look at this example.

    The dongle is not meant to be used as a development kit. It is a better idea to develop on a dev kit. There are a few examples in sdk 15 (just search for pca10059 under the examples folder). nRF Connect for PC will automatically program the chip using it's own connectivity firmware & be able to connect to other dev kits over ble uart for example.

Related