PMOD SF Pmodsf Rm Reference Manual

User Manual: Pdf

Open the PDF directly: View PDF PDF.
Page Count: 2

DownloadPMOD SF - Pmodsf Rm Reference Manual
Open PDF In BrowserView PDF
1300 Henley Court
Pullman, WA 99163
509.334.6306
www.digilentinc.com

PmodSF™ Reference Manual
Revised May 24, 2016
This manual applies to the PmodSF rev. C

Overview
The PmodSF provides users with 16Mbit of non-volatile memory through the use of ST Microelectronics M25P16.
By using the SPI protocol, users can both write to and read from the flash memory.

Features include:







16Mbit serial Flash memory
Data retention greater than 20 years
Small PCB size for flexible designs 1.0“ ×
20/8” (2.5 cm × 2.0 cm)
6-pin Pmod connector with SPI interface
Follows Digilent Interface Specification Type
2
Library and example code available
in resource center

The PmodSF.

1

Functional Description

The PmodSF utilizes ST Microelectronics M25P16 which provides 16 Mbits of flash memory that can be accessed
through the SPI protocol. Although this amount of memory is very small compared to modern flash drives, the
PmodSF is a great way to get introduced to controlling non-volatile memory and can be easily incorporated into
projects that need a way to store some information without using the USB interface.

2

Interfacing with the Pmod

The PmodSF communicates with the host board via the SPI protocol. By bringing the Chip Select (CS) line low, users
are able to issue a variety of read, write, and erase commands to the memory chip. A table of the available
commands for the M25P16 from its respective datasheet is provided below:

DOC#: 502-103

Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.

Page 1 of 2

PmodSF™ Reference Manual

Instruction

Description

WREN
WRDI
RDID

Write Enable
Write Disable
Read Identification
Read Status
Register
Write Status
Register
Read Data Bytes
Read Data Bytes at
Higher Speed
Page Program
Sector Erase
Bulk Erase
Deep Power-down
Release from DP
and Read Electronic
Signature

RDSR
WRSR
READ
FAST_READ
PP
SE
BE
DP

RES

One-Byte
Instruction
Code
0x06
0x04
0x9F

Number of
Address Bytes

Number of
Dummy Bytes

Number of Data
Bytes

0
0
0

0
0
0

0
0
1 to 3

0x05

0

0

1 to ∞

0x01

0

0

1

0x03

3

0

1 to ∞

0x0B

3

1

1 to ∞

0x02
0xD8
0xC7
0xB9

3
3
0
0

0
0
0
0

1 to 256
0
0
0

0

3

1 to ∞

0

0

0

0xAB

Release from DP

The address bits range from 0x000000 to 0x1FFFFF, with the first two hexadecimal bits indicating which memory
sector the data is located in. Thankfully, users do not have to explicitly worry about writing to and reading from the
memory module, as there is a library that takes care of these commands for us.

Pin
1
2
3
4
5
6

Signal
~CS
MOSI
MISO
SCK
GND
VCC

Description
Chip Select
Master-Out-Slave-In
Master-In-Slave-Out
Serial Clock
Power Supply Ground
Positive Power Supply (3.3V)

Any external power applied to the PmodSF must be within 2.7V and 3.6V; it is recommended that the Pmod is
operated at 3.3V.

2

Physical Dimensions

The pins on the pin header are spaced 100 mil apart. The PCB is 1 inch long on the sides parallel to the pins on the
pin header and 0.8 inches long on the sides perpendicular to the pin header. .
Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.

Page 2 of 2



Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.5
Linearized                      : No
Page Count                      : 2
Language                        : en-US
Tagged PDF                      : Yes
Author                          : Norman MacDonald
Creator                         : Microsoft® Word 2013
Create Date                     : 2016:05:24 13:01:22-07:00
Modify Date                     : 2016:05:24 13:01:22-07:00
Producer                        : Microsoft® Word 2013
EXIF Metadata provided by EXIF.tools

Navigation menu