Hardware UART for the TMS320C3x

Similar documents
Dual Access into Single- Access RAM on a C5x Device

Reading a 16-Bit Bus With the TMS320C5x Serial Port

TMS320C5x Memory Paging (Expanding its Address Reach)

Implementation of a CELP Speech Coder for the TMS320C30 using SPOX

Bit-reversed Addressing without Data Alignment on the C3x

C Routines for Setting Up the AIC on the TMS320C5x EVM

SN5446A, 47A, 48, SN54LS47, LS48, LS49 SN7446A, 47A, 48, SN74LS47, LS48, LS49 BCD-TO-SEVEN-SEGMENT DECODERS/DRIVERS

TMS320 DSP DESIGNER S NOTEBOOK. Serial ROM Boot APPLICATION BRIEF: SPRA233. Alex Tessarolo Digital Signal Processing Products Semiconductor Group

TMS320C5x Interrupt Response Time

Nested Loop Optimization on the TMS320C6x

Speech Control for Virtual Instruments Using the TMS320C30 DSP

Writing TMS320C8x PP Code Under the Multitasking Executive

TMS320 DSP DESIGNER S NOTEBOOK. Multipass Linking APPLICATION BRIEF: SPRA257. Tom Horner Digital Signal Processing Products Semiconductor Group

Performance Analysis of Line Echo Cancellation Implementation Using TMS320C6201

Debugging Shared Memory Systems

27 - Line SCSI Terminator With Split Reverse Disconnect

SN54BCT760, SN74BCT760 OCTAL BUFFERS/DRIVERS WITH OPEN-COLLECTOR OUTPUTS

TMS320C62x, TMS320C67x DSP Cache Performance on Vocoder Benchmarks

Techniques for Profiling on ROM-Based Applications

SN54F38, SN74F38 QUADRUPLE 2-INPUT POSITIVE-NAND BUFFERS WITH OPEN-COLLECTOR OUTPUTS

Using LDOs and Power Managers in Systems With Redundant Power Supplies

The PCMCIA DSP Card: An All-in-One Communications System

DatasheetDirect.com. Visit to get your free datasheets. This datasheet has been downloaded by


Creating Single Section for Boot Load When.const Section is Defined

WM8805_6152_DS28_EV1_REV3 Schematic and Layout. WM8805_6152_DS28_EV1_REV3 Schematic and Layout. Customer Information 1 of 18 June 2007, Rev 3.

SN54ALS32, SN54AS32, SN74ALS32, SN74AS32 QUADRUPLE 2-INPUT POSITIVE-OR GATES

74AC11139 DUAL 2-LINE DECODER/DEMULTIPLEXER

Getting Started Guide: TMS-FET470A256 IAR Kickstart Development Kit

SN54ALS04B, SN54AS04, SN74ALS04B, SN74AS04 HEX INVERTERS

Implementing JTAG Testing with MPEG2Lynx

Using the bq3285/7e in a Green or Portable Environment

Application Report. Mixed Signal Products SLOA028

EV Evaluation System User Guide. Contents. Kit Contents. Introduction

bq2056 Designed to Go Parts List General Description bq2056 Charge Algorithm Current Voltage

Increase Current Drive Using LVDS

Understanding the TMS320C54x Memory Map and Examining an Optimum C5000 Memory Interface

74AC11240 OCTAL BUFFER/LINE DRIVER WITH 3-STATE OUTPUTS

A Multichannel/Algorithm Implementation on the TMS320C6000 DSP

WM DS28-EV1-REV2 Schematic and Layout WOLFSON DEVICE(S):

Using Boundary Scan on the TMS320VC5420

Connecting TMS320C54x DSP with Flash Memory

WM DS28-EV2-REV1 Schematic and Layout

Logic Solutions for IEEE Std 1284

SN54ALS645A, SN54AS645, SN74ALS645A, SN74AS645 OCTAL BUS TRANSCEIVERS WITH 3-STATE OUTPUTS

12MHz XTAL USB DAC PCM2702E

CUSTOM GOOGLE SEARCH. User Guide. User Guide Page 1

SN54LVTH16240, SN74LVTH V ABT 16-BIT BUFFERS/DRIVERS WITH 3-STATE OUTPUTS

SN54ALS74A, SN54AS74, SN74ALS74A, SN74AS74 DUAL D-TYPE POSITIVE-EDGE-TRIGGERED FLIP-FLOPS WITH CLEAR AND PRESET

DV2003S1. Fast Charge Development System. Control of On-Board P-FET Switch-Mode Regulator. Features. Connection Descriptions. General Description

SN74ALS533A, SN74AS533A OCTAL D-TYPE TRANSPARENT LATCHES WITH 3-STATE OUTPUTS SDAS270 DECEMBER 1994

Microphone Power Gating. Top. Back SPKR. Figure 1 Example Microphone Placement in a Mobile Phone

