fpga4fun.com - where FPGAs are fun.
Home
Welcome
Information


FPGA projects
Music box
Pong game
R/C servos
Text LCD module
Quadrature decoder
PWM and one-bit DAC
Debouncer
LED displays
Crossing clock domains
External contributions

FPGA interface projects
RS-232
JTAG
I2C
EPP
SPI
CNC steppers

FPGA advanced projects
Graphic LCD panel
Digital oscilloscope
10BASE-T interface
PCI interface
Spoc CPU core

Hands-on
A simple oscilloscope


FPGA introduction
What are FPGAs?
How FPGAs work
FPGA pins
Clocks and global lines
Download cables
Configuration
Learn more

FPGA software
Design software
Pin assignment
Design-entry/HDL
Simulation/HDL
Synthesis and P&R

FPGA electronic
SMD technology
Crystals and oscillators

HDL info
HDL tutorials
Verilog tips
VHDL tips

Quick-start guides
ISE
Quartus

Site
News
FPGA links
HDL tutorials
Forum


Serial interface (RS-232)

A serial interface is a simple way to connect an FPGA to a PC.

This project shows how to create two blocks in an FPGA.

RS-232 transmitter

It creates an RS232 signal "TxD" by serializing the data to transmit.

RS-232 receiver

It takes an RS232 signal "RxD" from outside the FPGA and "de-serializes" it for easy use inside the FPGA.

This project has 5 parts
  1. How the RS-232 serial interface works
  2. Baud generator
  3. Transmitter module
  4. Receiver module
  5. Example of use

The project's code can be found here.






This page was last updated on February 05 2008.