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.

66AK2E05: KEYSTONE II <-> DSP <-> TSIP TIMESLOTS RAM ALLOCATION

Part Number: 66AK2E05

Hello,

I try to use TSIP in order to send 512 timeslots via one lane, but i run out of L2SRAM.

When i try to use MSMCSRAM or DDR3 Sections, i get "corrupted" data in TSIP output.

Is it possible to use MSMCSRAM or DDR3 for TSIP ??

The project i use is: TSIP_K2E_C66TestProject.

.tsipData 188K
.appData 46124


My configuration:

//-------------------------------------------------------------
file: test.cmd
SECTIONS
{
.tsipData > L2SRAM
.appData > L2SRAM
}

//-------------------------------------------------------------

//-------------------------------------------------------------
file: test.c

...

/* Buffer size is based only on the size of the instance*/
#define BUFSIZE_TSIP_INST_SHARED 40

/* Buffer size is function of TSIP_N_PORTS */
#define BUFSIZE_TSIP_HEAP_SHARED 200

/* Buffer size is a function of the number of time slots */
#define BUFSIZE_TSIP_HEAP_TIMESLOT 28672

/* Buffer size is a function of the number of time slots and TSIP_N_PORTS*/
#define BUFSIZE_TSIP_TX_DMA_BUFFER 8512

/* Buffer size is a function of the number of time slots and TSIP_N_PORTS*/
#define BUFSIZE_TSIP_RX_DMA_BUFFER 8512

/* Buffer size is based only on the size of the instance*/
#define BUFSIZE_TSIP_INST_SIZE_PORT 17

...

//-------------------------------------------------------------


//-------------------------------------------------------------
file: test.h

...
/* Size of application buffers */
#define BUFSIZE_APP 40*1 /*must be a multiple of the tx.frameSize (40).
Due to L2 memory size, max value for this define is 880*/

/* Number of TSIP ports used in the test */
#define NUM_USED_TSIP_PORTS 1

/* This test uses the same number of time slots per TSIP port being tested*/
/* Number of used time slots per TSIP port (same for all ports)*/
#define NUM_USED_TIME_SLOTS 512

...

//-------------------------------------------------------------

//-------------------------------------------------------------
file: tsip_cfg.h

...

/**
* @def TSIP_MAX_TIMESLOTS
* The maximal number of TSIP timeslots to be used
*
*/
#define TSIP_MAX_TIMESLOTS 512

...

//-------------------------------------------------------------