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.

How EMIF port is used as a input in TMS320c6713 dsk

Hi

I am using tms320c6713 dsk with ccs v3.3. Presently EMIF port has been used as a output pins and interfaced with LCD successfully. But i want to use this emif port as a input & output at a time in same program code. I don't know what is the exact procedure to use EMIF port as a input. I am trying in some different way, but failed. My execution program for EMIF port as a output pins has been given below.

#include<stdio.h>
#include <csl_emif.h>
#include <csl_emifhal.h>

#define ADDRESS 0xA0000000
#define GBLCTL 0x01800000
#define CE2 0x01800010

extern int *output11=(int *)ADDRESS;
int *ce2 = (int *)CE2;

void main()
{
    int i=0;
    *ce2=0x22A28A22;

    while(1)
    {
    
        *output11=0x0FF00000;

    }

}

IF any body know the way to use EMIF port as a input, kindly suggest me.

Regards ..


Gopal Sarkar