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.

Debug mode on CC2540

Other Parts Discussed in Thread: CC2540

Hi everybody,

I designed a module using CC2540 and had some problems with Debug interface.

Reading in CC2540 user guide, I see that when the chip is activated in Debug mode, it needs to use DC, DD, RESET_N in some special states. However, in the first time, because the chip is unprogrammed, the default state of all pins are high. Therefore, I want to ask :

1. When I connect CC Debugger to CC2540 in the first time, does it work automatically in Debug mode or I need to set up something else? (In my board, after connecting, DC pin is still high level and Debugger can't recognize my chip).

2. Clock on DC pin coming from CC Debugger or my CC2540?

Thanks so much.

  • Minhtulokho Hoangtu said:

    1. When I connect CC Debugger to CC2540 in the first time, does it work automatically in Debug mode or I need to set up something else? (In my board, after connecting, DC pin is still high level and Debugger can't recognize my chip).

    The CC Debugger needs the following lines to detect the CC2540: Ground, CC2540 VDD, DD (Debug Data), DC (Debug Clock) and RESETn.

    Minhtulokho Hoangtu said:

    2. Clock on DC pin coming from CC Debugger or my CC2540?

    The DC line is driven by the CC Debugger. The DD line is bidirectional.

    --
    If this post answered your question, thank you for clicking  Verify Answer  below.