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.

Using XINTF Zone7 SRAM on eZdsp F28335 with SYS/BIOS CSS v5.1

 

For that passed several days, I have been trying to combined picieses “xintf_run_from” and “adc_soc” example projects to my eZdsp F28335, SYS/BIOS, CSS 5.1 project.  I cannot get XINTF and ADC working.

I was able to obtian knowledge how memory map works together with RTSC Platform Package and SYS/BIOS configuration file.  My goal is to user XINTF SRAM memory has default BIOS heap memory.  But I feel I am missing something to get them working. 

 here are my sections in BIOS configuration file.

------
Program.sectMap["AdcRegsFile"] = "ADC";
Program.sectMap["AdcMirrorFile"]= "ADC_MIRROR";
Program.sectMap["SysCtrlRegsFile"] ="SYSTEM";
Program.sectMap["PieCtrlRegsFile"] = "PIE_CTRL";
Program.sectMap["ramfuncs"] = "L03SARAM";
Program.sectMap[".adc_cal"] = "ADC_CAL";
Program.sectMap[".sysHeap"] = "SRAM";
Program.sectMap["XintfRegsFile"] = "XINTF";
Program.sectMap["GpioCtrlRegsFile"] = "GPIOCTRL"
-------
my XINTF initiation
-------

void InitXintf(void)
{
// Make sure the XINTF clock is enabled
EALLOW;
SysCtrlRegs.
PCLKCR3.bit.XINTFENCLK= 1;
EDIS;
// Configure the GPIO for XINTF with a 16-bit data bus
// This function is in DSP2833x_Xintf.c
InitXintf16Gpio();
EALLOW;
// All Zones---------------------------------
// Timing for all zones based on XTIMCLK = SYSCLKOUT
XintfRegs.XINTCNF2.bit.XTIMCLK= 0;
// Buffer up to 3 writes
XintfRegs.XINTCNF2.bit.WRBUFF= 3;
// XCLKOUT is enabled
XintfRegs.XINTCNF2.bit.CLKOFF= 0;
// XCLKOUT = XTIMCLK
XintfRegs.XINTCNF2.bit.CLKMODE= 0;
// Zone 7------------------------------------
// When using ready, ACTIVE must be 1 or greater
// Lead must always be 1 or greater
// Zone write timing
XintfRegs.XTIMING7.bit.XWRLEAD= 1;
XintfRegs.XTIMING7.bit.XWRACTIVE= 2;
XintfRegs.XTIMING7.bit.XWRTRAIL= 1;
// Zone read timing
XintfRegs.XTIMING7.bit.XRDLEAD= 1;
XintfRegs.XTIMING7.bit.XRDACTIVE= 3;
XintfRegs.XTIMING7.bit.XRDTRAIL= 0;
// don't double all Zone read/write lead/active/trail timing
XintfRegs.XTIMING7.bit.X2TIMING= 0;
// Zone will not sample XREADY signal
XintfRegs.XTIMING7.bit.USEREADY= 0;
XintfRegs.XTIMING7.bit.READYMODE= 0;
// 1,1 = x16 data bus
// 0,1 = x32 data bus
// other values are reserved
XintfRegs.XTIMING7.bit.XSIZE= 3;
EDIS;
//Force a pipeline flush to ensure that the write to
//the last register configured occurs before returning.
asm(" RPT #7 || NOP");
}

----

This project is just to help me understand RTOS development for F28335.  ALso, Does anyone know of a "wiki" that talk about how to use DSP peripherals under SYS/BIOS project. I think thats the main issue i have.

Thanks