CYPRES CY14NVSRAMKIT-001 User manual

Copyrights
CY14NVSRAMKIT-001 nvSRAM Development Kit User Guide, Doc. # 002-03522 Rev. *A 2
Copyrights
© Cypress Semiconductor Corporation, 2015-2017. This document is the property of Cypress Semiconductor Corporation
and its subsidiaries, including Spansion LLC ("Cypress"). This document, including any software or firmware included or refer-
enced in this document ("Software"), is owned by Cypress under the intellectual property laws and treaties of the United
States and other countries worldwide. Cypress reserves all rights under such laws and treaties and does not, except as spe-
cifically stated in this paragraph, grant any license under its patents, copyrights, trademarks, or other intellectual property
rights. If the Software is not accompanied by a license agreement and you do not otherwise have a written agreement with
Cypress governing the use of the Software, then Cypress hereby grants you a personal, non-exclusive, nontransferable
license (without the right to sublicense) (1) under its copyright rights in the Software (a) for Software provided in source code
form, to modify and reproduce the Software solely for use with Cypress hardware products, only internally within your organi-
zation, and (b) to distribute the Software in binary code form externally to end users (either directly or indirectly through resell-
ers and distributors), solely for use on Cypress hardware product units, and (2) under those claims of Cypress's patents that
are infringed by the Software (as provided by Cypress, unmodified) to make, use, distribute, and import the Software solely
for use with Cypress hardware products. Any other use, reproduction, modification, translation, or compilation of the Software
is prohibited.
TO THE EXTENT PERMITTED BY APPLICABLE LAW, CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, WITH REGARD TO THIS DOCUMENT OR ANY SOFTWARE OR ACCOMPANYING HARDWARE, INCLUDING,
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PUR-
POSE. To the extent permitted by applicable law, Cypress reserves the right to make changes to this document without fur-
ther notice. Cypress does not assume any liability arising out of the application or use of any product or circuit described in
this document. Any information provided in this document, including any sample design information or programming code, is
provided only for reference purposes. It is the responsibility of the user of this document to properly design, program, and test
the functionality and safety of any application made of this information and any resulting product. Cypress products are not
designed, intended, or authorized for use as critical components in systems designed or intended for the operation of weap-
ons, weapons systems, nuclear installations, life-support devices or systems, other medical devices or systems (including
resuscitation equipment and surgical implants), pollution control or hazardous substances management, or other uses where
the failure of the device or system could cause personal injury, death, or property damage ("Unintended Uses"). A critical
component is any component of a device or system whose failure to perform can be reasonably expected to cause the failure
of the device or system, or to affect its safety or effectiveness. Cypress is not liable, in whole or in part, and you shall and
hereby do release Cypress from any claim, damage, or other liability arising from or related to all Unintended Uses of Cypress
products. You shall indemnify and hold Cypress harmless from and against all claims, costs, damages, and other liabilities,
including claims for personal injury or death, arising from or related to any Unintended Uses of Cypress products.
Cypress, the Cypress logo, Spansion, the Spansion logo, and combinations thereof, WICED, PSoC, CapSense, EZ-USB, F-
RAM, and Traveo are trademarks or registered trademarks of Cypress in the United States and other countries. For a more
complete list of Cypress trademarks, visit cypress.com. Other names and brands may be claimed as property of their respec-
tive owners.
Downloaded from Arrow.com.Downloaded from Arrow.com.

