B. Appendix
This section is applicable only if the user includes the guiMENU (.c/.h) files in the project. The API provided in these files
allows for testing the QSPI F-RAM device mounted on the CY15FRAMKIT-002 board by sending commands over the serial
interface to the controller. On the NUCLEO board, LPUART1 is connected to the virtual COM port and it will be used as the
serial interface to communicate with the controller.
GUI Menu
For ease of evaluating the features of the QSPI F-RAM, the function void GUI_Menu(void); has been provided. The
example project provided with the drivers calls this function in an infinite loop. It allows you to send appropriate commands
over the serial interface to communicate with the F-RAM. The following table summarizes the command set for the GUI.
Entering "000" in a terminal window will provide a summary of supported functions.
Command/ Opcode
RDSR1 (05)
Prints out SR1 value on the terminal. Stores the read
value in the operating_mode structure.
RDSR2 (07)
Prints out SR2 value on the terminal. Stores the read
value in the operating_mode structure.
Prints out CR1 value on the terminal. Stores the read
RDCR1 (35)
value in the operating_mode structure.
Prints out CR2 value on the terminal. Stores the read
RDCR2 (3F)
value in the operating_mode structure.
RDCR4 (45)
Prints out CR4 value on the terminal. Stores the read
value in the operating_mode structure.
Prints out CR5 value on the terminal. Stores the read
RDCR5 (5E)
value in the operating_mode structure.
WRAR (71)
Write Any register.
RDAR (65)
Read Any register.
DID (9F)
Read ID register and stores the value in the
operating_mode structure.
RUID (4C)
Read Unique ID register and stores the value in the
operating_mode structure.
WRSN (C2)
Update Serial Number register.
CY15FRAMKIT-002 Serial F-RAM Development Kit User Guide, Document Number: 002-23147 Rev. *A
Description
QSPI Opcode based commands
Notes
The function waits for the user input on register
address and new register value. The register
address value should range from 00 to 06 in
decimal. Data to be written in the register must
be in Hexadecimal. See the device datasheet
for details of legal register values.
The function waits for user input on register
address. The register value is printed out on the
terminal. The register address value should
range from 00 to 06 in decimal.
Default value is 0x5051820600000000.
The function waits for 8-bytes of new serial
number.Enter 8 bytes in hexadecimal separated
by space between each byte.
For example:
Opcode/Command: c2
Current SN Reg: 1123445677080c12
Enter New SN Value: 11 22 33 44 55 66 77 88
33
Need help?
Do you have a question about the CY15FRAMKIT-002 and is the answer not in the manual?
Questions and answers