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.

CC2640 programming issue

Other Parts Discussed in Thread: CC2650, CC2640

Hello,

I am using CC2640F128RGZR in my present project, which will works on external regulator mode (i.e. VCC as 1.8V).

Issue is that i am unable to flash/program this board with J-Link Base Jtag programmer.

Is there any need to have level shifter between my board Jtag lines and J-Link Jtag programmer (20 pin)?

Please suggest me.

Regards,

Raviteja.G

  • Hi Raviteja,

    Review the SDG Section 9.1 to properly set up your debugger.

    My guess it's a configuration issue, cJTAG should be used.

    Regards,
    -Rebel

  • Hello Rebel,

    Thanks for reply.

    You meant that there is no need of having a level shifter between my board (used TMS, TCK, TDI, DO, RST#) JTAG lines and Jlink JTAG programmer (20 pin)?

    Regards,
    Raviteja
  • Hi Raviteja,

    Generally yes - but most JTAG programmers will have internal level shifters that typically have a Vsense or a way to choose the right voltage.

    Note that the latest version (1.2) of the CC2650 Launchpad has a XDS debugger with this capability - if you can't get JLink to work, you could try that.

    Regards,
    -Rebel
  • Hi,

    Thanks.

    I made CC2640 hardware connections as external regulator mode.
    But i saw some info. as follows.

    Note that all TI software examples run with the internal DCDC regulator enabled in software, unless
    otherwise notified. When configuring the CC2640 for external regulator mode,both of the VDDS_DCDC
    and DCDC_SW pins must be connected to ground and the internal DCDC must be disabled in software.
    To disable the internal DCDC, the following changes shown below must be included in the ccfg.c file.

    //**************************************************
    // Select DC/DC during recharge
    //**************************************************
    // 0 = Use the DC/DC during recharge in powerdown, 1 = Do not use…
    //#define SET_CCFG_MODE_CONF_DCDC_RECHARGE 0x0
    #define SET_CCFG_MODE_CONF_DCDC_RECHARGE 0x1
    //**************************************************
    // Select DC/DC during active mode
    //**************************************************
    // 0 = Use the DC/DC during active mode, 1 = Do not use…
    //#define SET_CCFG_MODE_CONF_DCDC_ACTIVE 0x0
    #define SET_CCFG_MODE_CONF_DCDC_ACTIVE 0x1


    Now my que. is that before doing the flashing of controller how can i disable the internal DCDC configuration.

    Regards,
    Raviteja.G
  • Hi Raviteja,

    The chip will know it is in external regulator mode due to the grounded DCDC pins.

    Cheers,
    Fredrik