Memory and Embedded systems

  • #1
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
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
"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 possess individual memory element and there is also memory element that belong to entire system as a whole. Is that what you mean?
 
  • #4
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.
 

Related Threads on Memory and Embedded systems

  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
6
Views
3K
  • Last Post
Replies
9
Views
3K
Replies
1
Views
9K
Replies
4
Views
3K
  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
3
Views
3K
Top