EYE on NPI - ISSI's Serial and Quad PSRAM chips

  Переглядів 756

Adafruit Industries

Adafruit Industries

15 днів тому

Psst...this week's EYE ON NPI is no secret, and despite having the word "Pseudo" in the name, it's the Real Deal: This week it's ISSI's Serial and Quad PSRAM chips (www.digikey.com/en/product-hi..., an excellent addition to your next microcontroller board to quickly boost your RAM stack to megabyte proportions!
Microcontrollers have come a long way since 8-bit chips like the ATmega328 (www.adafruit.com/product/123). What used to be a luxurious 32 KB of flash memory and 2 KB of SRAM is now nowhere-near-enough storage for handling the big computation requirements we're trying to squeeze into embedded products. It used to be enough to handle some buttons, blink a few LEDs, maybe at best read a sensor and control a motor. Now we need internet connectivity, full graphics support, and machine learning algorithms running on large sensor data sets!
As we've seen, microcontrollers have evolved from 8-bit AVR to Cortex M0 to Cortex M4 and even M7 - or if you're a fan of Espressif chips, Tensilica/RISC-V 240 MHz processors. But what you are paying for in a microcontroller is often related to the density and size of the die, and on many processors, the RAM and FLASH can start to take up a dominant amount of die real-estate. SRAM and Flash may also require larger nm 'processes' that are harder to book. As a result, we're seeing chips like the RP2040 (www.digikey.com/en/products/d...) that have on-chip SRAM but no longer have on-chip Flash memory. Instead, you're expected to pick up a QSPI flash chip and wire it up to the 6-pin interface. By clever usage of on-chip instruction cache, you can get close to on-board FLASH speeds but with the flexibility and size of external memory: it's hard to find a chip with more than 1 MB of internal FLASH but you can easily get 16 MB of external memory like the ISSI IS25WP128 (www.digikey.com/en/products/d...) for only a couple bucks!
OK now you've got plenty of space for your code, but what about RAM? That's where you'll be buffering graphics, storing data to process, or for IoT products, storing large packets of data that may need to be encrypted before sending/receiving. SRAM is also big and kinda expensive, so it's no surprise that many advanced processors these days also support external RAM chips.
Now, most folks aware that microprocessors (as opposed to microcontrollers) have required external RAM for quite a long time - but often those used large DRAM chips with 8, 16 or 32-bit parallel interfaces like the IS42 series (www.digikey.com/en/products/d.... These of course are not going to work when you only have 32-ish GPIO available.
That's where 8-pin PSRAM chips come in - and we're starting to see lots of 'low pin count' microcontrollers support these. For example the iMX RT1062 (www.digikey.com/short/0fhbdwv0) used in the Teensy 4.1 (www.adafruit.com/product/4622) supports PSRAM - check the SOIC-8 footprint on the bottom. Likewise the ESP32 series has wide support for PSRAM, their modules come with 8-SOIC 2MB chips very often. The extra PSRAM comes in handy when doing large IoT projects where you have to buffer an entire image, or JSON structure. Especially over TLS connections that require a lot of RAM to process!
Note that while you could use the ISSI PSRAM chips with any processor, thanks to the generic SPI or QSPI interface, you really do want a chip to have 'native' PSRAM support so that the compiler and core will automatically map the PSRAM out so it is accessed transparently to your code. You'll likely need to enable PSRAM support in your toolchain and of course wire it up to the supported QSPI interface pins. Also, sometimes you need to be careful about where some memory goes, like volatile or interrupt-accessed addresses. Sometimes you also have to tell the compiler what ID code or command-set to use, since things like enabling the QEN bit can vary from chip to chip.
With a universal pinout and speedy 100MHz clock rate, PSRAM is a fast and easy way to make your micro roomier. If you're not sure which to pick, maybe start with the IS66WVS2M8BLL (www.digikey.com/short/29b1dzqf) a 2 MByte / 16 MBit 3.3V-logic SOIC-8 PSRAM chip. If you're ready to add encyclopedic memory in your next design, you are in luck, because the ISSI Serial and Quad PSRAM chips (www.digikey.com/en/product-hi...) are in stock right now for immediate shipment! Order today and you'll get your chips in hand by tomorrow afternoon.

КОМЕНТАРІ
Unleashing the $10 Tech Revolution: Milk-V Duo S Rocks the Linux World!
26:35
Technically Unsure
Переглядів 35 тис.
We should use this amazing mechanism that's inside a grasshopper leg
19:19
Kitten has a slime in her diaper?! 🙀 #cat #kitten #cute
00:28
Повістки у Києві: «Яке право вони мають забирати всіх мужиків?» #війна #мобілізація #військові
00:41
Слідство.Інфо | Розслідування, репортажі, викриття
Переглядів 1,3 млн
Try these 16 Brilliant ESP32 projects!!!
11:18
ToP Projects Compilation
Переглядів 506 тис.
I Can Die Now. - Intel Fab Tour!
21:51
Linus Tech Tips
Переглядів 4 млн
SHOW and TELL 5/1/2024
31:31
Adafruit Industries
Переглядів 273
This RISC-V cyberdeck is not for you
9:15
Jeff Geerling
Переглядів 212 тис.
What Is RAM and What Does It Do? [Guide]
9:43
GamingScan
Переглядів 168 тис.
BUILDING A MARBLE CLOCK THAT SHOWS SECONDS - Pt3.
11:16
Ivan Miranda
Переглядів 109 тис.
Are PIC Microcontrollers Any Good? - Beyond Arduino #4
21:07
Sine Lab
Переглядів 34 тис.
Що покаже Apple, гнучкі айфони та Windows переходить на ARM
17:49
Ноталка Шелягіна
Переглядів 54 тис.
Распаковка айфона под водой!💦(🎥: @saken_kagarov on IG)
0:20
Взрывная История
Переглядів 9 млн