Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
McBSP
El McBSP esta basado en las interfaces estndar del puerto serial encontrado en las plataformas TMS320C2000 y C5000. Este puerto almacena muestras seriales en un buffer de memoria automticamente, con o sin la ayuda del controlador EDMA. El DSP6713 tiene dos puerto serial multicanal con buffer (McBSP0 y McBSP1). El McBSP0 es el que controla de manera unidireccional y es configurado a travs de cinco registros que controlan el flujo a travs del McBSP1. El McBSP1 es usado como un canal de comunicacin bidireccional de datos y proporciona :
McBSP
Capacidades
Transmisin y recepcin multicanal de 128 canales. Selector para determinar el tamao del dato (8,12,16,20,24 y 32 bits). Transferencia inicial de 8 bits con LSB o MSB. Polaridad programable para tramas sincronizadas. Reloj interno altamente programable y generador de tramas.
The receive control register (RCR) configures parameters of the receive operations.
The transmit control register (XCR) configures parameters of the transmit operations.
The sample rate generator register (SRGR) controls the operation of various features of the sample rate generator.
The multichannel control register (MCR) contains fields that control the multichannel selection mode. The enhanced 128-channel selection mode (selected by the RMCME and XMCME bits), which allows the McBSP to select 128 channels at any time, is only available on the C64x DSP.
The receive channel enable register (RCER) is used to enable any of the 32 elements for a receive. Of the 32 elements, 16 belong to a subframe in partition A and the other 16 belong to a subframe in partition B. The RCEA and RCEB fields in RCER enable elements within the 16-channel elements in partitions A and B, respectively. The RPABLK and RPBBLK bits in MCR determine which 16-element subframes are selected.
The transmit channel enable register (XCER) is used to enable any of the 32 elements for a transmit. Of the 32 elements, 16 belong to a subframe in partition A and the other 16 belong to a subframe in partition B. The XCEA and XCEB fields in XCER enable elements within the 16-channel elements in partitions A and B, respectively. The XPABLK and XPBBLK bits in MCR determine which 16-element subframes are selected.
The serial port is configured via the serial port control register (SPCR) and the pin control register (PCR). The PCR is also used to configure the serial port pins as general-purpose inputs or outputs during receiver and/or transmitter reset. The PCR contains McBSP status control bits.