CY14NVSRAMKIT-001 nvSRAM Development Kit User Guide, Doc. # 002-03522 Rev. *A 3
Contents
Safety Information 5
1. Introduction 7
1.1 Kit Contents.................................................................................................................7
1.2 Getting Started.............................................................................................................8
1.3 Additional Learning Resources....................................................................................9
1.4 Technical Support........................................................................................................9
1.5 Documentation Conventions........................................................................................9
1.6 Acronyms and Definitions............................................................................................9
2. Kit Installation 10
2.1 Install SK-FM4-U120-9B560 Kit Software and Driver................................................10
2.2 Uninstall SK-FM4-U120-9B560 Kit Software and Driver......... 11
2.3 Install CY14NVSRAMKIT-001 DVK Contents...................... 11
2.4 Uninstall CY14NVSRAMKIT-001 DVK Contents.................... 13
3. Kit Overview 14
3.1 CY14NVSRAMKIT-001 Kit Overview ........................................................................14
3.2 Kit Introduction and Configuration Guide...................................................................15
3.2.1 Power Supply Jumper....................................................................................15
3.2.2 Parallel nvSRAM Device................................................................................15
3.2.3 Headers to FM4 MCU Evaluation Board (SK-FM4-U120-9B560)..................15
3.2.4 Interrupt (INT and INT1) Pins.........................................................................16
3.2.5 Test Points......................................................................................................17
3.2.6 54 TSOP II - Not Populated by Default..........................................................18
3.3 nvSRAM and MCU Kit Connection............................................................................18
4. Kit Operation 20
4.1 Program the FM4 MCU Evaluation Board .................................................................20
4.2 Run the FM4 MCU Evaluation Board ........................................................................24
4.3 Spansion Virtual Communication Port Driver Installation ..........................................26
4.4 Development Kit Setup..............................................................................................30
5. Kit Software 32
5.1 nvSRAM Kit Software ................................................................................................32
6. Kit Example Firmware 41
6.1 Example Firmware Structure .....................................................................................41
6.2 nvSRAM Access APIs ...............................................................................................42
6.2.1 nvSRAMRead (uint32_t address, uint8_t length, uint8_t *txData).................42
6.2.2 void nvSRAMWrite (uint32_t address, uint16_t data) ....................................43
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.

CY14NVSRAMKIT-001 nvSRAM Development Kit User Guide, Doc. # 002-03522 Rev. *A 4
Contents
6.2.3 void nvSRAMWriteFullMem (uint16_t data1, uint16_t data2) ........................43
6.2.4 void nvSRAMReadRTC (uint8_t address, uint8_t length, uint8_t *txData) ....43
6.2.5 void nvSRAMWriteRTC (uint8_t address, uint8_t data).................................44
6.2.6 void HSBStoreIF(void)....................................................................................44
6.2.7 void write_data_pattern (uint8_t pat, uint16_t data).......................................44
6.2.8 void AutoStore (boolean_t enable).................................................................45
6.2.9 void SoftwareStoreRecall (boolean_t mode)..................................................46
6.2.10 void SleepIF (boolean_t mode)......................................................................46
6.2.11 void SquareWave (uint8_t mode)...................................................................47
6.3 Firmware Changes to Enable 54 TSOP II Access.....................................................47
6.3.1 Changes in CY14B116.h................................................................................48
6.3.2 Changes in CY14B116.c................................................................................48
A. Appendix 49
A.1 CY14NVSRAMKIT-001 Kit Block Diagram................................................................49
A.2 CY14NVSRAMKIT-001 Kit Components Placement.................................................50
A.3 CY14NVSRAMKIT-001 Kit Schematic.......................................................................51
A.4 Pin Assignment Table................................................................................................55
A.5 Bill of Materials (BOM)...............................................................................................58
A.6 FM4 MCU Evaluation Board......................................................................................61
Revision History 65
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.

CY14NVSRAMKIT-001 nvSRAM Development Kit User Guide, Doc. # 002-03522 Rev. *A 5
Safety Information
Regulatory Compliance
The CY14NVSRAMKIT-001 nvSRAM Development Kit is intended for use as a memory
development platform for hardware or software in a laboratory environment. The board is an open-
system design, which does not include a shielded enclosure. Therefore, the board may cause
interference with other electrical or electronic devices in close proximity.
Attaching additional wiring to this product or modifying the product operation from the factory default
may affect its performance and cause interference with other apparatus in the immediate vicinity. If
such interference is detected, suitable mitigating measures should be taken.
The CY14NVSRAMKIT-001, as shipped from the factory, has been verified to meet with the
requirements of CE as a Class A product.
The CY14NVSRAMKIT-001 contains ESD-sensitive devices.
Electrostatic charges readily accumulate on the human body and any
equipment, and can discharge without detection. Permanent damage
may occur on devices subjected to high-energy discharges. Proper
ESD precautions are recommended to avoid performance degradation
or loss of functionality. Store unused CY14NVSRAMKIT-001 boards in
the protective shipping package.
End-of-Life/Product Recycling
The end-of-life cycle for this kit is five years from the date of
manufacture mentioned on the back of the box. Contact your nearest
recycler to discard the kit.
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.

