Questions tagged [memory]
Consider instead more specific tags, e.g., dram, sram, flash
75
questions
42
votes
3
answers
23k
views
What resides in the different memory types of a microcontroller?
There are different memory segments to which various types of data are put into from C code after compilation. I.e: .text, .data,...
14
votes
11
answers
17k
views
How to make 1 bit permanent memory circuit?
I would like to make a simple circuit to store or save 1 bit of data. The circuit should be able to remember the state of an LED ( on or off ) even if the supply is disconnected from the circuit. I ...
40
votes
8
answers
27k
views
Why do microcontrollers have so little RAM?
Maybe this is more of a perceptional problem, but it seems like microcontrollers have advanced by leaps and bounds in the last 20 years, in almost all regards, higher clock speed, more peripherals, ...
6
votes
3
answers
6k
views
Realloc wasting lots of space in my MCU?
I am writing a simple task scheduler and using dynamic memory allocation on my cc430F5137. I agree that it is not a good practice but for the time being lets assume it is my application requirement to ...
64
votes
10
answers
31k
views
Why is RAM not put on the CPU chip?
Modern CPUs are very fast compared to all things external, including memory (RAM).
It is understandable, since CPU clock frequency has reached a point where it takes several clock ticks for an ...
29
votes
6
answers
10k
views
What is a flip flop?
There seem to be a number of different definitions of flip-flops and latches out there, some of which are contradictory.
The Computer Science text book for the course I teach is probably the most ...
5
votes
3
answers
1k
views
Storing an LED's previous state even when power is removed
Storing an LED's previous state even if power is removed
I want to build a simple circuit that consists of 2 push buttons and an LED. I want the LED to turn on when one pushbutton is pressed and off ...
2
votes
3
answers
2k
views
RAM device / timings for small VGA project
For a personal hobby project I'm looking to make a small vga display using an fpga. I was thinking of making the display 640x480 pixels with one byte colour per pixel at 60hz (I believe those timings ...
20
votes
1
answer
9k
views
How can I initialize/use SD cards with SPI?
I've seen various blog and forum posts, tutorials and application notes about accessing SD cards with microcontrollers using SPI, but I struggled a lot at different points when following them.
In my ...
13
votes
4
answers
5k
views
What happens when microcontrollers run out of RAM?
It may just be a coincidence but I've noticed the microcontrollers I've used rebooted when they ran out of RAM (Atmega 328 if hardware specific). Is that what microcontrollers do when they run out of ...
5
votes
2
answers
5k
views
What do memory configurations like "256Kx18" mean?
This is a beginner question here. When choosing memory ICs, one of the options is the memory size/configurations. I understand the size part, but what does the "16Kx9" mean? It seems the same memory ...
3
votes
1
answer
11k
views
Sense Amplifiers in SRAM
The basic 6T structure used for storing data is same as one used in "Positive Feedback Differential Voltage Sense Amplifier", then how come while the data is stored in SRAM memory cell it doesn't get ...
1
vote
2
answers
10k
views
What is SNM(Static Noise Margin) in SRAM?
I have read multiple papers and articles about it but still, I am not able to understand fully. If you can explain me in layman terms I would be much happy. Thanks.
0
votes
1
answer
105
views
What is the diffrences between Bitwise operations in terms of memory consumption, performance?
If I have two input, for example:
a= 0110
b = 1010
which one is better (in terms of memory consumption, performance):
x = a (XOR) b
x = a (AND) b
x = a (OR) b
And why?
0
votes
2
answers
3k
views
Schematics for using IC 7489 memory
I bought two SN7489 because I wanted to learn how the memory chip works. I followed the datasheet. I don't seem to be able to get it to work.
After playing around for some time with the IC, it got ...