DSPRelated.com

C5509 MEM_alloc returns nothing after MEM_free

Started by amir...@imperial.ac.uk in TMS320c55x15 years ago

Hi all, I know there are a lot of threads on this problem but I haven't found one that solves my problem. I am using the dsk5509a evaluation...

Hi all, I know there are a lot of threads on this problem but I haven't found one that solves my problem. I am using the dsk5509a evaluation board, CCS v3.1 with DSP/BIOS config. I have some variables that require dynamic allocation. Each is a maximum of 400 Bytes (7 of these = 2.8KB). I had initially allocated a section of the SARAM for the heap but given that failed I allocated some d...


32bit addressing in EMIF

Started by Ashish Gupta in TMS320c55x15 years ago 1 reply

Hi, I want to do 32bit addressing in EMIF CE2. I have defined MYTPE for 32bit . EMIF space 2 starts with word address 0x40 0000. Now I am not...

Hi, I want to do 32bit addressing in EMIF CE2. I have defined MYTPE for 32bit . EMIF space 2 starts with word address 0x40 0000. Now I am not sure of which address will be given for 32bit addressing- whether the same 0x40 0000 or it should be divided by 2 again for 32 bit addressing i.e starting with 0x20 0000. Also what abt address bus A0 and A1- should they be unused as for 32bit address...


Reading from boot flash using 5502

Started by arav...@gmail.com in TMS320c55x15 years ago 1 reply

Hi, I m Aravind. I am using DSP processor TMS320VC5502. I have written a code for receiving data from PC using UART module. I am now booting...

Hi, I m Aravind. I am using DSP processor TMS320VC5502. I have written a code for receiving data from PC using UART module. I am now booting DSP from external I2C EEPROM. Can i get data from the same I2C EEPROM from a specified location using the I2C module of the DSP after the booting process is complete. Regards Aravind.


Linear Convolution in DSP 5502

Started by arav...@gmail.com in TMS320c55x15 years ago 2 replies

Hello, I am using DSP TMS320VC5502. I want to find linear convolution of two arrays. The first array XArray contain 5000 elements and the...

Hello, I am using DSP TMS320VC5502. I want to find linear convolution of two arrays. The first array XArray contain 5000 elements and the second array HArray contain 200 elements. I need a resultent array YArray which is the linear convolution of the two input arrays. The YArray should contain 5199 elements. I tried the library function convol2 (XArray, HArray, YArray, 5200,200) ...


McBSP and CLK

Started by sear...@yahoo.com in TMS320c55x15 years ago 1 reply

Hi all, I work with Mcbsp port0 on dsk5510.when I send data by transmitter I see clock pulse on clkx0 (pin# 21) of P2 on dsk.but if I don't...

Hi all, I work with Mcbsp port0 on dsk5510.when I send data by transmitter I see clock pulse on clkx0 (pin# 21) of P2 on dsk.but if I don't transmit data the clock pulse stop too. How I must configure the Mcbsp to always see clock pulse. Thanks.


Usage of ldiv16

Started by rahul_mot in TMS320c55x15 years ago 2 replies

Hello all, I am implementing a division operation between two Q31 numbers as follows. x -> Q31 number y -> Q31 number I need output of...

Hello all, I am implementing a division operation between two Q31 numbers as follows. x -> Q31 number y -> Q31 number I need output of (x/y) division operation in Q31 format. Here is the C code I wrote and it uses ldiv16 C55x DSPlib function to implement the division. main() { .... long int x, y, Out; short OutR, OutEXP; tempY = y > > 16; ldiv16(&x, &tempY, &OutR, &OutEXP,


fixed point implementation of Acoustic Echo Cancellor

Started by rahul_mot in TMS320c55x15 years ago 4 replies

Dear all, I am implementing a fixed point acoustic echo cancellor algorithm on TMS320VC5510 DSK board. In the first step, I have to convert...

Dear all, I am implementing a fixed point acoustic echo cancellor algorithm on TMS320VC5510 DSK board. In the first step, I have to convert existing Matlab code to fixed point C code. I am new to this fixed point implementation. I did a lot of search to understand fixed point math used for these DSP algorithms. I found some, but I couldn't understand how to handle overflow and round off ...


McBSP Ports Switch Problem

Started by me_a...@yahoo.com in TMS320c55x15 years ago 1 reply

Dear All I'm using McBSP#0 of C5510 DSK. Sending out some 32bit data and receiving via the same port works as I predict. But... Changing...

Dear All I'm using McBSP#0 of C5510 DSK. Sending out some 32bit data and receiving via the same port works as I predict. But... Changing port from "McBSP#0" to "McBSP#1" does not work...Why? In this condition Loop Back mode works and there is no problem but disabling DLB fails. ---Any help would be appreciated--


How can I use double-precision (64-bit) IEEE floating-point data in my C program on C5509A?

Started by caot...@gmail.com in TMS320c55x15 years ago 1 reply

How can I use double-precision (64-bit) IEEE floating-point data in my C program on C5509A? When I try "i = sizeof(double);"in my program, only...

How can I use double-precision (64-bit) IEEE floating-point data in my C program on C5509A? When I try "i = sizeof(double);"in my program, only get the i=2,which means the double type is 32bit.


Assembly code for magnitude (55x)

Started by ewon...@cfl.rr.com in TMS320c55x15 years ago 2 replies

Hello, I am looking for source code in assembly for the C5510 to compute de magnitude of two 16 bit number. Or can direct me to where I can get...

Hello, I am looking for source code in assembly for the C5510 to compute de magnitude of two 16 bit number. Or can direct me to where I can get it. Thanks Enrique


Ask a Question to the DSPRelated community

To significantly increase your chances of receiving answers, please make sure to:

  1. Use a meaningful title
  2. Express your question clearly and well
  3. Do not use this forum to promote your product, service or business
  4. Write in clear, grammatical, correctly-spelled language
  5. Do not post content that violates a copyright