7 Replies Latest reply on May 18, 2018 1:05 AM by Gyan Chand

    CYBLE-202007-EVAL disconnect frequently

    s1065003_3384576

      Hello,

      I'm trying to get CYBLE-202007-EVAL to run Find Me Profile.

      I plug the board into the CY8CKIT-042-BLE-A baseboard and communicate with CySmart.

      But after connect for an hour, it just disconnect and the reason is CONNECT_TIMEOUT.

      To extend range of BLE, I write the below code into file which I get from datasheet.

       

      /* define the test register to switch the PA/LNA hardware control pins */ 
      #define CYREG_SRSS_TST_DDFT_CTRL 0x40030008
      
      /* Mandatory events to be handled by BLE application code */ 
      case CYBLE_EVT_STACK_ON: 
      /* Configure the Link Layer to automatically switch PA control pin P3[2] and LNA control pin P3[3] */ 
      CY_SET_XTND_REG32((void CYFAR *)(CYREG_BLE_BLESS_RF_CONFIG), 0x0331); 
      CY_SET_XTND_REG32((void CYFAR *)(CYREG_SRSS_TST_DDFT_CTRL), 0x80000302);
      

       

      Does anyone have any ideas on this issue?

       

      Thanks