{"product_id":"mikroe-2768","title":"FRAM 2 click","description":"\u003cp\u003e\u003cstrong\u003eFRAM 2 click\u003c\/strong\u003e carries the \u003ca href=\"https:\/\/download.mikroe.com\/documents\/datasheets\/CY15B104Q.pdf\" target=\"_blank\"\u003eCY15B104Q\u003c\/a\u003e \u003cstrong\u003e4-Mbit\u003c\/strong\u003e (512K x 8) serial F-RAM. A ferroelectric random-access memory or F-RAM is non-volatile and performs reads and writes similar to a SRAM. You can access the memory using an industry-standard serial peripheral interface (SPI) bus.\u003cbr\u003e \u003cbr\u003e On the functional level, the F-RAM operates in a similar way as serial flash and serial EEPROMs. The major difference between the CY15B104Q and a serial flash or EEPROM with the same pinout is the F-RAM's superior write performance, high endurance, and low power consumption.\u003c\/p\u003e\n\u003ch4\u003e\u003cstrong\u003eCY15B104Q FRAM features\u003c\/strong\u003e\u003c\/h4\u003e\n\u003cp\u003eLow power consumption, high endurance and 4-Mbit of non-volatile memory - these are some of the many reasons you'll want to use this in your work.\u003cbr\u003e \u003cbr\u003e The CY15B104Q is ideal for non-volatile memory applications, requiring frequent or rapid writes. Examples range from data collection, where the number of write cycles may be critical, to demanding industrial controls where the long write time of serial flash or EEPROM can cause data loss.\u003cbr\u003e \u003cimg style=\"width: 100%;\" src=\"https:\/\/shop.mikroe.com\/img\/cms\/fram-2-click-inside-image%20(1).jpg\" alt=\"\"\u003e\u003c\/p\u003e\n\u003cp\u003eUnlike serial flash and EEPROM, the CY15B104Q performs write operations at bus speed. No write delays are incurred. Data is written to the memory array immediately after each byte is successfully transferred to the device.\u003cbr\u003e \u003cbr\u003e The CY15B104Q is capable of supporting 10^14 read\/write cycles, or 100 million times more write cycles than EEPROM.\u003c\/p\u003e\n\u003ch4\u003e\u003cstrong\u003eHow the click works\u003c\/strong\u003e\u003c\/h4\u003e\n\u003cp\u003eWhen accessing the \u003ca href=\"https:\/\/download.mikroe.com\/documents\/datasheets\/CY15B104Q.pdf\" target=\"_blank\"\u003eCY15B104Q\u003c\/a\u003e, the user addresses 512K locations, each containing eight data bits. These eight data bits are shifted in or out serially. The addresses are accessed using the SPI protocol. \u003cbr\u003e \u003cbr\u003e Cypress's CY15B104Q is an SPI slave device and operates at speeds up to \u003cstrong\u003e40 MHz\u003c\/strong\u003e. This high-speed serial bus provides high-performance serial communication to an SPI master. SPI pins of an IC are connected to SPI pins of mikroBUS™ so it can be driven by a microcontroller on one of our various development systems - \u003ca href=\"https:\/\/shop.mikroe.com\/development-boards\/starter?categories*=clicker,clicker-2\" target=\"_blank\"\u003eclicker and clicker 2\u003c\/a\u003e development boards, \u003ca href=\"https:\/\/shop.mikroe.com\/development-boards\/starter\/flip-n-click\" target=\"_blank\"\u003eFlip\u0026amp;Click boards\u003c\/a\u003e, \u003ca href=\"https:\/\/shop.mikroe.com\/click\/shields\" target=\"_blank\"\u003eclick shields\u003c\/a\u003e, our famous \u003ca href=\"https:\/\/shop.mikroe.com\/easypic\" target=\"_blank\"\u003eEasyPIC v7\u003c\/a\u003e and more.\u003cbr\u003e \u003cbr\u003e The HLD (HOLD_N) pin can be used to interrupt a serial operation without aborting it. The WP (WP_N) pin ensures hardware write protect feature if the write protect enable bit in the Status Register is set to ’1’. The SPI protocol includes a chip select (to permit multiple devices on the bus), an opcode, and a three-byte address. There are nine opcodes, that can be issued by the bus master to the CY15B104Q. These opcodes specify the commands from the bus master to the slave device. After the CS (CS_N) is activated, the first byte transferred from the bus master is the opcode. Following the opcode, any addresses and data are then transferred. The CS (CS_N) must go inactive after an operation is complete and before a new opcode can be issued.\u003c\/p\u003e\n\u003ch3\u003eclick boards are plug and play!\u003c\/h3\u003e\n\u003cp\u003eUp to now, MikroElektronika has released hundreds of click boards™. We are releasing new ones every week. It is our intention to provide you with as many add-on boards as possible, so you will be able to expand your development board with additional functionality.\u003cbr\u003e \u003cbr\u003e Pull-up resistors are included on the \u003cstrong\u003eFRAM 2 click\u003c\/strong\u003e and it's ready to be used immediately after plugging into the mikroBUS™ socket on one of our development boards.\u003c\/p\u003e\n\u003ch4\u003e\u003cstrong\u003eFerroelectric RAM\u003c\/strong\u003e\u003c\/h4\u003e\n\u003cp\u003eFerroelectric RAM, better known as FRAM is a random-access memory. It's famous for fast access times and low power consumption. Also, since it's a non-volatile type of memory, data is retained upon power down.\u003cbr\u003e \u003cbr\u003e This type of memory is used in many industries today, but most commonly in small hand-held devices, since it has low power consumption, like mobile phones, electronic meters, medical applications, etc.\u003c\/p\u003e\n\u003ch4\u003e\u003cstrong\u003eSpecifications\u003c\/strong\u003e\u003c\/h4\u003e\n\u003ctable\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eType\u003c\/td\u003e\n\u003ctd\u003eFRAM\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eApplications\u003c\/td\u003e\n\u003ctd\u003eSuitable for low-power applications\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eOn-board modules\u003c\/td\u003e\n\u003ctd\u003eCY15B104Q - a 4-Mbit non-volatile memory employing an advanced ferroelectric process\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eKey Features\u003c\/td\u003e\n\u003ctd\u003e4-Mbit ferroelectric random access memory (F-RAM) logically organized as 512 K × 8, high-endurance 100 trillion (10^14) read\/writes, 151-year data retention, low power consumption\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eInterface\u003c\/td\u003e\n\u003ctd\u003eGPIO,SPI\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eInput Voltage\u003c\/td\u003e\n\u003ctd\u003e3.3V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003ch4\u003e\u003cstrong\u003ePinout diagram\u003c\/strong\u003e\u003c\/h4\u003e\n\u003cp\u003eThis table shows how the pinout on \u003cstrong\u003eFRAM 2 click\u003c\/strong\u003e corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).\u003c\/p\u003e\n\u003ctable\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003cth\u003eNotes\u003c\/th\u003e\n\u003cth\u003ePin\u003c\/th\u003e\n\u003cth colspan=\"4\"\u003e\u003ca href=\"http:\/\/www.mikroe.com\/mikrobus\/\" target=\"_blank\"\u003e\u003cimg src=\"https:\/\/cdn.mikroe.com\/img\/mikrobus\/mikroBUS-logo-black.png\" alt=\"Mikrobus logo.png\"\u003e\u003c\/a\u003e\u003c\/th\u003e\n\u003cth\u003ePin\u003c\/th\u003e\n\u003cth\u003eNotes\u003c\/th\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003ctd\u003eNC\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003ctd\u003eAN\u003c\/td\u003e\n\u003ctd\u003ePWM\u003c\/td\u003e\n\u003ctd\u003e16\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003eHLD\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eHold\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eWrite protect\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003eWP\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e2\u003c\/td\u003e\n\u003ctd\u003eRST\u003c\/td\u003e\n\u003ctd\u003eINT\u003c\/td\u003e\n\u003ctd\u003e15\u003c\/td\u003e\n\u003ctd\u003eNC\u003c\/td\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eChip select\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003eCS\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e3\u003c\/td\u003e\n\u003ctd\u003eCS\u003c\/td\u003e\n\u003ctd\u003eTX\u003c\/td\u003e\n\u003ctd\u003e14\u003c\/td\u003e\n\u003ctd\u003eNC\u003c\/td\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSPI clock pin\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003eSCK\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e4\u003c\/td\u003e\n\u003ctd\u003eSCK\u003c\/td\u003e\n\u003ctd\u003eRX\u003c\/td\u003e\n\u003ctd\u003e13\u003c\/td\u003e\n\u003ctd\u003eNC\u003c\/td\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSPI slave data out pin\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003eSDO\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e5\u003c\/td\u003e\n\u003ctd\u003eMISO\u003c\/td\u003e\n\u003ctd\u003eSCL\u003c\/td\u003e\n\u003ctd\u003e12\u003c\/td\u003e\n\u003ctd\u003eNC\u003c\/td\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSPI slave data in pin\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003eSDI\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e6\u003c\/td\u003e\n\u003ctd\u003eMOSI\u003c\/td\u003e\n\u003ctd\u003eSDA\u003c\/td\u003e\n\u003ctd\u003e11\u003c\/td\u003e\n\u003ctd\u003eNC\u003c\/td\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003ePower supply\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003e+3.3V\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e7\u003c\/td\u003e\n\u003ctd\u003e3.3V\u003c\/td\u003e\n\u003ctd\u003e5V\u003c\/td\u003e\n\u003ctd\u003e10\u003c\/td\u003e\n\u003ctd\u003eNC\u003c\/td\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eGround\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003eGND\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e8\u003c\/td\u003e\n\u003ctd\u003eGND\u003c\/td\u003e\n\u003ctd\u003eGND\u003c\/td\u003e\n\u003ctd\u003e9\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003eGND\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eGround\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003ch4\u003e\n\u003cbr\u003e \u003cstrong\u003eProgramming\u003c\/strong\u003e\n\u003c\/h4\u003e\n\u003cp\u003eCode examples for FRAM 2 click, written for MikroElektronika hardware and compilers are available on \u003ca href=\"https:\/\/libstock.mikroe.com\/projects\/view\/2183\/fram-2-click\" target=\"_blank\"\u003eLibstock\u003c\/a\u003e.\u003c\/p\u003e\n\u003ch4\u003eCode snippet\u003c\/h4\u003e\n\u003cp\u003eThis code snippet shows one part of the example provided alongside with the click board™. The task writes value 42 into the memory address 0x10 and then the read value from the same memory part. The read value should match the written value (42).\u003c\/p\u003e\n\u003cpre\u003e01 void Fram_2_Task()\n02 {\n03 uint8_t readData;\n04 char outputText [5];\n05 memset ( outputText, 0, 5);\n06 UART1_Write_Text (\"rnWriting value 42 into register 0x10...\");\n07 Fram_2_Write (0x00, 0x00, 0x10, 42 );\n08 \n09 UART1_Write_Text (\"rnReading from register 0x10...\");\n10 readData = Fram_2_Read (0x00, 0x00, 0x10);\n11 ShortToStr (readData, outputText);\n12 UART1_Write_Text (\"rnRead value: \");\n13 UART1_Write_Text (outputText);\n14 }\n\u003c\/pre\u003e\n\u003ch4\u003e\u003cstrong\u003e \u003c\/strong\u003e\u003c\/h4\u003e","brand":"MikroElektronika","offers":[{"title":"Default Title","offer_id":47400897773851,"sku":"MIKROE-2768","price":1999.0,"currency_code":"INR","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0676\/3325\/0587\/products\/fram-2-click-thickbox_default-2DqIgqzrM19ZQo.jpg?v=1701963416","url":"https:\/\/mgsl.in\/products\/mikroe-2768","provider":"MG Super Labs","version":"1.0","type":"link"}