Digilent Nexys2 Reference Manual Download Page 13

Nexys2 Reference Manual 

 

Digilent 

www.digilentinc.com 

 

Copyright Digilent, Inc. 

  Page 13/17 

                                  Doc: 502-134 

 

Serial Port 

 
The Nexys2 contains a two-wire serial port based on an ST Microelectronics ST3232 voltage 
converter. The ST3232 converts the signal levels used by RS-232 communications (-12 to -3 for a 
logic ‘1’ and 12V to 3V for a logic ‘0’) to the 3.3V signals used by the FPGA.  Since only two signals 
are connected (RXD and TXD), an FPGA-based serial port controller can only use software hand-
shaking protocols (XON/XOFF). The Nexys2 serial port is useful for many applications, and in 
particular for debugging and working with Xilinx’s MicroBlaze embedded processor. 
 
The two devices connected to either end of a serial cable are known as the Data Terminal Equipment 
(DTE) and the Data Communications Equipment (DCE). The DCE was originally conceived to be a 
modem, but now many devices connect to a computer as a DCE. A DTE “source” device uses a male 
DB-9 connector, and a DCE 
“peripheral” device uses a female 
DB-9 connector. Two DTE devices 
can be connected via a serial 
cable only if lines two and three 
(RXD and TXD) are crossed, 
producing what is known as a null 
modem cable. A DTE and DCE 
device can be connected with a 
straight-through cable. The 
Nexys2 is configured as a DCE 
device, with the assumption it will 
most typically be connected to a 
DTE device like a computer. 
 
 

Memory 

 
The Nexys2 board has external RAM and ROM devices. The external RAM is a 128Mbit Micron 
M45W8MW16 Cellular RAM pseudo-static DRAM device organized as 8Mbytes x 16bits. It can 
operate as a typical asynchronous SRAM with read and write cycle times of 70ns, or as a 
synchronous memory with an 80MHz bus. When operated as an asynchronous SRAM, the Cellular 
RAM automatically refreshes its internal DRAM arrays, allowing for a simplified memory controller 
design (similar to any SRAM) in the FPGA. When operated in synchronous mode, continuous 
transfers of up to 80MHz are possible. 
 
The external ROM is a 128Mbit Intel TE28F128J3D75-110 StrataFlash device organized as 8Mbytes 
x 16bits. Internally, it contains 128 blocks that can be individually erased, and it supports 110ns read 
cycle times, with 25ns page-mode reads within blocks. It has an internal 32-byte write buffer that can 
be written with 70ns cycle times, and the 32-byte buffer can be transferred to the Flash array in 218us 
(typical). 
 
Both devices share a common 16-bit data bus and 24-bit address bus. The Cellular RAM is byte 
addressable using the upper-byte and lower-byte signals (MT-UB and MT-LB), but the StrataFlash is 
configured for 16 byte operations only (it is not byte addressable). The output enable (OE) and write 
enable (WE) signals are shared by both devices, but each device has individual chip enable (CE) 
signals. Additionally, the Cellular RAM has clock (MT-CLK), wait (MT-WAIT), address valid (MT-ADV) 
and control register enable (MT_CRE) signals available to the FPGA for use with synchronous 
transfers, and the StrataFlash has Reset (RP#) and status (STS) signals routed to the FPGA. 

P9

Spartan 3E
FPGA

DB-9

U6

100

DCD
RXD
TXD
DTR
SG
DSR
RTS
CTS
RI

1

2

3

4

5

6

7

8

9

ST3232

RS-232 
voltage 
converter

T1OUT

R1IN

T1IN
R1OUT

 

 

Figure 21: Nexys2 serial port circuit 

Summary of Contents for Nexys2

Page 1: ...nd a host of sensor and actuator interfaces All user accessible signals on the Nexys2 board are ESD and short circuit protected ensuring a long operating life in any environment The Nexys2 board is fu...

Page 2: ...ply and 100mA from the 3 3V supply Required current will increase if larger circuits are configured in the FPGA and if peripheral boards are attached The table above summarizes the power supply parame...

Page 3: ...e USB port A jumper on the Nexys2 board determines which source PC or ROM the FPGA will use to load its configuration The FPGA will automatically load a configuration from the Platform Flash ROM at po...

Page 4: ...udes a 50MHz oscillator and a socket for a second oscillator Clock signals from the oscillators connect to global clock input pins on the FPGA so they can drive the clock synthesizer blocks available...

Page 5: ...rent A ninth LED is provided as a power on LED and a tenth LED indicates FPGA programming status Note that LEDs 4 7 have different pin assignments due to pinout differences between the 500 and the 120...

Page 6: ...ter of the time but because the eye cannot perceive the darkening of a digit before it is illuminated again the digit appears continuously illuminated If the update or refresh rate is slowed to around...

Page 7: ...s 500mA and then activates a transistor switch to connect the USB cable voltage to the main input power bus The Nexys2 board typically draws around 300mA from the USB cable and care should be taken es...

Page 8: ...scan code When an extended key is released an E0 F0 key up code is sent followed by the scan code Scan codes for most keys are shown in the figure A host device can also send data to the keyboard Belo...

Page 9: ...period is 20 to 30KHz The mouse assumes a relative coordinate system wherein moving the mouse to the right generates a positive number in the X field and moving to the left generates a negative numbe...

Page 10: ...precise information or for information on other VGA frequencies refer to documentation available at the VESA website CRT based VGA displays use amplitude modulated moving electron beams or cathode ra...

Page 11: ...to right and top to bottom and not during the time the beam is reset back to the left or top edge of the display Much of the potential display time is therefore lost in blanking periods when the beam...

Page 12: ...erived Timings for sync pulse width and front and back porch intervals porch intervals are the pre and post sync pulse times during which information cannot be displayed are based on observations take...

Page 13: ...tatic DRAM device organized as 8Mbytes x 16bits It can operate as a typical asynchronous SRAM with read and write cycle times of 70ns or as a synchronous memory with an 80MHz bus When operated as an a...

Page 14: ...plete information is available for both devices from the manufacturer websites Table 2 Memory Address and Data Bus Pin Assignments Address signals Data signals ADDR0 NA ADDR8 H6 ADDR16 M5 DATA0 L1 DAT...

Page 15: ...nectors are labeled JA nearest the power jack JB JC and JD nearest the expansion connector Pinouts for the Pmod connectors are provided in the table below More than 30 low cost are available for attac...

Page 16: ...e FX2 Connector Pin Assignments J1A Name FPGA J1B Name FPGA 1 VCC3V3 1 SHIELD 2 VCC3V3 2 GND 3 TMS D15 3 TDO ROM 4 JTSEL 4 TCK A17 5 TDO FX2 5 GND 6 FX2 IO1 B4 6 GND 7 FX2 IO2 A4 7 GND 8 FX2 IO3 C3 8...

Page 17: ...e FAIL After the memory test the buttons and switches will drive the LEDs and seven segment display so that all user I O devices can be manually checked If the self test is not resident in the Platfor...

Page 18: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Digilent 410 134P KIT...

Reviews: