Example: stock market

TMS320F2833x, 2823x Serial Communications Interface (SCI

TMS320x2833x,2823xSerialCommunicationsIn terface(SCI)ReferenceGuideLiteratureNumb er:SPRUFZ5 AAugust2008 RevisedJuly20092 SPRUFZ5A August2008 (SCICCR).. (SCICTL1).. (SCIHBAUD,SCILBAUD).. (SCICTL2).. (SCIRXST).. (SCIRXEMU,SCIRXBUF).. (SCIRXEMU).. (SCIRXBUF).. (SCITXBUF).. (SCIFFTX,SCIFFRX,SCIFFCT).. (SCIPRI).. August2008 (SCI) (SCICCR) (SCICTL1) (SCIHBAUD) (SCILBAUD) (SCICTL2) (SCIRXST) (SCIRXEMU) (SCIRXBUF) (SCITXBUF) (SCIFFTX)Register (SCIFFRX)Register (SCIFFCT)Register (SCIPRI) August2008 (SCICCR) (SCICTL1) (SCICTL2) (SCIRXST) (SCIRXBUF) (SCIFFRX) (SCIFFCT) August2008 RevisedJuly2009 ListofTables5 SubmitDocumentationFeedbackListofTables6 SPRUFZ5A August2008 RevisedJuly2009 SubmitDocumentationFeedbackPrefaceSPRUFZ 5A August2008 RevisedJuly2009 ReadThisFirstAboutThisManualThismanualde scribesthefeaturesandoperationoftheseri

Preface SPRUFZ5A–August 2008–Revised July 2009 Read This First About This Manual This manual describes the features and operation of the serial communication interface (SCI) module that

Tags:

  Serial, Communication, Interface, 2823x, Serial communication, 2823x serial communications interface

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Transcription of TMS320F2833x, 2823x Serial Communications Interface (SCI

1 TMS320x2833x,2823xSerialCommunicationsIn terface(SCI)ReferenceGuideLiteratureNumb er:SPRUFZ5 AAugust2008 RevisedJuly20092 SPRUFZ5A August2008 (SCICCR).. (SCICTL1).. (SCIHBAUD,SCILBAUD).. (SCICTL2).. (SCIRXST).. (SCIRXEMU,SCIRXBUF).. (SCIRXEMU).. (SCIRXBUF).. (SCITXBUF).. (SCIFFTX,SCIFFRX,SCIFFCT).. (SCIPRI).. August2008 (SCI) (SCICCR) (SCICTL1) (SCIHBAUD) (SCILBAUD) (SCICTL2) (SCIRXST) (SCIRXEMU) (SCIRXBUF) (SCITXBUF) (SCIFFTX)Register (SCIFFRX)Register (SCIFFCT)Register (SCIPRI) August2008 (SCICCR) (SCICTL1) (SCICTL2) (SCIRXST) (SCIRXBUF) (SCIFFRX) (SCIFFCT)

2 August2008 RevisedJuly2009 ListofTables5 SubmitDocumentationFeedbackListofTables6 SPRUFZ5A August2008 RevisedJuly2009 SubmitDocumentationFeedbackPrefaceSPRUFZ 5A August2008 RevisedJuly2009 ReadThisFirstAboutThisManualThismanualde scribesthefeaturesandoperationoftheseria lcommunicationinterface(SCI)modulethatis availableontheTMS320x2833x, ,28xxxPeripheralReferenceGuide(SPRU566)f oralistofalldeviceswithamoduleofthesamet ype,todeterminethedifferencesbetweentype s, ,thefollowingnumberis40hexadecimal(decim al64):40h. Registersinthisdocumentareshowninfigures anddescribedintables.

3 ,itsbeginningandendingbitnumbersabove, SPRS439 TMS320F28335,TMS320F28334,TMS320F28332,T MS320F28235,TMS320F28234,TMS320F28232 DigitalSignalControllers(DSCs)DataManual containsthepinout,signaldescriptions,asw ellaselectricalandtimingspecificationsfo rtheF2833 TMS320F28335,F28334,F28332,TMS320F28235, F28234,F28232 DigitalSignalControllers(DSCs) 'sGuides SPRU430 TMS320C28xDSPCPUandInstructionSetReferen ceGuidedescribesthecentralprocessingunit (CPU)andtheassemblylanguageinstructionso ftheTMS320C28xfixed-pointdigitalsignalpr ocessors(DSPs). SPRU566 TMS320x28xx,28xxxPeripheralReferenceGuid edescribestheperipheralreferenceguidesof the28xdigitalsignalprocessors(DSPs).

4 SPRUFB0 TMS320x2833x,2823xSystemControlandInterr uptsReferenceGuidedescribesthevariousint erruptsandsystemcontrolfeaturesofthe2833 xdigitalsignalcontrollers(DSCs).SPRUFZ5A August2008 TMS320x2833x,2823xAnalog-to-DigitalConve rter(ADC)ReferenceGuidedescribeshowtocon figureandusetheon-chipADCmodule, TMS320x2833x,2823xExternalInterface(XINT F)User'sGuidedescribestheXINTF,whichisan onmultiplexedasynchronousbus, TMS320x2833x,TMS320x2823xBootROMUser'sGu idedescribesthepurposeandfeaturesofthebo otloader(factory-programmedboot-loadings oftware) TMS320x2833x,2823xMultichannelBufferedSe rialPort(McBSP)User' TMS320x2833x,2823xDirectMemoryAccess(DMA ) TMS320x2833x,2823xEnhancedPulseWidthModu lator(ePWM)

5 ModuleReferenceGuidedescribesthemainarea softheenhancedpulsewidthmodulatorthatinc ludedigitalmotorcontrol,switchmodepowers upplycontrol,UPS(uninterruptiblepowersup plies), TMS320x2833x,2823xHigh-ResolutionPulseWi dthModulator(HRPWM)describestheoperation ofthehigh-resolutionextensiontothepulsew idthmodulator(HRPWM).SPRUFG4 TMS320x2833x,2823xEnhancedCapture(eCAP) TMS320x2833x,2823xEnhancedQuadratureEnco derPulse(eQEP)ReferenceGuidedescribesthe eQEPmodule,whichisusedforinterfacingwith alinearorrotaryincrementalencodertogetpo sition,direction, TMS320x2833x,2823xEnhancedControllerArea Network(eCAN) TMS320F2833x, 2823xSerialCommunicationInt erface(SCI)ReferenceGuidedescribestheSCI ,whichisatwo-wireasynchronousserialport, (NRZ) TMS320x2833x,2823xSerialPeripheralInterf ace(SPI)ReferenceGuidedescribestheSPI-ah igh-speedsynchronousserialinput/output(I /O)

6 Port-thatallowsaserialbitstreamofprogram medlength(onetosixteenbits) TMS320x2833x,2823xInter-IntegratedCircui t(I2C)ReferenceGuidedescribesthefeatures andoperationoftheinter-integratedcircuit (I2C) SPRU513 TMS320C28xAssemblyLanguageToolsUser'sGui dedescribestheassemblylanguagetools(asse mblerandothertoolsusedtodevelopassemblyl anguagecode),assemblerdirectives,macros, commonobjectfileformat, TMS320C28xOptimizingCCompilerUser'sGuide describestheTMS320C28x C/C++ ++ TheTMS320C28xInstructionSetSimulatorTech nicalOverviewdescribesthesimulator,avail ablewithintheCodeComposerStudioforTMS320 C2000 IDE,thatsimulatestheinstructionsetoftheC 28x August2008 TMS320C28xDSP/BIOSA pplicationProgrammingInterface(API)

7 , August2008 RevisedJuly2009 ReadThisFirst9 SubmitDocumentationFeedbackReadThisFirst 10 SPRUFZ5A August2008 RevisedJuly2009 SubmitDocumentationFeedbackChapter1 SPRUFZ5A August2008 RevisedJuly2009 OverviewTheserialcommunicationsinterface (SCI)isatwo wireasynchronousserialport, (NRZ) , , ,theSCIchecksreceiveddataforbreakdetecti on,parity,overrun, August2008 speedprescalerSystemcontrolblockPIEblock RXINTTXINTR egistersSCISCIAENCLKLSPCLKSCIRXDSCITXDGP IOMUXData : Twoexternalpins: SCITXD:SCItransmit-outputpin SCIRXD:SCIreceive-inputpinBothpinscanbeu sedasGPIO ifnotusedforSCI.

8 Baudrateprogrammableto64 Kdifferentrates Data-wordformat Onestartbit Data-wordlengthprogrammablefromonetoeigh tbits Optionaleven/odd/noparitybit Oneortwostopbits Fourerror-detectionflags:parity,overrun, framing,andbreakdetection Twowake-upmultiprocessormodes:idle-linea ndaddressbit Half-orfull-duplexoperation Double-bufferedreceiveandtransmitfunctio ns Transmitterandreceiveroperationscanbeacc omplishedthroughinterrupt-drivenorpolled algorithmswithstatusflags. Separateenablebitsfortransmitterandrecei verinterrupts(exceptBRKDT) NRZ(non-return-to-zero)format ,theregisterdataisinthelowerbyte(7 0),andtheupperbyte(15 8) August2008 RevisedJuly2009 SubmitDocumentationFeedbackTX FIFO _0 LSPCLKWUTF rame Format and ModeEven/OddEnableParitySCI RX Interrupt select INT TX Interrupt select logicTX INT ERR INT 0 SCIHBAUD.

9 15 8 Baud RateMSbyteRegisterSCILBAUD. 7 0 Transmitter DataBuffer RateLSbyteRegister RXSHFR egister FIFO _1 TX FIFO _158TX FIFO registersTX FIFO InterruptTX FIFO 0 Receive DataBuffer 0 RX FIFO_1RX FIFO _08RX FIFO InterruptLogicRXINTRX FIFO OERX 2To CPUTo baud detect : Auto-baud-detecthardwarelogic 16- (SCI)ModuleBlockDiagramSPRUFZ5A August2008 (x16)DescriptionSCICCR0x0000-70501 SCI-ACommunicationsControlRegisterSCICTL 10x0000-70511 SCI-AControlRegister1 SCIHBAUD0x0000-70521 SCI-ABaudRegister,HighBitsSCILBAUD0x0000 -70531 SCI-ABaudRegister, (x16)Description(1)(2)

10 SCICCR0x0000-77501 SCI-BCommunicationsControlRegisterSCICTL 10x0000-77511 SCI-BControlRegister1 SCIHBAUD0x0000-77521 SCI-BBaudRegister,HighBitsSCILBAUD0x0000 -77531 SCI-BBaudRegister,LowBitsSCICTL20x0000-7 7541 SCI-BControlRegister2 SCIRXST0x0000-77551 SCI-BReceiveStatusRegisterSCIRXEMU0x0000 -77561 SCI-BReceiveEmulationDataBufferRegisterS CIRXBUF0x0000-77571 SCI-BReceiveDataBufferRegisterSCITXBUF0x 0000-77591 SCI-BTransmitDataBufferRegisterSCIFFTX0x 0000-775A1 SCI-BFIFOT ransmitRegisterSCIFFRX0x0000-775B1 SCI-BFIFOR eceiveRegisterSCIFFCT0x0000-775C1 SCI-BFIFOC ontrolRegisterSCIPRI0x0000-775F1 SCI-BPriorityControlRegister(1) (2).


Related search queries