MC1488, SN55188, SN75188 QUADRUPLE LINE DRIVERS

IT900 STK4 (Starter Kit)

WM CS20-M-REV2

INVENTORY HISTORY REPORT EXTENSION. User Guide. User Guide Page 1

WM DT16-EV1. Customer Standalone Board WOLFSON DEVICE(S): DATE: August 2009

Designed to GO... Universal Battery Monitor Using the bq2018 Power Minder IC. Typical Applications. Features. Figure 1. bq2018 Circuit Connection

WM DT20-EV1. Customer Standalone Board WOLFSON DEVICE(S): DATE: September 2009

SN54ALS573C, SN54AS573A, SN74ALS573C, SN74AS573A OCTAL D-TYPE TRANSPARENT LATCHES WITH 3-STATE OUTPUTS

INVENTORY REPORT EXTENSION. User Guide. User Guide Page 1

C Fast RTS Library User Guide (Rev 1.0)

Faster Scan Conversion Using the TMS320C80

A DSP/BIOS AIC23 Codec Device Driver for the TMS320C5510 DSK

Constant Temperature Chamber ATITRS1. Figure 1. Top View. Figure 2. Front View

ADD RELATED PRODUCTS TO CART. User Guide. User Guide Page 1

~ > TEXAS~ SN5427, SN54LS27, SN7427, SN74LS27 TRIPLE 3-INPUT POSITIVE-NOR GATES. Vee INSTRUMENTS POST OFOICE BOX OALLAS.

L293 QUADRUPLE HALF-H DRIVER

Configuring Code Composer Studio for OMAP Debugging

System Testability Using Standard Logic

TPA4861 Audio Power Amplifier Evaluation Module DATA MANUAL: SLOU004

TLK10081 EVM Quick Start Guide Texas Instruments Communications Interface Products

Developing Plug-and-Play COM Ports using TI Plug-and-Play Controllers

A DSP/BIOS AIC23 Codec Device Driver for the TMS320C6416 DSK

LPGD SBDN GND 4VR PZVS VLMU VLML PZVO PIZO. 3 GND Signal ground Signal ground pin. Connect ADC and DAC grounds to here.

Using the TMS320C5509 USB Bootloader

Texas Instruments Voltage-Level-Translation Devices

TMS320C6000 DSP Expansion Bus: Multiple DSP Connection Using Asynchronous Host Mode

Voltage Translation (5 V, 3.3 V, 2.5 V, 1.8 V), Switching Standards, and Bus Contention

Analog Technologies. Laser Driver Load Assembly ATLS212DLD1.0 Load Assembly for Laser Drivers

TM124MBK36C, TM124MBK36S BY 36-BIT TM248NBK36C, TM248NBK36S BY 36-BIT DYNAMIC RAM MODULE

TMS320C64x DSP Peripheral Component Interconnect (PCI) Performance

Evaluation Board for High Voltage ATLSXA216D Series Laser Drivers

IMPORT/EXPORT Newsletter Subscribers. User Guide. User Guide Page 1

Pin # Name Type Description

1998 Technical Documentation Services

NO P.O. BOXES ALLOWED AT CHECKOUT. User Guide. User Guide Page 1

SavvyCube Ecommerce Analytics Connector by MageWorx. User Guide

Using the TMS320 DSP Algorithm Standard in a Dynamic DSP System

Pin # Name Type Description

Texas Instruments Solution for Undershoot Protection for Bus Switches

OMAP SW. Release Notes. OMAP Software Tools OST version 2.5 Release. 16xx/1710/242x platforms. Document Revision: 2.5 Release

I2C and the TAS3001C. Introduction. The I2C Protocol. Digital Audio Group ABSTRACT

As of October 1, 1998, our address is:

GUEST CHECKOUT TO REGISTERED CUSTOMERS. User Guide. User Guide Page 1

TMS320C6000 DSP Software-Programmable Phase-Locked Loop (PLL) Controller Reference Guide

2. IMPORTANT CONCEPTS REGARDING CobraNet CLOCKING

UCC3917 Floating Hot Swap Power Manager Evaluation Board

November 2000 Mixed-Signal Products SLOU086

Analog Technologies. Laser Driver Load Assembly ATLS212DLD1.0 Load Assembly for Laser Drivers

Transcription:

TMS320 DSP DESIGNER S NOTEBOOK Hardware UART for the TMS320C3x APPLICATION BRIEF: SPRA223 Contributed by Lawrence Wong Digital Signal Processing Products Semiconductor Group Texas Instruments June 1993

