Memory and Embedded systems

  • #1
pairofstrings
399
6
What are the basic elements in embedded systems? Can I use any microcontrollers, DSPs, and microprocessors in one systems. If yes, how is memory element linked with microcontrollers, DSPs, and microprocessors? On whose memory elements, codes are written? Which language is preferred for the codes?
 

Answers and Replies

  • #2
Jaynte
79
0
Basic elements could be processors, such as DSPs microprocessors, memories, ASICs of any kind, hardware accelerators etc.

There are several ways to connect them together, but an example could be you have a main bus with memories, one DSP and one microprocessor connected to the bus.
Then you let the microprocessor control everything (master host processor), this one sends commands to the DSP (slave co processor) to do some calculations on data stored in the memories, and DSP stores the results back in the memories.

There is an infinite number of ways you can build your system but the main thing is you need something to control the flow, a microprocessor for example, who gives instructions to other units and keep track of everything. Like where data and results are stored so that nothing important is overwritten by another unit.

All units, DSPs and microprocessors etc have a program memory from where its own code is executed, then there are memories and register files from where the units gets and stores the data which are processed.

The language could be any, in the end it all breakes down to assembly code which in turn breaks down to 0s and 1s in the program memory of the CPUs.

But if you need fast and optimized code like for a DSP the best thing is to write directly in assembler (if you have time :)) since a C-compiler of whatever may produce redundant code.
 
  • #3
pairofstrings
399
6
"All units, DSPs and microprocessors etc have a program memory from where its own code is executed, then there are memories and register files from where the units gets and stores the data which are processed.

That means, if a system has a DSP, microprocessor, microcontrollers then all these possesses individual memory element and there is also memory element that belong to entire system as a whole. Is that what you mean?
 
  • #4
Jaynte
79
0
Exactly, DSP, microprocessor, microcontrollers always has there own memories and in a system you can add extra memory for storing and shearing data.
 

Suggested for: Memory and Embedded systems

Replies
1
Views
312
  • Last Post
Replies
10
Views
883
  • Last Post
2
Replies
45
Views
3K
Replies
1
Views
2K
  • Last Post
Replies
7
Views
1K
Replies
1
Views
235
  • Last Post
Replies
10
Views
3K
  • Last Post
Replies
4
Views
1K
  • Last Post
Replies
16
Views
2K
Top