nRF5340 bluetooth enable

Hi ,

   I am new to this nRF5340. In peripherial UART , BLINKY, HELLO WORLD sample program is working fine. i need a support  for DF CONNECTIONLESS RX &TX to enable bluetooth i try the sample program  of  peripherial UART for reference. In this sample UART program bluetooth is enable and RRSI is calculated. i need this two functions in DF CONNECTIONLESS RX &TX. i need support thank you.

  • Hi

    Can you try explaining what exactly you need in your application? From what I can tell, it sounds like you may want (UART) logging in the Direction Finding Connectionless sample projects. Let me know if I'm wrong and specifying so I can help.

    The DF connectionless samples already use UART logging by default, so as long as you connect to the correct COM port you should be able to see logging information in any Terminal, like the nRF Terminal in our VS Code extension or PuTTY for example. 

    If it's the RSSI value you're after, the RSSI is also reported as part of the CTE once the DF Connectionless RX device has discovered the DF Connectionless TX device, and starts reporting the CTE.

    Best regards,

    Simon

  • HI

       Thanks for the reply,

        I want to connect the MOBILE APP to nRF5340 ( with  DF CONNECTIONLESS RX &TX) application. IF possible tell me some tips..

        I try to enable the Bluetooth in  DF CONNECTIONLESS RX and flash but its not connecting . say me the basic steps for enable Bluetooth in a particular application. 

        

    Setting up the transmitter Configure the CTE to set up the AoA transmitter.

    1. Enter DFEMODE.DFEOPMODE=3 to set the AoA mode.

    2. Enter DFECTRL.NUMBEROF8US=3 to set the length of the CTE to 24 µs.

    3. Enter DFECTRL.DFEINEXTENSION=1 (default) to add the CTE after the CRC.

    4. Write the TX data to the RAM. The frame shall match the required format for an advertising channel PDU (CP bit set and CTEInfo=0x18).

    5. If the SHORTS.READY_START register is enabled, enter TASKS_TXEN=1

    to start the transmitter

        Where to add this configuration and what is useage??.. 

       Thanks in advance....

  • Hi

    What "mobile app" is this? I'm afraid very few phones (if any) support CTE and Direction Finding as of now, and the nRF Connect for Android that we provide does not have Direction Finding features implemented, so I'm afraid I don't know of a way to do direction finding with current phones.

    What configuration are you asking where to add exactly?

    Best regards,

    Simon

  • HI, 

        Thanks for the reply.

         Can you list out the very few phones support  Direction Finding features as of now by that i can buy and test the codes.

  • hi, 

        If we edit the code in VSCODE its always showing error or warning. I use all latest version of SDK, TOOLCHAINS, VSCODE, nRF Connect to Desktop. While editing I refer the Peripheral UART code only. What  I am thinging  is In segger Embedded Studio we edit the code as per our requirements. But in vs code its not possible..  

Related