
Programming Model
20-22
ADSP-214xx SHARC Processor Hardware Reference
3. Send test data through the host device that can be used for calculat-
ing the baud rate of the incoming signal. A NULL character (0x00)
can be used for this purpose.
4. The baud rate can be derived from the width of timer as follows:
BAUDR = Width
÷
(8
×
(number of zero data bits + 1)).
5. When using a NULL character, the number of zero data bits is 8.
Programs can also send some other pattern for this purpose. Once
the baud rate is calculated inside the timer ISR, the UART can be
programmed with the calculated baud rate.
Programming Model for DMA Transfers
The following is the general procedure for transferring data using DMA.
1. Clear the
UARTTXCTL
/
UARTRXCTL
register to zero.
2. Configure the UART DMA parameter registers (index, modify and
count).
3. Configure the
UARTLCR
,
UARTDLL
,
UARTDLH
,
UARTIER
,
UARTSCR
and
UARTMODE
registers.
4. Enable the DMA by setting the
UARTEN
and
DMAEN
bits in the
UART-
TXCTL
/
UARTRXCTL
registers.
Setting Up and Starting Chained DMA
To start a chain pointer DMA use the following steps.
1. Clear the chain pointer register
2. Initialize the chain pointer register with the address of the DMA
descriptor table. Set the
PCI
bit if an interrupt is needed at the end
of each DMA block.
www.BDTIC.com/ADI
Summary of Contents for SHARC ADSP-214 Series
Page 60: ...Contents lx ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 72: ...Notation Conventions lxxii ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 130: ...Programming Model 2 52 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 264: ...Programming Models 3 134 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 290: ...Programming Model 4 26 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 296: ...Programming Model 5 6 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 396: ...Effect Latency 7 28 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 520: ...Programming Model 10 62 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 616: ...Debug Features 14 22 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 656: ...Programming Model 15 40 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 714: ...Programming Model 19 10 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 1132: ...Register Listing A 306 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 1192: ...Index I 34 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...