This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2340R5: basic_ble app example doesnt work in custom board , whereas the same program works correctly in TI Dev board

Part Number: CC2340R5
Other Parts Discussed in Thread: SYSCONFIG,

The Application seems to be crashing repeatedly , require help to check if this is a H/W or F/W issue

  • Hi,

    Thank you for reaching out. When migrating to a custom board, you will need to perform SysConfig modifications and update the pin mappings as required based on your custom design. In SysConfig, you should change the board to "Use Custom Board" and update your pin mappings based on how you designed your board. The following section of the user's guide provides some detail with regards to how to migrate to custom hardware from a launchpad.

    https://dev.ti.com/tirex/content/simplelink_lowpower_f3_sdk_9_14_01_16/docs/ble5stack/ble_user_guide/html/cc23xx/custom-hardware-cc23xx.html#custom-hardware

    Best Regards,

    Jan

  • Hello Jan , Appreciate the response                                                                                                                                                                                                  1)I Did convert the basic ble program to work with the custom board , and modified them to fit my requirements                                                                            2)Second thing I noticed is when I try and flash the board the following warning pops up :

    [1/24/2026, 4:27:52 PM] [INFO] Cortex_M0P: DEVICEID.VERSION (DEVICEID[31:28]) '0x1' unknown for selected target. Assuming latest known revision: Rev. A (1.0).
    [1/24/2026, 4:27:52 PM] [INFO] Cortex_M0P: DEVICEID.VERSION (DEVICEID[31:28]) '0x1' unknown for selected target. Assuming latest known revision: Rev. A (1.0).
    [1/24/2026, 4:27:52 PM] [INFO] Cortex_M0P: DEVICEID.VERSION (DEVICEID[31:28]) '0x1' unknown for selected target. Assuming latest known revision: Rev. A (1.0).
    [1/24/2026, 4:27:52 PM] [INFO] Cortex_M0P: DEVICEID.VERSION (DEVICEID[31:28]) '0x1' unknown for selected target. Assuming latest known revision: Rev. A (1.0)

    3)I have tried configuring the internal RC oscillator too however I still cannot find the device on the serial Bluetooth scanner , The question I have here is am I flashing incorrectly from XDS 110 (via TMS , TCK , RST )to the custom board causing corruption in the custom board hence affecting the board and the ble stack  could this be a possibility?

  • Hi,

    As a quick test, can you try running a drivers only example like the uart2callback or the gpiointerrupt example on your custom board? I would like to ensure that your custom board is working as expected. You will also need to do the custom board migration on these examples and update the pins accordingly.

    Best Regards,

    Jan

  • Hi Jan , After changing the DC-DC Setting to GLO , the microcontroller is working fine we tested with LED and I2C peripheral is working correctly ,                                                       

    However , the BLE Mac address is still 00:00:00:00:00:00  and its not advertising its name or address to external devices .                                                                                            

    Could you suggest anything I could check from the firmware perspective?

    Thanks & Regards ,

    Vinay

  • Hi Vinay,

    Can you share how you are seeing the address? Is this showing up in UART?

    Best Regards,

    Jan

  • I Have uploaded images of the same program in both the Custom Board & Dev Board , with the code snippet below 

    I have enabled Public address in Sysconfig and yet a valid mac address is not being generated .

    Code Snippet :                                                                                                                                                                                                                                     

       uint8_t *pGapAddr = GAP_GetDevAddress(TRUE);
        if (pGapAddr != NULL)
        {
            sprintf(buf, "GAP MAC: %02X:%02X:%02X:%02X:%02X:%02X\r\n",
                    pGapAddr[5], pGapAddr[4], pGapAddr[3], pGapAddr[2], pGapAddr[1], pGapAddr[0]);
            debugPrint(buf);
        }
        else
        {
            debugPrint("GAP MAC: Failed to read (Stack likely needs init)\r\n");
        }

  • Hello Jan ,FYI I have already tried using Random static address ,

    Could you please suggest , anything else we can do?

    Thanks & Regards

  • Hi,

    Thank you for sharing your testing methodlogy. Do you have another custom board to test? I would like to check if the issue is specific to the IC on your custom board or if it happens with multiple ICs.

    Best Regards,

    Jan

  • Hello Jan ,

    I have checked in two different boards the behavior is the same .

    What else can we do to get to the root cause of the issue?

    Thanks and Regards ,

    Vinay

  • Could you please confirm do we need to supply VDDR pin for Radio /BLE Stack to work ,

    Thanks & Regards.

  • Hi Vinay,

    The VDDR pin should be wired as is shown in our LP-EM-CC2340R5 reference design (found here: https://www.ti.com/tool/LP-EM-CC2340R5)

    Best Regards,

    Jan