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.

cc2540 adc and gpio pins

Other Parts Discussed in Thread: CC2540

Hi

I am trying to use adc on cc2540 mini dk. I have just tried to drive gpio pins prior to that. I have tried to drive pins P0_6 and P0_7 high. But I never get a high on these pins. But I can keep the green led on by driving P1_0 high. Why is this?

  • the debug log window says

    Thu Jan 30, 2014 10:04:55: The custom SFR file 'C:\Texas Instruments\BLE-CC254x-1.4.0\Projects\ble\KeyFob\CC2540DB\KeyFobDemoCustomSfr.sfr' contains a modification of the factory SFR 'DMAARM.DMAARM3'.
    This SFR cannot be found in the used factory SFR file 'C:\Program Files\IAR Systems\Embedded Workbench 6.4\8051\config\devices\Texas Instruments\ioCC2540F256.ddf' and the definition will be ignored.

    'P0IFG.P0IF_5'. This SFR cannot be found in the used factory SFR file 'C:\Program Files\IAR Systems\Embedded Workbench 6.4\8051\config\devices\Texas Instruments\ioCC2540F256.ddf' and the definition will be ignored.

    What is wrong?