Page 1 of 1

I/O pins in DSP

Posted: Tue Oct 27, 2009 7:57 pm
by SukhdeepMankoo
is there any DSP having around 50 I/O pins or more than 16 I/O pins.
Kindly tell me, i will grateful for ur help.
Thanks and Regards.

Re: I/O pins in DSP

Posted: Tue Oct 27, 2009 8:07 pm
by Neo
You may try any C642x DSP. They have 111 GPIO usually. For example TMS320C6424.
Note that these pins are multiplexed with other functions, for example McBSP, etc..

Read this link.
http://focus.ti.com/docs/prod/folders/p ... c6424.html

Re: I/O pins in DSP

Posted: Sun Dec 20, 2009 3:23 pm
by SukhdeepMankoo
First of all Thanks.
Second thing, i am new in DSP programming. I have read the data sheet of TMS320C6424. I have doubt about its RAM and Flash. what is the size of RAM and Flash of TMS320C6424 which is used for programming.

Thanks & Regards
Sukhdeep Singh

Re: I/O pins in DSP

Posted: Mon Dec 21, 2009 1:35 pm
by Neo
This chip has 4 versions with just a few differences.
  1. TMS320C6424-400MHx
  2. TMS320C6424-500MHx
  3. TMS320C6424-600MHx
  4. TMS320C6424-700MHx
All chips have 240KB fast Internal memory. (You may either use them as cache or Internal RAM).
Since L1 is usually used, you can consider your internal memory is 128 KB.

In addition to that, you can integrate one of Async SRAM,DDR2 SDRAM or NAND Flash to the EMIF.
(For example you can add a 256 MB DDR2 if you want :mrgreen: )

You can find product details here.

Spectrum Digital has a very good Evaluation Module.

Re: I/O pins in DSP

Posted: Mon Dec 28, 2009 8:08 pm
by SukhdeepMankoo
Thanks,
As in Microcontrollers, code is stored on flash. But in TMS320C6424, i have not read any of of the flash, where will we store the code written for TMS320C6424. Kindly tell me, will we need to attach external flash to TMS320C6424 for storing code.

Thanks & Regards
Sukhdeep Singh

Re: I/O pins in DSP

Posted: Mon Dec 28, 2009 8:46 pm
by Neo
Unlike Microcontrollers, it is usual to attach an external flash memory for DSPs to store your program.
However check whether you can get some use from 64 KB Boot ROM.

Re: I/O pins in DSP

Posted: Tue Dec 29, 2009 4:44 pm
by SukhdeepMankoo
Thanks,
Is there any DSP processor with internal flash as microcontroller. if not, then how can i connect any external flash. kindly tell me any flash number as well as how dsp will read data from flash.
Second thing, can we store data on 64 KB Boot ROM?

Thanks & Regards

Re: I/O pins in DSP

Posted: Tue Dec 29, 2009 8:56 pm
by Neo
TMS320F2812 has internal flash and RAM. This is a good evaluation module. These are less powerful than C64/67 series chips but far more powerful than microcontrollers.

Basically CODE/DATA can be defined to be loaded in to different memory sections. You can write the compiled code to FLASH/ROM and at load time the CODE/DATA will be loaded to different sections as specified by the directives.

Example is given below.

Data Example:

Code: Select all

#pragma DATA_SECTION (buffer, IRAM)
unsigned char buffer[1024 * 768];
Code Example:

Code: Select all

#pragma CODE_SECTION (buffer, DDR2)
void encode (unsigned char *yuv){
     ....
     ....
}
Once you compile the above code, you can write the code to FLASH/ROM. Then at the loading time, the buffer will be loaded to internal memory and the function encode will be loaded to external RAM.

Hope this will help.

(I have seen you tried to contact me over FB, sorry I was away while the PC was running :D )

Re: I/O pins in DSP

Posted: Sun Jan 03, 2010 9:36 pm
by SukhdeepMankoo
Thanks a lot.