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.

CCS/CC2650MODA: cc2650moda

Part Number: CC2650MODA


Tool/software: Code Composer Studio

Hi

I am using cc2650moda for BLE without any launchpad. cc2650moda is directly connected  to laptop vai xds110 debug probe. I am trying to turn on the LED on cc2650moda. There are no errors shown while debugging but i am not getting any output on cc2650moda.

This is the code i have debugged.

Also please mention any other header files needed for direct register access programming.

 

#include <driverlib/ioc.h>

#include<driverlib/ioc.c>

int main(void)

{

   // IOC:IOCFG2.PORTID = 0x00;

 

    // IOCFG1 = 0x30;

   // IOCPortConfigureSet(IOID_2, IOC_PORT_GPIO, IOC_STD_OUTPUT);

 

    IOCPinTypeGpioOutput(IOID_2);

    GPIO_writeDio(2,1);

 

    BIOS_start();

 

    return 0;

}