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: GPIO pins configuration for TMS320c6745

Part Number: TMS320C6745

Tool/software: Code Composer Studio

Hi,

I used the following code for setting GPIO pins high. could not find any output on GPIO pins. Content of registers are not changed even after program run.

my code: 

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


#define Uint32 unsigned int


void main()
{
Uint32 *gpio_out_data01,*gpio_dir01;


C6745_GPIO_init();

gpio_dir01 = (Uint32 *)0x01E26010;
gpio_out_data01 = (Uint32 *)0x01E26014;

*gpio_dir01 = 0xF000FFFF; // 0: output , 1: input

while(1)
{

*gpio_out_data01=0x0FFF0000;

}
}