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
  • Hi Arun,

    This app is currently only support for the nRF91 series. This is why your nRF5340 DK shows up as unsupported.

    To get started, I recommend going through the SDK fundamentals course at https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/. You will need to install the SDK to build and configure the hex files you want

    Best regards,

    Vidar

  • Hi Vidar,

    Aint the programmer come as part of the nRF Connect? 
    on opening programmer from nRF Connect I'm getting the below window. 

    Also while trying to use the "Bluetooth Low Energy" Tool in nRF connect, I'm getting this below window saying, "Error occured when opening port. Errorcode: NRF_ERROR_TIMEOUT (0xd)",

    How to resolve this and execute programs to configure the chip in BLE modes?

    Basically, what I'm looking for is to configure the chip's BT/BLE modes at first.

    Regards,

    Arun

  • Hi Vidar, 
    one more doubt I was trying to configure the connection interval in periheral_lbs example in gap.h file.

    but it is not setting the connection interval right.

    #define BT_GAP_INIT_CONN_INT_MIN                0x0320  /* 1s    */
    #define BT_GAP_INIT_CONN_INT_MAX                0x0320 /* 1s    */
    how to set the connection interval to 1?

    by setting below parameters, I was able to set advertisement to 1second,\

    #define BT_GAP_ADV_FAST_INT_MIN_1               0x0640  /* 1s    */
    #define BT_GAP_ADV_FAST_INT_MAX_1               0x0640  /* 1s    */
    #define BT_GAP_ADV_FAST_INT_MIN_2               0x0640  /* 1000 ms   */
    #define BT_GAP_ADV_FAST_INT_MAX_2               0x0640  /* 1000 ms   */
    aslso like you suggsted peripheral_lbs program for sleep, advertisement and connected case. can you tell me which program can be used for Scan, RX and TX?
    Regards,
    Arun
  • Hi Arun,

    The BT_GAP_* symbols in gap.h define common default values for use by the application. This file should not be modified.

    The connection interval is ultimately determined by the GAP central connecting to your device. However, you can request a specific connection interval or range from the central by adding the following symbols to your prj.conf file:

    - CONFIG_BT_PERIPHERAL_PREF_MAX_INT

    - CONFIG_BT_PERIPHERAL_PREF_MIN_INT

    If you want to measure the connection events, you can connect to the peripheral from an Android or iOS app with our nRF Connect app.

    Regards,

    Vidar

  • Hi Vidar,
    Thank you for the response. But on changing the parameters in gap.h for advertisement interval, it was working,

    #define BT_GAP_ADV_FAST_INT_MIN_1               0x0640  /* 1s    */
    #define BT_GAP_ADV_FAST_INT_MAX_1               0x0640  /* 1s    */
    #define BT_GAP_ADV_FAST_INT_MIN_2               0x0640  /* 1000 ms   */
    #define BT_GAP_ADV_FAST_INT_MAX_2               0x0640  /* 1000 ms   */

    is this why I'm facing issue in changing scan parameters as well?
    can you please suggest programs to execute scan, RX 100% and TX 100% cases?
    Regards,
    Arun
  • Hi Arun,

    arun12 said:
    Thank you for the response. But on changing the parameters in gap.h for advertisement interval, it was working,

    It's not that it doesn't work, but you should generally avoid modifying source files in the SDK tree. When you change this definition, it will change the advertising interval not just for your project, but also for any other project using the same symbol.

  • Got it, but what I'm looking for is to set the connection interval to a set rate just like how I set advertising interval. 

    for which it is not working for me whether editing gap.h or  "CONFIG_BT_PERIPHERAL_PREF_MAX_INT" in prj.conf. Is there any way I can set connection interval, through any other example or any other method?

    also please suggest me the examples to configure the device in scan, tx and rx modes.

    Regards,

    Arun

Reply
  • Got it, but what I'm looking for is to set the connection interval to a set rate just like how I set advertising interval. 

    for which it is not working for me whether editing gap.h or  "CONFIG_BT_PERIPHERAL_PREF_MAX_INT" in prj.conf. Is there any way I can set connection interval, through any other example or any other method?

    also please suggest me the examples to configure the device in scan, tx and rx modes.

    Regards,

    Arun

Children
Related