TAMS / Java / Hades / applets: contents | previous | next | ||||
Hades Applets contents visual index introduction std_logic_1164 gatelevel circuits delay models flipflops adders and arithm... counters LFSR and selftest memories programmable logic state-machine editor misc. demos LED sign RS232 transm... RS232 transm... controller shift-register input-buffer RS232 receiv... RS232 receiver controller shift-register output-buffer FSK modem FSK modulator I/O and displays DCF-77 clock relays (switch-le... CMOS circuits (sw... RTLIB logic RTLIB registers Prima processor D*CORE MicroJava Pic16 cosimulation Mips R3000 cosimu... Intel MCS4 (i4004) image processing ... [Sch04] Codeumsetzer [Sch04] Addierer [Sch04] Flipflops [Sch04] Schaltwerke [Sch04] RALU, Min... [Fer05] State-Mac... [Fer05] PIC16F84/... [Fer05] Miscellan... [Fer05] Femtojava FreeTTS | RS232 transmitter
Circuit Description
This circuit shows an example implementation of a
parallel-to-serial converter for RS-232 protocol communication.
See the
previous applet
for the in-system demonstration of the transmitter.
We expect the input data via the eight data input ports. A rising-edge on the strobe input signals that the input data is valid and should be transmitted. To avoid blocking the data generator during a transmission, a separate input-buffer register is provided. As the clock input of this register is directly connected to the strobe input, the buffer-register will be loaded on the rising-edge of the strobe signal. The strobe signal also triggers the controller block, which coordinates the transmission. The shift-register block consists of a parallel-load serial-out shift-register with a few extra stages to automatically generate the start- and stop-bits required by the RS-232 protocol. The output from the shift-register is directly used as the RS-232 data. Obviously, the frequency of the clock signal must be chosen to match the expected baud-rate of the RS-232 channel. The busy signal indicates an on-going transmission. To avoid overwriting data in the input-buffer, no strobe signal must be given during a transmission. The overrun signal is provided to signal such error, but it is not implemented yet.
| |||
Print version | Run this demo in the Hades editor (via Java WebStart) | ||||
Usage | FAQ | About | License | Feedback | Tutorial (PDF) | Referenzkarte (PDF, in German) | ||||
Impressum | http://tams.informatik.uni-hamburg.de/applets/hades/webdemos/45-misc/30-uart/transmitter.html |