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,

    There is no error in the below program but output pin (DIO2) is not high. What is the reason for no output.?

(In 1st commented line) Is it possible to write values to hardware registers directly in ccs? If so, How can we do?

#include <driverlib/ioc.h>
#include<driverlib/ioc.c>
int main(void)
{
// IOCFG1 = 0x30;-----(1)

// IOCPortConfigureSet(IOID_2, IOC_PORT_GPIO, IOC_STD_OUTPUT);

IOCPinTypeGpioOutput(IOID_2);
GPIO_writeDio(2,1);

BIOS_start();

return 0;
}