Hi,
just a short questions: Is there a cosinus-table in the rom of the c5515? Where can I find an overview of the contents of the rom, in general?
Thanks
Micky
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.
Hi,
just a short questions: Is there a cosinus-table in the rom of the c5515? Where can I find an overview of the contents of the rom, in general?
Thanks
Micky
Hi,
We don't have a complete document regarding the ROM table.
But we have Sine table in the ROM.
The starting address is 0x007f4d84.
typedef long int S32;
const S32 WMAENCODER_TI_sinTableLpcEnc[256 + 1] =
{
0, 13176711, 26352927, 39528151, 52701886, 65873638, 79042909, 92209204,
105372028, 118530884, 131685278, 144834714, 157978697, 171116732, 184248325, 197372981,
210490206, 223599506, 236700387, 249792357, 262874923, 275947591, 289009870, 302061268,
315101294, 328129456, 341145265, 354148229, 367137860, 380113668, 393075166, 406021864,
418953276, 431868914, 444768293, 457650927, 470516330, 483364019, 496193509, 509004318,
521795963, 534567962, 547319836, 560051103, 572761285, 585449902, 598116478, 610760535,
623381597, 635979189, 648552837, 661102068, 673626408, 686125386, 698598532, 711045377,
723465451, 735858287, 748223418, 760560379, 772868705, 785147934, 797397602, 809617248,
821806413, 833964637, 846091463, 858186434, 870249095, 882278991, 894275670, 906238680,
918167571, 930061894, 941921200, 953745043, 965532978, 977284561, 988999351, 1000676905,
1012316784, 1023918549, 1035481765, 1047005996, 1058490807, 1069935767, 1081340445, 1092704410,
1104027236, 1115308496, 1126547765, 1137744620, 1148898640, 1160009404, 1171076495, 1182099495,
1193077990, 1204011566, 1214899812, 1225742318, 1236538675, 1247288477, 1257991319, 1268646799,
1279254515, 1289814068, 1300325060, 1310787095, 1321199780, 1331562723, 1341875533, 1352137822,
1362349204, 1372509294, 1382617710, 1392674071, 1402677999, 1412629117, 1422527050, 1432371426,
1442161874, 1451898025, 1461579513, 1471205974, 1480777044, 1490292364, 1499751575, 1509154322,
1518500249, 1527789007, 1537020243, 1546193612, 1555308767, 1564365366, 1573363068, 1582301533,
1591180425, 1599999411, 1608758157, 1617456334, 1626093615, 1634669675, 1643184190, 1651636841,
1660027308, 1668355276, 1676620431, 1684822463, 1692961062, 1701035922, 1709046739, 1716993211,
1724875039, 1732691927, 1740443580, 1748129706, 1755750017, 1763304224, 1770792044, 1778213194,
1785567396, 1792854372, 1800073848, 1807225552, 1814309216, 1821324572, 1828271355, 1835149306,
1841958164, 1848697673, 1855367580, 1861967634, 1868497585, 1874957189, 1881346201, 1887664382,
1893911494, 1900087300, 1906191570, 1912224072, 1918184580, 1924072870, 1929888719, 1935631910,
1941302224, 1946899450, 1952423376, 1957873795, 1963250501, 1968553291, 1973781967, 1978936330,
1984016188, 1989021349, 1993951624, 1998806829, 2003586779, 2008291295, 2012920200, 2017473320,
2021950483, 2026351521, 2030676268, 2034924561, 2039096241, 2043191149, 2047209133, 2051150040,
2055013723, 2058800035, 2062508835, 2066139983, 2069693341, 2073168777, 2076566159, 2079885360,
2083126254, 2086288719, 2089372637, 2092377892, 2095304369, 2098151959, 2100920556, 2103610053,
2106220351, 2108751351, 2111202958, 2113575079, 2115867625, 2118080510, 2120213651, 2122266966,
2124240380, 2126133817, 2127947206, 2129680479, 2131333571, 2132906419, 2134398965, 2135811152,
2137142927, 2138394239, 2139565042, 2140655292, 2141664948, 2142593970, 2143442326, 2144209982,
2144896909, 2145503083, 2146028479, 2146473079, 2146836866, 2147119825, 2147321946, 2147443222,
2147483647
};
Regards,
Hyun
Thanks Hyun,
Thanks so far. Can you please also provide the dataformat of the table?
Hi,
It's 32 bit integer with MSB sign bit. Also it's zero to 90 degrees Sine data .
Regards,
Hyun
Hi Hyun
if it's integer, what is the scaling and what is the argument scaling?
Micky
Hi Hyun,
in SPRABD7 (June 2010) I found some docs about the ROM of the c5515:
FE_0000h LCD Table
FE_0860h WMA Encode Table
FE_9FA0h WMA Decode Table
FE_D4C4h MP3 Table
FE_F978h Equalization Table
FE_FB14h WM Voice Table
FF_64B4h API Table
FF_683Ch Bootloader Code (and other built-in API functions)
Please provide which functions are in the ROM. There should exist somewhere a documentation.
E.g. I'm very interested in the LCD table. Addionally to the API Table "and other built-in API functions" sound very interesting to me. If I need a NDA just tell. In this case I would contact my local support.
Thanks & regards,
Micky.
Hi Micky,
The LCD table is a character font (6x8) table. It can be used to draw fonts in the LCD display. However it's a fixed size font
The example is available at http://code.google.com/p/c5505-ezdsp/ Real time power monitoring code. If you run this code, you can see fonts displayed at the first few seconds.
After that the power number displayed are different size fonts. Other table are mostly MP3/WMA audio decode/encode related data such as Sine data, random data, Huffman table and coefficient data. It's not a function.
Regards,
Hyun
Hi.
1 I need entry point of bootloader code
"FF_683Ch Bootloader Code (and other built-in API functions)"
2 please support for us list of built-in API functions in 5504 DSP
It is documented in the Bootloader User's Guide:
http://www.ti.com/lit/an/sprabd7a/sprabd7a.pdf
Table 1.
TMS320C5504 and TMS320C5515 use the same.
Regards.
Hi,
APIs are FFT routines listed in Table 2 from http://www.ti.com/lit/an/sprabb6a/sprabb6a.pdf .
Regards,
Hyun
Sorry, Steve.
I can not find any API description in this document.
1 I need entry point (PC address of ROM bootloader)
2 API description
The entry point address is 0x00ffff00.
Could you double check? I can correctly go to the table Hyun pointed out:
Table 2. Available HWAFFT Routines
Regards.
The example how to add it the the code.
========================add to your link cmd file====================================
MEMORY
{
…
SINEROM (RX) : origin = 00fe9b08h length = 000404h /* 1028B */
}
SECTIONS
{
...
.sine_rom > SINEROM
}
==================================main.c======================
#pragma DATA_SECTION(r_sine, ".sine_rom")
long int r_sine[257];
void main(void)
{
int i;
for (i=0; i<258; i++) {
printf("sine[%d]=%ld\n",i,r_sine[i]);
}
}
====================================================================