Configuring nRF5340 DK

Hi,

How to configure nRF5340 DK for evaluation. 

While I tried using nRF connect for desktop and while using "Quick start" tool, it only stays in the searching for device window and doesn't show any progress from there.

the tool shows a window like this and stays there. 
And while using PROGRAMMER application, it shows the device is connected, "Device is loaded and ready for further operation". But where can I find the hex files to program the device.

In short, I want to configure the device in different modes for evaluation and measure the Current consumption and RF performance of the device in those states.

please help me configure the device.

Regards,

Arun

Parents Reply
  • I was facing issues on flashing programs through VS code.

    The thing is where can I see the status of the flashed program, 

    What is the issue? Do you get any errors?

    is it TeraTerm or any other tool, this was a little unclear from the documentations.

    Yes, you can use TeraTerm.

    Also can you direct me to configure the below modes in the nRF5340 board for soc 5340.

    1, sleep

    2, BLE Advertisement

    3, BLE Scan

    4,BLE Connected 

    5,BLE TX and RX

    As mentioned, all samples will enter sleep mode during idle periods. This means the CPU will go into sleep mode between advertising and connection events. 

Children
  • Hi Vidar,
    I'm not able to see the device status in TeraTerm.

    which examples in the nRF connect can be used to put the device is advertising and connection event?


    I mean which all examples in VS Code nRF Connect can I be used to get current measuremt of nRF5340 at the above mentioned modes?

    Regards,

    Arun

  • Hi Vidar,

    I was not able to find the data sheet of nRF5340 in any of the documents. Can you please guide me where I can find the expected numbers for these BLE modes.

    Also please guide me to the examples with which I can configure these modes.

    Regards,

    Arun

  • Hi Vidar,

    Considering the above cases I've asked you on configuring,

    1, sleep
    I didn't find any example in the nRF connect in VS code, please help me configure sleep as mentioned in the product specification.


     2, BLE Advertisement
    I've only find one example,  "BLE multiple advertising sets example" that configures advertising. But the problem is, here it is configuring in such a way that connectable and unconnectable advertisings are coming together in a small interval between the intervals of advertisement that we've set. 
    I've tried disabling one case in main.c but it was not working. how to configure both connectable and unconnectable separate cases.

    3, BLE Scan

    Though I'm a little doubtful about the state this example gives. considering this scan in main.c, changing the scan interval is not working whether are changing scan window is giving desired change.

    4,BLE Connected
    this may be possible from the advertisement example and connecting usi ng nRF connect for smartphone, correct me if I'm wrong and help me configure this too.

    5, BT Tx and Rx
    yet to check, please help me configure these too.

    These are the state of my trials, please direct me in configuring these modes.

    Regards,

    Arun

  • Hi Arun,

    arun12 said:
    1, sleep
    I didn't find any example in the nRF connect in VS code, please help me configure sleep as mentioned in the product specification.

    You can select one of the BLE peripheral samples, such as peripheral_lbs, and comment out the 'advertising start'. Additionally, add CONFIG_SERIAL=n to the prj.conf. The application should then remain in the idle thread (i.e., sleep).

    arun12 said:
     2, BLE Advertisement
    I've only find one example,  "BLE multiple advertising sets example" that configures advertising. But the problem is, here it is configuring in such a way that connectable and unconnectable advertisings are coming together in a small interval between the intervals of advertisement that we've set. 
    I've tried disabling one case in main.c but it was not working. how to configure both connectable and unconnectable separate cases.

    I suggest you use the peripheral_lbs sample for this as well. You can change the advertising parameters as you wish.

    arun12 said:

    3, BLE Scan

    Though I'm a little doubtful about the state this example gives. considering this scan in main.c, changing the scan interval is not working whether are changing scan window is giving desired change.

    Could you please show how it's not working? E.g., with a picture of the PPK2 plot.

    arun12 said:
    4,BLE Connected
    this may be possible from the advertisement example and connecting usi ng nRF connect for smartphone, correct me if I'm wrong and help me configure this too.

    Yes, you can use the nRF connect app on your phone to connect to your peripheral application.

    arun12 said:
    yet to check, please help me configure these too.

    You can test sending and receiving data with the nRF connect app.

  • Hi Vidar,

    Can you help me find a reference document. I'm only seeing current numbers in the product specification which only tells about sleep numbers.

    where can I find the current values of the other mode mentioned here. I didn't find the data sheet of nRF5340 in the documents session.

    Regards,

    Arun

Related