Quantcast
Viewing all articles
Browse latest Browse all 262198

CC2640: Connection Failing at Link Level - Need Experienced BLE Stack help

Part Number:CC2640


** I need someone with BLE Link-Layer Stack knowledge for this **

I have a 2640F128 OEM board that advertises but fails to connect during the simple_peripheral project.
I use the CC2650DK_4XS predefine as the board has the RSM package.  
I am using ble_sdk_2_02_01_18.

Trying to connect with BLE Scanner (or any Android app) is unsuccessful and I get the following sequence:


GAP Message History :
0 - GAP_DEVICE_INIT_DONE_EVENT
2 - GAP_ADV_DATA_UPDATE_DONE_EVENT
2 - GAP_ADV_DATA_UPDATE_DONE_EVENT
3 - GAP_MAKE_DISCOVERABLE_DONE_EVENT
--------------------------------------(Advertising)

--------------------------------------(Try to connect from BLE Scanner App)
5 - GAP_LINK_ESTABLISHED_EVENT
6 - GAP_LINK_TERMINATED_EVENT*          pPkt->reason = 0x3E  = LL_STATUS_ERROR_CONN_FAILED_TO_BE_ESTABLISHED
3 - GAP_MAKE_DISCOVERABLE_DONE_EVENT


* Sometimes the GAP_LINK_TERMINATED_EVENT does not happen and the attempt times out with LL_SUPERVISION_TIMEOUT_TERM.
Schematic is attached.


I NEED TO FIND OUT:

1) What are the causes of LL_STATUS_ERROR_CONN_FAILED_TO_BE_ESTABLISHED.  CRC issues possibly?  

2) Could there be HW setup causing this, such as incorrect Clock setup?

3) Can you tell from the schematic which antenna configuration I should be using?  
   Currently I am using  (RF_FE_DIFFERENTIAL |  RF_FE_INT_BIAS).

The antenna itself is single ended but since it goes through a Balun and enters the CPU at both antenna points I selected differential.

I tries other antenna selections with no results.


Thanks,
Mark

(Please visit the site to view this file)


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>