Flash Memory - Digilent Basys MX3 Reference Manual

Hide thumbs Also See for Basys MX3:
Table of Contents

Advertisement

7/30/2019
Note that RC1(SPI2_SI) and RC4 (SPI2_SO) need to be remapped to perform SDO2 and SDI2 functions. Also, note that the naming of the
signals is reversed, as SPI2_SI and SPI2_SO are named from slave perspective, while SDO2 and SDI2 are named from the microcontroller
perspective.
Table 11.1. SPI connectivity.
Pmod A pin
Function
JA1
SPI2_SS
JA2
SPI2_SI
JA3
SPI2_SO
JA4
SPI2_SCK
Communication over the SPI2 interface is implemented in the SPIJA library of the Basys MX3 library pack.

12. Flash Memory

The Basys MX3 comes with 4 MB () of onboard flash memory. The part used is the Spansion S25FL132 and is an SPI memory. More
information about the SPI interface is found in the Serial Peripheral Interface section.
Figure 12.1 depicts the way the Flash memory is controlled by digital signals.
It contains 1024 sectors of 4 KB, making the total capacity 4MB. The following table, shown in Table 12.1 extracted from the S25FL132K
datasheet, shows the main memory address map.
Table 12.1. S25FL132K Main Memory Address Map.
Sector Size (kbyte)
4
https://reference.digilentinc.com/reference/microprocessor/basys-mx3/reference-manual?_ga=2.68739409.1349070004.1564406803-1961480359....
Basys MX3 Reference Manual [Reference.Digilentinc]
PIC32 Pin
RPC2/RC2
RPC1/RC1
RPC4/CTED7/RC4
AN16/C1IND/RPG6/SCK2/PMA5/RG6
Sector Count
Sector Range
1024
SA0
:
Needed Mapping for SPI2
RPC1R = 0x06; // SDO2 – RC1
SDI2R = 0x0A; // SDI2 – RC4
Address Range (Byte Address)
000000h-000FFFh
:
Notes
Sector Starting Address
-
28/52

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Basys MX3 and is the answer not in the manual?

Table of Contents