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/TMS320C6745: Configuration of GPIO pins

Part Number: TMS320C6745

Tool/software: Code Composer Studio

Hi,

Im trying to configure GPIO pin as ouput(First GPIO pin used in program) pin of TMS320c6745 board through code composer studio. but i could not find any output on GPIO pin even though pin is set high.

refer following code:

#include "stdio.h"
#include "c6745.h"
#include "c6745_gpio.h"

void main( void )
{

C6745_init( );

C6745_GPIO_init();

GPIO_BINTEN=0x00000001;   // Enable bank 0

C6745_GPIO_setDirection(GPIO0,GPIO_OUT);   // enable GPIO0 as output pin
C6745_GPIO_setOutput(GPIO0,1);   // set data high on GPIO pin

}