Non Volatile RAM (F-RAM & NVSRAM) Forum Discussions
Sometimes it is useful to have a simple and easy-to-use development & test platform at hand. The popular Raspberry Pi platform meets these needs. It is inexpensive, popular and easy to set up.
The SPI controller that is integrated into the Pi's Broadcom SOCs supports single I/O SPI with frequencies of up to 125 MHz. Two chip selects are available on the 40-pin expansion connector. DMA from and to SPI devices is supported as well. Supply and I/O voltages are normally 3.3V.
The following instructions summarize how to set up the Cypress SPI Memories Driver for Linux on a Raspberry Pi.
1. Kernel Compilation
Pick a suitable Linux kernel (e.g. branch rpi-4.14.y) and follow the official kernel build instructions. Apply the Cypress SPI Driver patch to the kernel tree and enable CONFIG_MTD_CY_SPIMEM and CONFIG_MTD_CY_HAL_GENERIC in the configuration menu.
2. Device Tree Settings
Edit the device tree file of your Raspberry Pi (e.g. arch/arm/boot/dts/bcm2710-rpi-3-b.dts for the Raspberry Pi 3 Model B). In the SPI device section, reduce the SPI clock frequency from 125 MHz to e.g. 25 MHz and change the driver from “spidev” to “cy-spimem”) as highlighted in the following dts snapshot:
&spi0 {
pinctrl-names = "default";
pinctrl-0 = <&spi0_pins &spi0_cs_pins>;
cs-gpios = <&gpio 8 1>, <&gpio 7 1>;
spidev0: spidev@0{
compatible = "cy-spimem";
reg = <0>; /* CE0 */
#address-cells = <1>;
#size-cells = <0>;
spi-max-frequency = <25000000>;
};
3. Hardware Setup
Attach a SPI memory device to the SPI pins of the 40-pin expansion connector.
4. Boot the System
If everything has been set up correctly, the SPI memory device is probed and reported in the kernel boot log
Found Cypress CY15B104Q (F-RAM)
and registered as a MTD device
# cat /proc/mtd
dev: size erasesize name
mtd0: 00080000 00000200 "CY15B104Q"
Afterwards, it can be accessed via standard Linux tools.
Show LessWhat is the die difference between FM25V10 and FM25VN10? We have qualified the former and want to use the latter in its place without going through a re-qualification. Thanks
Show LessHi,
I am planning to use nvSRAM in my design.
In ordering information there is a option to select Die revision.
What is the difference between Blank(No Rev) and A (1st Rev).?
Which revision is better ?@
Thanks,
Ramesh M
Show LessHi .
On three different supplies from official suppliers such as Mouser Electronics, the dimensions of the case do not match the Datasheet on the product. In all recent deliveries, the length of the enclosure was between 21.12 mm and 21.30 mm. The maximum length on the Datasheet is 20.878 mm.
Has the SOIC 32 for the CY14E256LA-SZ25XI been modified or are there any tolerances that may exceed the maximum length?
Сообщение отредактировано: Igor Kachaluba
Show LessHello!
I have a question about Excelon™-Ultra 4-Mbit (512K × 😎 Quad SPI F-RAM.
Is there any testing done on how it would hold up in space environment?(Radiation, thermal condition ect...).
Maybe there are some satellites that are using this kind of memory?
With regards,
Dāvis Fišers
Show LessHi,
we are planning to use an FM24V10 1-Mbit I2C F-RAM in an avionic application for fault logging.
There are some concerns w.r.t. to EMC performances and Radiation effects (SEU/MBU). - (I have already downloaded the general RAMTRON-document - the memory cell itself seems to be quite OK - the CMOS control circuits are more sensitive )
Is the F-RAM part in general suitible for avionic applications or are there alternative devices in your portfolio that could be recommended more / e.g. with tested radiation performance.
Best regards
Dietmar
Show LessCheck out this upcoming webinar from our partner, Arrow Electronics!
Advances in factory automation are requiring more from devices. Factories are integrating more functionality such as enhanced process control with expanded communication options including wireless, enabling more local data acquisition and storage, as well as implementing system consolidation to lower cost and complexity wherever possible. With performance and reliability being key design parameters in these advanced factory automation applications – Cypress is the supplier of choice with the ideal nonvolatile memory, MCUs, and wireless technologies to meet these demands. Join Cypress and Arrow for an informative webinar on the nonvolatile memory, microcontrollers, and world-class wireless technology from Cypress that enable the factory automation systems of tomorrow.
Date: Wednesday November 13th, 2019
Time: 10:00 AM PST
Agenda:
- Cypress nonvolatile memory product offering for factory automation
- Cypress MCU and Wireless product offering for factory automation
- Cypress factory automation system-level solution
- Cypress factory automation use cases
- How to get started and resources
Show Less
I'd like to inquire the IBIS model for CY15B102Q-SXE to perform signal integrity analysis. I was able to find an IBIS model in the developer community forum. However, the typical voltage in the IBIS model is 2.8V as opposed to the 3.3V in the CY15B102Q datasheet. If available, please provide an updated IBIS model with typical voltage of 3.3V.
Show LessHello,
We are using CY14E256LA-SZ45XI NVSRAM as a replacement for STK15C88-NF45I SIMTEK which got obsolete. We did not have any problem with prototypes but now for the TRUN that we made 30 pcs 11 pcs have failed due to NVRAM corruption. The MCU cannot boot. The PCBA vendor is using SUPERPRO 7500 to program the NVRAMs prior to assembly process.
We had a test on 20 NVRAM chips so we programmed all of them and then read the content and all were okay then all of them have been placed on a board and went through reflow and then we read the content back. the content 5 out of 20 have changed (corrupted). The reflow profile is very close to cypress recommendation (http://www.cypress.com/documentation/other-resources/cypress-reflow-profile ) the peak temperature is 240 degree C and the whole process is getting about 4.5 min (It has been attached here).
Is anybody have any suggestion that can help.
Thanks
Show LessHello,
Regarding the current consumption of the nvSRAM, the temperature condition is 25 ° C in the data sheet, is there a calculation formula or graph of consumption current at + 50 ° C and - 20 ° C?
MPN : CY14B104K - ZS45XIT
Best Regards,
Naoaki Morimoto
Show Less