CY14NVSRAMKIT-001 nvSRAM Development Kit User Guide, Doc. # 002-03522 Rev. *A 6
General Safety Instructions
ESD Protection
ESD can damage boards and associated components. Cypress recommends that the user perform
procedures only at an ESD workstation. If an ESD workstation is not available, use appropriate ESD
protection by wearing an antistatic wrist strap attached to the chassis ground (any unpainted metal
surface) on the board when handling parts.
Handling Supercapacitors
The CY14NVSRAMKIT-001 board uses a 0.1 Farad supercapacitor for RTC backup. It is advisable
not to touch the capacitor positive pin (anode) with a bare hand or a conducting material to avoid
electrical shock.
Handling Boards
CY14NVSRAMKIT-001 boards are sensitive to ESD. Hold the board only by its edges. After
removing the board from its box, place it on a grounded, static-free surface. Use a conductive foam
pad if available. Do not slide board over any surface.
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.

CY14NVSRAMKIT-001 nvSRAM Development Kit User Guide, Doc. # 002-03522 Rev. *A 7
1. Introduction
Thank you for your interest in the CY14NVSRAMKIT-001 nvSRAM Development Kit (DVK). The kit
(shield) is designed as an easy-to-use and inexpensive development kit, showcasing the features of
Cypress high-speed, parallel access (asynchronous interface), nonvolatile SRAM (nvSRAM). This
kit works in conjunction with the SK-FM4-U120-9B560 FM4 MCU Evaluation Board, a starter kit for
ARM®Cortex®-M4-based devices. You will need both kits to demonstrate the operation described in
this guide. This board features a 16-Mbit parallel nvSRAM with real time clock (RTC) and associated
circuits, super capacitor for RTC backup in the absence of the VCC supply, FM4 mounting headers,
and test pins. This kit supports 3.3-V power supply.
Cypress nvSRAM is built on 130-nm technology and combines a silicon-oxide-nitride-oxide-silicon
(SONOS) nonvolatile data storage cell with a high-performance SRAM cell. The parallel nvSRAMs
provide the fastest nonvolatile writes at bus speed. They do not have any write delays and data is
instantly nonvolatile. Because of fast write speeds, parallel nvSRAMs need to be active for short
periods, yielding low energy consumption. Endurance is unlimited for writing into SRAM. The SRAM
data is automatically saved to nonvolatile memory upon power down.
1.1 Kit Contents
The CY14NVSRAMKIT-001 DVK includes the following contents, as shown in Figure 1-1:
■CY14NVSRAMKIT-001 DVK board
■Quick Start Guide
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.

CY14NVSRAMKIT-001 nvSRAM Development Kit User Guide, Doc. # 002-03522 Rev. *A 8
Introduction
Figure 1-1. Kit Contents
Visit www.cypress.com/CY14NVSRAMKIT-001 for more information. Inspect the contents of the kit;
if you find any part missing, contact your nearest Cypress sales office for help.
1.2 Getting Started
This guide helps you to get acquainted with the CY14NVSRAMKIT-001 DVK. The Kit Installation
chapter on page 10 describes the installation of the kit software. The Kit Overview chapter on
page 14 explains the features of the kit. The Kit Operation chapter on page 20 explains how to
program and run the kit. The Kit Software chapter on page 32 explains the GUI. The Kit Example
Firmware chapter on page 41 explains the nvSRAM access APIs and pseudo codes. The Appendix
on page 49 provides the kit block diagram, schematics, pin assignment, and the bill of materials
(BOM).
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.

