Dear TI Employees,
I have this problem for like a year ! So could you help me we this ? I guess I 'm so close to it with the helps I could get from DSPRELATED website, but I couldn't make it yet ! I just wanna use my EMIF 80 pins as an output , to write a value into EMIF address . As you may already know, we have LVTH16245A just before EMIF connector on the 6713 Spectrum Digital DSK, and I used 74HC244 as a buffer for my interfaced board to turn on 32 LEDs on output. (Just as considered in Rulph Chassing's book ! ) So please tell me that this code as below would be enough to do so, or we may need some headers or gel files to config the EMIF regiters via either CSL functions or assembly source codes. Well, I guess the main concern for programming is the I/0 address (either 0x90000000 or 0xa0000000) , right ?! Thank you in advance. Best Regards, rafi3e@ieee.org // main.c *******************
#include "dsk6713.h"
#include "DSK6713_AIC23.h" //codec-DSK support file
Uint32 fs=DSK6713_AIC23_FREQ_48KHZ; //set sampling rate
#define DSK6713_AIC23_INPUT_MIC 0x0015
#define DSK6713_AIC23_INPUT_LINE 0x0011
Uint16 inputsource=DSK6713_AIC23_INPUT_MIC;
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
#include <time.h>
#define OUTPUT 0xA0000000 //0x90000000 or maybe 0x80000000 (EMIF ADDRESS )
int *output = (int*)OUTPUT; // Declare a pointer to EMIF's address
void main()
{
While (1)
{
// Write a 32-bit digital value to the pins
*output = 0xA0A0A0A0; // Test value
}
}