Programming Model
20-24
ADSP-214xx SHARC Processor Hardware Reference
Programming Model for Core Transfers
The following is the general procedure for transferring data using the core.
1. Clear the
UARTTXCTL
/
UARTRXCTL
registers to zero.
2. Configure the
UARTLCR
,
UARTDLL
,
UARTDLH
,
UARTSCR
and
UARTMODE
registers.
3. Program the
UARTIER
registers to generate interrupt when the trans-
mit buffer is empty and / or the receive buffer is full.
4. Program the
PICR
registers to map the UART interrupt directly or
Configure the
DPI_IRPTL
register to enable the UART interrupts.
5. Enable the UART by setting the
UARTEN
bit in the
UARTTXCTL
/
UARTRXCTL
registers.
6. Inside the ISR, check for the interrupt triggered and write to the
transmit buffer in case of transmit buffer empty and read from the
receive buffer in case of receive buffer fill event.
www.BDTIC.com/ADI
Содержание SHARC ADSP-214 Series
Страница 60: ...Contents lx ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 72: ...Notation Conventions lxxii ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 130: ...Programming Model 2 52 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 264: ...Programming Models 3 134 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 290: ...Programming Model 4 26 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 296: ...Programming Model 5 6 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 396: ...Effect Latency 7 28 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 520: ...Programming Model 10 62 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 616: ...Debug Features 14 22 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 656: ...Programming Model 15 40 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 714: ...Programming Model 19 10 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 1132: ...Register Listing A 306 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 1192: ...Index I 34 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...