I/O pins in DSP

DSP Topics
Post Reply
SukhdeepMankoo
Lieutenant
Lieutenant
Posts: 92
Joined: Tue Oct 27, 2009 7:50 pm

I/O pins in DSP

Post by SukhdeepMankoo » Tue Oct 27, 2009 7:57 pm

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.
User avatar
Neo
Site Admin
Site Admin
Posts: 2642
Joined: Wed Jul 15, 2009 2:07 am
Location: Colombo

Re: I/O pins in DSP

Post by Neo » Tue Oct 27, 2009 8:07 pm

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
SukhdeepMankoo
Lieutenant
Lieutenant
Posts: 92
Joined: Tue Oct 27, 2009 7:50 pm

Re: I/O pins in DSP

Post by SukhdeepMankoo » Sun Dec 20, 2009 3:23 pm

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
User avatar
Neo
Site Admin
Site Admin
Posts: 2642
Joined: Wed Jul 15, 2009 2:07 am
Location: Colombo

Re: I/O pins in DSP

Post by Neo » Mon Dec 21, 2009 1:35 pm

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.
SukhdeepMankoo
Lieutenant
Lieutenant
Posts: 92
Joined: Tue Oct 27, 2009 7:50 pm

Re: I/O pins in DSP

Post by SukhdeepMankoo » Mon Dec 28, 2009 8:08 pm

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
User avatar
Neo
Site Admin
Site Admin
Posts: 2642
Joined: Wed Jul 15, 2009 2:07 am
Location: Colombo

Re: I/O pins in DSP

Post by Neo » Mon Dec 28, 2009 8:46 pm

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.
SukhdeepMankoo
Lieutenant
Lieutenant
Posts: 92
Joined: Tue Oct 27, 2009 7:50 pm

Re: I/O pins in DSP

Post by SukhdeepMankoo » Tue Dec 29, 2009 4:44 pm

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
User avatar
Neo
Site Admin
Site Admin
Posts: 2642
Joined: Wed Jul 15, 2009 2:07 am
Location: Colombo

Re: I/O pins in DSP

Post by Neo » Tue Dec 29, 2009 8:56 pm

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 )
SukhdeepMankoo
Lieutenant
Lieutenant
Posts: 92
Joined: Tue Oct 27, 2009 7:50 pm

Re: I/O pins in DSP

Post by SukhdeepMankoo » Sun Jan 03, 2010 9:36 pm

Thanks a lot.
Post Reply

Return to “Digital Signal Processors”