CY14NVSRAMKIT-001 nvSRAM Development Kit User Guide, Doc. # 002-03522 Rev. *A 9
Introduction
1.3 Additional Learning Resources
Visit www.cypress.com/go/nvsram for additional learning resources in the form of datasheets and
application notes.
Information on the companion FM4 MCU Evaluation Board resources is available at:
FM4-U120-9B560 FM4 MCU Evaluation Board
1.4 Technical Support
For assistance, visit Cypress Support or contact customer support at +1 (800) 541-4736 Ext. 2 (in
the USA) or +1 (408) 943-2600 Ext. 2 (International).
1.5 Documentation Conventions
1.6 Acronyms and Definitions
Table 1-1. Document Conventions for Guides
Convention Usage
Courier New Displays file locations, user entered text, and source code:
C:\ ...cd\icc\
Italics Displays file names and reference documentation.
[Bracketed, Bold]Displays keyboard commands in procedures:
[Enter] or [Ctrl] [C]
File > Open Represents menu paths:
File > Open > New Project
Bold Displays commands, menu paths, and icon names in procedures:
Click the File icon and then click Open.
Times New Roman Displays an equation:
2 + 2 = 4
Text in gray boxes Describes cautions or unique functionality of the product.
Terms Description
API application programming interface
BOM bill of materials
DAP debug and programming
DNI do not install
DVK development kit
EBI external bus interface
FBGA fine-pitch ball grid array
MCU microcontroller unit
nvSRAM nonvolatile static random access memory
QSG quick start guide
RTC real time clock
TSOP thin small outline package
UG user guide
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.

CY14NVSRAMKIT-001 nvSRAM Development Kit User Guide, Doc. # 002-03522 Rev. *A 10
2. Kit Installation
This section describes the installation and uninstallation of the FM4 MCU Evaluation Board software,
driver, and the CY14NVSRAMKIT-001 DVK contents.
2.1 Install SK-FM4-U120-9B560 Kit Software and Driver
The CY14NVSRAMKIT-001 DVK works with the FM4-U120-9B560 FM4 MCU Evaluation Board.
Therefore, all software and drivers for that evaluation board need to be installed to work with the
CY14NVSRAMKIT-001 DVK. Follow these steps to install the FM4-related software and drivers.
1. Download the “Complete Driver, Documentation, Software and Tools package” from the
Documentation table on the FM4-U120-9B560 FM4 MCU Evaluation Board web page.
Click Driver, Documentation, Software and Tool package to download the zip file.
Table 2-1. FM4 MCU Documentation
2. Save the downloaded file and extract the folders and files to a local folder. Figure 2-1 shows the
contents of FM4-U120-9B560_CDv13.zip. You can download the latest version of the SK-FM4-
U120-9B560 kit driver, documentation, software, and tool at the FM4 MCU Evaluation Board
webpage.
Figure 2-1. FM4-U120-9B560_CDv13.zip File Contents
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.

CY14NVSRAMKIT-001 nvSRAM Development Kit User Guide, Doc. # 002-03522 Rev. *A 11
Kit Installation
3. To install the driver for the Debug and Programming (DAP) port (CN3) of the FM4-U120-9B560
FM4 MCU Evaluation Board, open \drivers\cmsis-dap and click driverinstaller.
Figure 2-2. Install CMSIS-DAP Driver
When the Windows security dialog pops up, click Install this driver software anyway to con-
tinue the driver installation.
4. To install the Flash MCU Programmer required to program the FM4 MCU Evaluation Board with
the nvSRAM firmware (.srec file), open \tools\PCWFM and click setup.
Figure 2-3. Install Flash MCU Programmer
The default installation location is as follows:
Windows 7 (64-bit): C:\Program Files (x86)\Spansion\FLASH MCU Programmer\FM3
Windows 7 (32-bit): C:\Program Files\Spansion\FLASH MCU Programmer\FM3
2.2 Uninstall SK-FM4-U120-9B560 Kit Software and Driver
To uninstall the software, go to Start > Control Panel > Programs and Features; select the appro-
priate software package and click Uninstall.
2.3 Install CY14NVSRAMKIT-001 DVK Contents
Follow these steps to install the CY14NVSRAMKIT-001 DVK contents.
1. Download the kit software from www.cypress.com/CY14NVSRAMKIT-001 (see Figure 2-4).
Figure 2-4. nvSRAM DVK Software
The CY14NVSRAMKIT-001 Kit Setup executable file installs the kit contents, which include kit
software, firmware, hardware files, and user documents.
2. The kit startup screen appears as shown in Figure 2-5.
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.

