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.

CC2640R2F: How to detecte GPIO state to enter PTM on WCSP package?

Part Number: CC2640R2F

Hi,

My customer based on this link to add PTM feature into project.

C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/docs/blestack/ble_user_guide/html/ble-stack-3.x/creating-a-custom-bluetooth-low-energy-application.html

chapter "Using Production Test Mode (PTM)"

Basically the PTM mode is working on CC2640R2F launchpad. We use DIO4 to switch PTM/SimplePeripherial example and success on launchpad.

Then we added WCSP configuration to test on launchpad DIO4 (Connect DIO4 to GND to pull low then reset).

But it always enter PTM mode, not able to SWITCH mode via DIO4 as expected.

Any idea how to let it work on WCSP package and verified on launchpad?

CODE:

  • Hi,

    Thanks for reaching out! We will look into this and get back to you shortly. To help us better support you, could you confirm you are currently using SDK 5.30 and share what example project, if any, is being used for testing?

    Best regards,

    Luke

  • Yes, we are using SDK 5.3 example project just simpleperipherial example in ble folder.

  • Hi Aichi,

    For sanity, could you please confirm using the debugger to check whether the GPIO_read() function executed in the code snippet you have shared always returns 0?

    Assuming the GPIO_read() function always returns 0, please verify the configuration of the GPIO and the hardware design on this pin.

    Best regards,