Part Number: CC2652R
Other Parts Discussed in Thread: CC2652P, CC2642R,
I'm trying to get a BLE connection to a custom device using a CC2652P1 MCU. It is advertising as expected and when a connection is attempted I can see (via debugger) that the GAP_LINK_ESTABLISHED_EVENT is sent, followed shortly by a GAP_LINK_TERMINATED_EVENT. When paused the ROV plug-in doesn't find any errors when I do a BIOS -> Scan for errors and I don't see anything that looks bad in the other areas of it that I can tell.
Using:
- Code Composer Studio v11.1 (macOS)
- simple_peripheral_app_CC26X2R1_LAUNCHXL_tirtos_ccs (with changes in the syscfg for differing pins)
- XDCTools 3.61.0.16_core
- SimpleLink CC13x2 26x2 SDK, v3.30.0.03
I've also tried with the simple peripheral example from/using the latest version of the SimpleLink SDK (5.40.0.40), but it doesn't even get to the advertisement stage (it hits a fault during startup). The project I'm actually trying to get to work uses the 3.30 SDK (and that project exhibits the same behavior as described initially).
I have read the "Debugging" section of the "SimpleLink CC13x2 / CC26x2 SDK BLE5-Stack User's Guide" and applied what I could. Unfortunately, the UART interface is not working on this board so I'm a bit constrained by needing to set breakpoints to see what is going on.
Do you have any recommendations on how to debug further on this?