CY14NVSRAMKIT-001 nvSRAM Development Kit User Guide, Doc. # 002-03522 Rev. *A 12
Kit Installation
Figure 2-5. Kit Installer Startup Screen
Select the folder in which you want to install the CY14NVSRAMKIT-001 kit-related files or keep
the default (recommended). Choose the directory and click Next.
3. Select the Typical installation type in the Product Installation Overview window, as shown in
Figure 2-6. Click Next.
Figure 2-6. Product Installation Overview Window
When the installation begins, a list of packages appears on the installation page. A green check
mark appears next to each package after successful installation.
4. If this is the first Cypress product that you have installed, enter your contact information or select
Continue without Contact Information. Click Finish to complete the kit installation.
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.

CY14NVSRAMKIT-001 nvSRAM Development Kit User Guide, Doc. # 002-03522 Rev. *A 13
Kit Installation
When the installation is complete, the kit contents and software are available as follows:
<Install_Directory>\CY14NVSRAMKIT-001 nvSRAM Development Kit\1.0
<Install_Directory>\nvSRAM Kit Software\1.0
The default locations are as follows:
Kit:
Windows 7 (64-bit): C:\Program Files (x86)\Cypress\CY14NVSRAMKIT-001 nvSRAM
Development Kit\1.0
Windows 7 (32-bit): C:\Program Files\Cypress\CY14NVSRAMKIT-001 nvSRAM Develop-
ment Kit\1.0
Software:
Windows 7 (64-bit): C:\Program Files (x86)\Cypress\nvSRAM Kit Software\1.0
Windows 7 (32-bit): C:\Program Files\Cypress\ nvSRAM Kit Software\1.0
Note: For Windows 7/8/8.1 users, the installed files and the folder are read-only. To modify these
files or folders, copy them to another location on your system, change the folder property to disable
the Read-only attribute, and modify the folder.
After the installation is complete, the following are installed on your computer:
■Kit documents
❐Quick Start Guide
❐Kit Guide
❐Release Notes
■Firmware
❐Kit firmware project
■Software
❐nvSRAM kit software
■Hardware
❐Schematic
❐Layout
❐Gerber
❐PCB assembly drawing
❐Bill of Materials (BOM)
2.4 Uninstall CY14NVSRAMKIT-001 DVK Contents
The software can be uninstalled using one of the following methods:
■Go to Start >Control Panel >Programs and Features; select the appropriate software
package and click Uninstall.
■Go to Start >All Programs >Cypress >Cypress Update Manager >Cypress Update
Manager.
❐Select the CY14NVSRAMKIT-001 Kit Rev ** row and click Uninstall.
❐Select the nvSRAM Kit Rev ** row and click Uninstall.
Note: This method will uninstall only the kit software and not all the other software that may have
been installed along with the kit software.
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.

