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.

Configuring IAR IDE for the CC2530; Benefit of configuring only 1 DPTR vs 2?

Other Parts Discussed in Thread: CC2530, CC2430, CC2510

Is there a similar guide for setting up IAR IDE for the CC2530 as there was for the the CC1110/CC2430/CC2510 (swru038.pdf)?

In particular, I am looking for guidance on whether it is better to use just 1 DPTR or 2, and if the latter, what the settings should be on the Options->GeneralOptions->Data Pointer tab.

Thanks,

Steve

  • Steve Gray said:
    Is there a similar guide for setting up IAR IDE for the CC2530 as there was for the the CC1110/CC2430/CC2510 (swru038.pdf)?

    I am not aware of any such app note. You should look at the example programs for CC2530. If you are using the stacks with pre-compiled libraries, it is important to use the same settings as used when building the libraries.

    Steve Gray said:
    In particular, I am looking for guidance on whether it is better to use just 1 DPTR or 2, and if the latter, what the settings should be on the Options->GeneralOptions->Data Pointer tab.

    I have tested this before, and surprisingly, 1 DPTR works better than 2 in almost all situations, both in terms of code size and execution speed. This has been discussed previously in the forums as well, see http://e2e.ti.com/support/low_power_rf/f/538/p/70206/258337.aspx#258337. As far as I know, all examples and pre-built libraries from TI use the 1 DPTR setting.