IMPORTANT NOTICE Texas Instruments and its subsidiaries (TI) reserve the right to make changes to their products or to discontinue any product or service without notice, and advise customers to obtain the latest version of relevant information to verify, before placing orders, that information being relied on is current and complete. All products are sold subject to the terms and conditions of sale supplied at the time of order acknowledgement, including those pertaining to warranty, patent infringement, and limitation of liability. TI warrants performance of its semiconductor products to the specifications applicable at the time of sale in accordance with TI's standard warranty. Testing and other quality control techniques are utilized to the extent TI deems necessary to support this warranty. Specific testing of all parameters of each device is not necessarily performed, except those mandated by government requirements. CERTAIN APPLICATIONS USING SEMICONDUCTOR PRODUCTS MAY INVOLVE POTENTIAL RISKS OF DEATH, PERSONAL INJURY, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE ( CRITICAL APPLICATIONS"). TI SEMICONDUCTOR PRODUCTS ARE NOT DESIGNED, AUTHORIZED, OR WARRANTED TO BE SUITABLE FOR USE IN LIFE-SUPPORT DEVICES OR SYSTEMS OR OTHER CRITICAL APPLICATIONS. INCLUSION OF TI PRODUCTS IN SUCH APPLICATIONS IS UNDERSTOOD TO BE FULLY AT THE CUSTOMER'S RISK. In order to minimize risks associated with the customer's applications, adequate design and operating safeguards must be provided by the customer to minimize inherent or procedural hazards. TI assumes no liability for applications assistance or customer product design. TI does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or other intellectual property right of TI covering or relating to any combination, machine, or process in which such semiconductor products or services might be or are used. TI's publication of information regarding any third party's products or services does not constitute TI's approval, warranty, or endorsement thereof. Copyright Ó 1999 Texas Instruments Incorporated

TRADEMARKS TI is a trademark of Texas Instruments Incorporated. Other brands and names are the property of their respective owners.

CONTACT INFORMATION US TMS320 HOTLINE (281) 274-2320 US TMS320 FAX (281) 274-2324 US TMS320 BBS (281) 274-2323 US TMS320 email dsph@ti.com

Contents Abstract...7 Design Problem...8 Solution...8 Figures Figure 1. Hardware UART...8 Figure 2. Transmit Circuitry...9 Figure 3. Receive Circuitry...10

break

Hardware UART for the TMS320C3x Abstract The TMS320C3X does not offer a UART for asynchronous communication. On the TI Digital Signal Processor BBS there is a software UART emulator available. This will allow the TMS320C3x to perform asynchronous communication. There are some instances that a hardware UART may be necessary for a particular application. This document describes one possible solution for implementing a hardware UART. This design was originally done in an FPGA and it can be easily transferred to an ASIC. Modification to this design can be done to accommodate faster data rates or different communication protocols. Several schematics are provided. Hardware UART for the TMS320C3x 7

Design Problem Solution Figure 1. Hardware UART The TMS320C3X does not offer a UART for asynchronous communication. On the TI DSP BBS there is a software UART emulator available. This will allow the TMS320C3x to perform asynchronous communication. There are some instances that a hardware UART may be necessary for a particular application. The following describes one possible solution for implementing a hardware UART. This design was originally done in an FPGA and it can be easily transferred to an ASIC. Modification to this design can be done to accommodate faster data rates or different communication protocols. The following schematic is for a 9600-baud UART with one stop bit and a start bit. The clock signal, H3, is supplied to the circuit from the TMS320C3x. The DSP was running with a 25-MHz clock, which was necessary for a particular application. Modification to the FPGA timing circuit will be necessary to accommodate a higher clock speed for the DSP. 8 SPRA223

Figure 2. Transmit Circuitry The TMS320C30 transmit section of the serial port is configured to output eight bits of data at a rate of approximately 9.6 khz. This is achieved by using one of the TMS320C30 s internal timers and programming it to the desired 9.6 khz frequency. The transmitting port is configured in the fixed burst mode. This allows the leading FSX signals to help initiate a start bit for the UART protocols. The stop bit is generated at the end of the eighth bit by the UART circuitry. The receive section of the UART is activated when the circuitry detects the start bit. The start bit is a logical zero. The delay circuit is activated on the falling edge of the start bit. The delay is used so that sampling of the incoming data bits occur in the middle of the signal level, thus causing the UART to have a higher noise immunity. Hardware UART for the TMS320C3x 9

Figure 3. Receive Circuitry After the delay is performed, the timer is activated. The timer has a period of 104 ms, which is approximately 9.6 khz. At each period, a data is sampled into an eight-bit shift register. After all eight bits are received, the data is passed to the TMS320C30 at a speed of 1 8 of the H3 clock. The FPGA circuitry interfaces the TMS320C30 in the fixed burst mode of operation to the serial port. Both the clock and the frame sync signals are generated by the FPGA circuitry. This UART circuitry can easily be designed into an ASIC that could also be incorporated into a Configurable Digital Signal Processor (cdsp). Modification to this circuit could be done for different serial communication protocols or even higher baud rates. 10 SPRA223