CY14NVSRAMKIT-001 nvSRAM Development Kit User Guide, Doc. # 002-03522 Rev. *A 14
3. Kit Overview
3.1 CY14NVSRAMKIT-001 Kit Overview
The CY14NVSRAMKIT-001 DVK can be used to understand the features of parallel nvSRAMs
(asynchronous interface). The DVK is an add-on board, which contains a 16-Mbit, x16, 3.3 V, parallel
nvSRAM with RTC. It provides two 30x2 headers (J1 and J3) compatible with an SK-FM4-U120-
9B560 FM4 MCU Evaluation Board. An additional two-pin header 2x1 (J2) is available next to J3 to
be used as a guide for mounting the board in the correct orientation. The kit operates using a 3.3-V
power supply from the baseboard. The CY14NVSRAMKIT-001 nvSRAM DVK consists of the
following blocks as shown in Figure 3-1.
■16-Mbit (1Mx16), parallel nvSRAM with RTC
■SK-FM4-U120-9B560 compatible headers
■3.3-V VCC power supply
■POWER LED (LED1)
■INT/INT1 STATUS LED (LED2)
■Test points for HSB (HSB# and HSB1#) and RTC (INT and INT1)
■Do Not Install (DNI) footprint for the nvSRAM with RTC in 54 TSOP II
■0.1 Farad super capacitor, which provides RTC backup for more than two days
Figure 3-1. CY14NVSRAMKIT-001 DVK Board Markup
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.

CY14NVSRAMKIT-001 nvSRAM Development Kit User Guide, Doc. # 002-03522 Rev. *A 15
Kit Overview
3.2 Kit Introduction and Configuration Guide
The following sections describe various aspects of the kit hardware and the kit setup.
3.2.1 Power Supply Jumper
The CY14NVSRAMKIT-001 DVK hardware operates at 3.3 V, selected through header J4, as shown
in Figure 3-2. The factory default jumper setting is 3.3 V (short pins 1 and 2 of J4).
Figure 3-2. VCC Select Jumper
3.2.2 Parallel nvSRAM Device
Figure 3-3 shows the 16-Mbit, 1Mx16, 3.3 V, parallel nvSRAM with RTC part in the 165 FBGA
package option.
Figure 3-3. Cypress Parallel nvSRAM Device on the Board
3.2.3 Headers to FM4 MCU Evaluation Board (SK-FM4-U120-9B560)
Figure 3-4 shows the headers to the SK-FM4-U120-9B560 board – J1, J2, and J3. You can plug the
DVK board onto the FM4 MCU Evaluation Board through these connectors. For the schematic, refer
to the Appendix on page 49.
CAUTION
■Do not power the CY14NVSRAMKIT-001 board through an external power source. The board is
designed to be powered by the FM4 MCU base board.
■The CY14NVSRAMKIT-001 operates from 2.7 V to 3.6 V. Exceeding the maximum voltage limit
(3.6 V) can damage the board.
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.

CY14NVSRAMKIT-001 nvSRAM Development Kit User Guide, Doc. # 002-03522 Rev. *A 16
Kit Overview
Figure 3-4. Headers to FM4 MCU Evaluation Board (SK-FM4-U120-9B560)
3.2.4 Interrupt (INT and INT1) Pins
The DVK board provides the nvSRAM RTC interrupt output via INT and INT1 pins for the 165 FBGA
and 54-TSOP II packages respectively; see Figure 3-5. Loading a jumper to short pin 1 and 2 of the
J5 connects the 165 FBGA nvSRAM interrupt output to the INT/INT1 STATUS LED. Similarly,
loading a jumper to short pin 3 and 4 of the J5 connects the 54 TSOP II nvSRAM interrupt output to
the INT/INT1 STATUS LED. The default loading for jumper J5 shorts pin 1 and 2 position.
The INT1 pin functionality is not available on the kit because the 54 TSOP II package is not
populated by default.
CAUTION: When the 54 TSOP II nvSRAM is populated (by the user), it is recommended to connect only one
jumper either on pin 1 and pin 2 or on pin 3 and pin 4 of J5 to monitor the interrupt outputs. Connecting two
jumpers to enable the interrupt of both devices on the INT/INT1 STATUS LED can cause output contention
when the output driver of either nvSRAM is configured as active HIGH (push or pull) output.
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.

CY14NVSRAMKIT-001 nvSRAM Development Kit User Guide, Doc. # 002-03522 Rev. *A 17
Kit Overview
Figure 3-5. Interrupt Pins
3.2.5 Test Points
The DVK board provides INT, INT1, HSB#, HSB1#, VRTCcap, VCAP, VCAP1, VCC, and GND test
points as shown in Figure 3-6. These test points are not loaded by default.
Figure 3-6. Test Points
Table 3-1. Test Points
Test Points Description
VCC Test point for the kit board VCC
INT Test point for the 165 FBGA nvSRAM interrupt output pin (INT)
INT1 Test point for the 54 TSOP II nvSRAM interrupt output pin (INT)
HSB# Test point for the 165 FBGA nvSRAM HSB# pin
HSB1# Test point for the 54 TSOP II nvSRAM HSB# pin
VRTCcap Test point for the RTC backup capacitor
VCAP Test point for the 165 FBGA nvSRAM VCAP pin
VCAP1 Test point for the 54 TSOP II nvSRAM VCAP pin
GND Test point for the kit board ground
CAUTION: The VCC test point is only for probing and measurement purposes. Do not power the kit using this
test point to avoid any damage to the board.
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.

CY14NVSRAMKIT-001 nvSRAM Development Kit User Guide, Doc. # 002-03522 Rev. *A 18
Kit Overview
3.2.6 54 TSOP II - Not Populated by Default
The DVK board provides a footprint option for the 16-Mbit nvSRAM in the 54 TSOP II package. You
can mount a 16-Mbit (1M x 16), 3.3 V, parallel nvSRAM device to evaluate the 54 TSOP II package
in addition to the default 165 FBGA option on the DVK board. An independent chip select control is
provided for the 54 TSOP II package, which enable access to the second device on the board with
an appropriate firmware modification.
Figure 3-7. 54 TSOP II - Not Populated by Default
3.3 nvSRAM and MCU Kit Connection
The FM4 MCU Evaluation Board is plugged onto the CY14NVSRAMKIT-001 through three
connectors: J1, J2, and J3, as shown in Figure 3-8.
Figure 3-8. FM4 MCU Evaluation Board Mounted on CY14NVSRAMKIT-001
CAUTION: Change the voltage setting jumper J15 on the FM4 MCU Evaluation Board to the 3V position as
indicated in Figure 3-8 and Figure 3-9 before powering the board.
CAUTION: The FM4 MCU Evaluation Board is plugged onto the CY14NVSRAMKIT-001 DVK through its
compatible headers J1, J2, and J3. Because J1 and J3 are high pin-count connectors on the FM4 MCU Eval-
uation Board, removing the FM4 MCU Evaluation Board can be difficult and may lead to bending its J1 and J3
connector pins. Therefore, take care when removing the FM4 MCU Evaluation Board from the setup. Sliding
the FM4 MCU Evaluation Board out of headers slowly and evenly will reduce the risk of bending connector
pins.
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.

CY14NVSRAMKIT-001 nvSRAM Development Kit User Guide, Doc. # 002-03522 Rev. *A 19
Kit Overview
Figure 3-9. 3.3-V Setting on FM4 MCU Evaluation Board
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.

CY14NVSRAMKIT-001 nvSRAM Development Kit User Guide, Doc. # 002-03522 Rev. *A 20
4. Kit Operation
This section describes the setup to program and run the FM4 MCU Evaluation Board to execute the
nvSRAM access on the CY14NVSRAMKIT-001 DVK.
4.1 Program the FM4 MCU Evaluation Board
The FM4 MCU is a 32-bit ARM Cortex-M4 microcontroller device. A firmware code is required to
configure the MCU as the nvSRAM host controller to access the nvSRAM device on the
CY14NVSRAMKIT-001 DVK. The firmware example code provided with the DVK collateral supports
different nvSRAM functionalities such as write/read memory access, RTC register access, hardware
store, software store, and sleep mode by toggling the dedicated sleep (ZZ#) pin on the nvSRAM.
The FM4 MCU board requires the following setup for firmware programming; see Figure 4-1:
1. Set the Prog jumper to the Programming Mode.
2. Retain USBF, USBF, and NMI jumper settings.
3. Set the 3V jumper position for 3.3 V operation.
4. Set the DAP jumper.
5. Set SOT0, SIN0, MD0, and MD1 jumpers.
6. All other jumpers, not marked, should remain unconnected.
7. Connect the MCU board to a PC via the CN3 port for programming.
Refer to A.6.4 Jumper Setting Table - FM4 MCU Evaluation Board Programming Mode on
page 63 for more details.
Figure 4-1. FM4 MCU Evaluation Board Jumper Setting in Programming Mode
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.
Table of contents
Popular Microcontroller manuals by other brands

Renesas
Renesas RX600 Series user manual

Pololu Corporation
Pololu Corporation M2H24v14 user guide

ELAN Microelectronics Corporation
ELAN Microelectronics Corporation RISC II Series Product specification

Cypress
Cypress CY3641 quick start guide

ST
ST STM32F746IGT6 user manual

GRAYHILL
GRAYHILL 3D70Dev-100 Kit quick start guide

Tsyklon Labs
Tsyklon Labs KOSMODROM CHAOS DIVIDER Build instructions

KANDA
KANDA KEYFOB quick start guide

Megawin
Megawin MLink OCD8 user manual

NXP Semiconductors
NXP Semiconductors SE050 quick start guide

NXP Semiconductors
NXP Semiconductors FRDM-KW24D512 user guide

Cypress
Cypress CY15FRAMKIT-002 user guide