So I've done some googling...but haven't found anything definite.
Is there any guides on writing and Storing (and then later retrieving Data) from Extra RAM?
Like EEPROM/NAND FLASH/Etc...?
(Im not talking about Onboard stuff, im talking about EXTRA chips). I realize there are easier ways (like storing to an SD card or something) but this is more for a learning experience. Like for example if I wanted to store Temperatures over a 24H period or something?
That being said, what would be the different types of Memory I could use? and which one would be easiest/best?
SPI and I²C are both synchronous serial protocols. SPI is full duplex 1:1 (master to slave), using chips select lines to select the right slave. I²C is half duplex 1:many using addresses in the protocol to select the right slave.
SPI is faster, but uses more connections. It's a trade-off between the two. If you want fast, go for SPI. If you want low pin count, go for I²C.
SRAM is faster to work with that FLASH (EEPROM), and will last longer - you can only write to flash a certain number of times before it becomes unreliable.
It is similar in terms of it not being volatile but after that it is totally different.
You can write and read from flash faster, but it will not withstand as many write cycles as EEPROM.
Alternatively, you could use slightly more expensive FRAM (ferro-electric RAM). Fast read/write speeds like SRAM, non-volatile storage of EEPROM without the write speed penalties, no battery-backup needed like SRAM would need.
These are super helpful. And Write/Read speeds aren't a Problem. So SRAM would be probably easier.
Isn't SRAM kinda being mostly replaced by FLASH tho?
Isn't SRAM kinda being mostly replaced by FLASH tho?
Not in the slightest. SRAM is essential for microcontrollers to operate. FLASH lacks the speed and longevity for it to be viable as temporary storage.
It has largely been replaced by DRAM though in more complex systems, but microcontrollers tend to lack the extra hardware required to refresh DRAM internally.
Mercfh:
So I've done some googling...but haven't found anything definite.
Is there any guides on writing and Storing (and then later retrieving Data) from Extra RAM?
(Im not talking about Onboard stuff, im talking about EXTRA chips).
Mercfh:
is SRAM a viable thing for storing temperatures you think though?
You need to have a method of getting them out of the RAM before the power goes off. Just as an example, connect up a laptop to the serial pins, hit a button, and make it send the collected data out the serial port. There are quite a few ways you could do it.
But really, an SD card is pretty simple, and then just pull the card out and put it into your PC.
But as a learning experience, sure, play with the SRAM chips.