Texas-instruments TMS320DM643X DMP Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Sprzęt komputerowy Texas-instruments TMS320DM643X DMP. Texas Instruments TMS320DM643X DMP User Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj

Podsumowanie treści

Strona 1 - User's Guide

TMS320DM643x DMPUniversal Asynchronous Receiver/Transmitter(UART)User's GuideLiterature Number: SPRU997CDecember 2009

Strona 2 - SPRU997C–December 2009

Divisor +UART input clock frequencyDesired baud rate 16ProcessorgeneratorClockDLH:DLLUART input clockDSP input clockUARTReceivertiming andcontrolTra

Strona 3

BCLKEach bit lasts 16 BCLK cycles.When receiving, the UART samples the bit in the 8th cycle.D0TX,RXD1 D2PARITYD7D6D5STOP2STOP1D1 D4D2 D3STARTD0TX,RXUA

Strona 4

Peripheral Architecturewww.ti.com2.2 Signal DescriptionsThe UARTs utilize a minimal number of signal connections to interface with external devices. T

Strona 5

www.ti.comPeripheral Architecture2.4.3 Data FormatThe UART transmits in the following format:1 START bit + data bits (5, 6, 7, 8) + 1 PARITY bit (opti

Strona 6 - Read This First

Peripheral Architecturewww.ti.com2.6 Operation2.6.1 TransmissionThe UART transmitter section includes a transmitter hold register (THR) and a transmit

Strona 7

www.ti.comPeripheral Architecture2.6.3 FIFO ModesThe following two modes can be used for servicing the receiver and transmitter FIFOs:• FIFO interrupt

Strona 8 - 1.3 Functional Block Diagram

rtsReceiverFIFOD[7:0]UARTSerial toParallelFlowControlTransmitterFIFOParallel toSerialFlowControlParallel toSerialFlowControlSerial toParallelFlowContr

Strona 9 - Figure 1. UART Block Diagram

RXRTSStart Start StartStopStopBits NBits N+1Start StopTXCTSStart StopBits0−7 Start StopBits 0−7 Start StopBits 0−7www.ti.comPeripheral Architecture2.6

Strona 10 - 2 Peripheral Architecture

Peripheral Architecturewww.ti.com2.7 Reset Considerations2.7.1 Software Reset ConsiderationsTwo bits in the power and emulation management register (P

Strona 11

UART interruptrequest to CPUIER(ETBEI)IER(ERBI)Transmitter holdingregister emptyReceiver data readyTHREINTRDRINTOverrun errorIER(ELSI)RTOINTConditions

Strona 12 - 2.4 Protocol Description

2SPRU997C–December 2009Submit Documentation FeedbackCopyright © 2009, Texas Instruments Incorporated

Strona 13 - 2.5 Endianness Considerations

Peripheral Architecturewww.ti.com2.10 DMA Event SupportIn the FIFO mode, the UART generates the following two DMA events:• Receive event (URXEVT): The

Strona 14 - 2.6 Operation

www.ti.comRegisters2.13 Exception Processing2.13.1 Divisor Latch Not ProgrammedSince the processor reset signal has no effect on the divisor latch, th

Strona 15 - Peripheral Architecture

Registerswww.ti.com3.1 Receiver Buffer Register (RBR)The receiver buffer register (RBR) is shown in Figure 9 and described in Table 7.The UART receive

Strona 16 - Submit Documentation Feedback

www.ti.comRegisters3.2 Transmitter Holding Register (THR)The transmitter holding register (THR) is shown in Figure 10 and described in Table 8.The UAR

Strona 17

Registerswww.ti.com3.3 Interrupt Enable Register (IER)The interrupt enable register (IER) is used to individually enable or disable each type of inter

Strona 18 - 2.9 Interrupt Support

www.ti.comRegisters3.4 Interrupt Identification Register (IIR)The interrupt identification register (IIR) is a read-only register at the same address

Strona 19

Registerswww.ti.comTable 11. Interrupt Identification and Interrupt Clearing InformationIIR BitsPriorityLevel 3 2 1 0 Interrupt Type Interrupt Source

Strona 20 - 2.12 Emulation Considerations

www.ti.comRegistersFigure 13. FIFO Control Register (FCR)31 16ReservedR-015 8ReservedR-07 6 5 4 3 2 1 0RXFIFTL Reserved DMAMODE1(1)TXCLR RXCLR FIFOENW

Strona 21 - 3 Registers

Registerswww.ti.com3.6 Line Control Register (LCR)The line control register (LCR) is shown in Figure 14 and described in Table 13.The system programme

Strona 22 - Registers

www.ti.comRegistersTable 13. Line Control Register (LCR) Field Descriptions (continued)Bit Field Value Description2 STB Number of STOP bits generated.

Strona 23

Preface ... 61 Int

Strona 24

Registerswww.ti.com3.7 Modem Control Register (MCR)The modem control register (MCR) is shown in Figure 15 and described in Table 16. The modem control

Strona 25

www.ti.comRegisters3.8 Line Status Register (LSR)The line status register (LSR) is shown in Figure 16 and described in Table 17. LSR provides informat

Strona 26

Registerswww.ti.comTable 17. Line Status Register (LSR) Field Descriptions (continued)Bit Field Value Description4 BI Break indicator. The BI bit is s

Strona 27

www.ti.comRegistersTable 17. Line Status Register (LSR) Field Descriptions (continued)Bit Field Value Description0 DR Data-ready (DR) indicator for th

Strona 28

Registerswww.ti.comFigure 17. Divisor LSB Latch (DLL)31 16ReservedR-015 8 7 0Reserved DLLR-0 R/W-0LEGEND: R/W = Read/Write; R = Read only; -n = value

Strona 29

www.ti.comRegisters3.10 Peripheral Identification Registers (PID1 and PID2)The peripheral identification registers (PID) contain identification data (

Strona 30

Registerswww.ti.com3.11 Power and Emulation Management Register (PWREMU_MGMT)The power and emulation management register (PWREMU_MGMT) is shown in Fig

Strona 31

www.ti.comAppendix A Revision HistoryTable 23 lists the changes made since the previous version of this document.Table 23. Document Revision HistoryRe

Strona 32

IMPORTANT NOTICETexas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improveme

Strona 33

www.ti.comList of Figures1 UART Block Diagram... 9

Strona 34

www.ti.comList of Tables1 UART Supported Features/Characteristics by Instance ... 82 Baud

Strona 35

PrefaceSPRU997C–December 2009Read This FirstAbout This ManualThis document describes the universal asynchronous receiver/transmitter (UART) peripheral

Strona 36

User's GuideSPRU997C–December 2009Universal Asynchronous Receiver/Transmitter (UART)1 IntroductionThis document describes the universal asynchron

Strona 37 - Appendix A Revision History

Introductionwww.ti.comTable 1 summarizes the capabilities supported on the UART. Note that the number of UARTs and theirsupported features vary on eac

Strona 38 - IMPORTANT NOTICE

8ReceiverBufferRegisterDivisorLatch (LS)DivisorLatch (MS)BaudGeneratorReceiverFIFOLine StatusRegisterTransmitterHoldingRegisterModem ControlRegisterLi

Komentarze do niniejszej Instrukcji

Brak uwag