Programming Examples
15-46
ADSP-BF50x Blackfin Processor Hardware Reference
The
UCEN
bit enables the UART clocks. It also resets the state machine and
control registers when cleared. Note that the
UCEN
bit was not present in
previous UART implementations. It is introduced to save power if the
UART is not used. When porting code, be sure to enable this bit.
The IrDA TX polarity change bit and the IrDA RX polarity change bit are
effective only in IrDA mode. The two force error bits,
FPE
and
FFE
, are
intended for test purposes. They are useful for debugging software, espe-
cially in loopback mode.
The
EDBO
bit enables bypassing of the divide-by-16 prescaler in bit clock
generation. This improves bit rate granularity, especially at high bit rates.
See
“Bit Rate Generation” on page 15-18
. Do not set this bit in IrDA
mode.
The
EGLSI
bit redirects TX and RX interrupt requests to the status inter-
rupt output of the UART by ORing them with all other kinds of UART
status interrupt requests. Set this bit when no DMA channel is associated
with the UART.
Programming Examples
The following programming examples show how to use the UART.
The subroutine in
Listing 15-1
shows a typical UART initialization
sequence.
Table 15-16. UART Global Control Register Memory-Mapped Addresses
Register Name
Memory-Mapped Address
UART0_GCTL
0xFFC0 0408
UART1_GCTL
0xFFC0 2008
Содержание EZ-KIT Lite ADSP-BF506F
Страница 50: ...Contents l ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 92: ...Development Tools 1 30 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 110: ...Interface Overview 3 12 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 132: ...Unique Information for the ADSP BF50x Processor 4 22 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 236: ...Internal Flash Memory Control Registers 6 92 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 342: ...Unique Information for the ADSP BF50x Processor 7 106 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 484: ...Unique Information for the ADSP BF50x Processor 10 60 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 493: ...ADSP BF50x Blackfin Processor Hardware Reference 11 9 Core Timer Unique Information for the ADSP BF50x Processor None ...
Страница 494: ...Unique Information for the ADSP BF50x Processor 11 10 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 506: ...Unique Information for the ADSP BF50x Processor 12 12 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 544: ...Unique Information for the ADSP BF50x Processor 13 38 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 650: ...Programming Examples 15 56 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 712: ...Unique Information for the ADSP BF50x Processor 16 62 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 804: ...Programming Examples 17 92 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 972: ...Unique Information for the ADSP BF50x Processor 20 38 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 1194: ...Programming Examples 24 90 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 1256: ...ACM Registers A 50 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 1264: ...Boundary Scan Architecture B 8 ADSP BF50x Blackfin Processor Hardware Reference ...