Chapter 17, Uart and sir encoder, Introduction – Cirrus Logic EP73xx User Manual

Page 147: Features, Uart and sir encoder register list, Programming example, Chapter 17. uart and sir encoder, Table 17-1: uart and sir encoder registers -1, Chapter 17 17 uart and sir encoder introduction

Advertising
background image

EP7309/11/12 User’s Manual - DS508UM4

17-1

Copyright Cirrus Logic, Inc. 2003

1717

17

Chapter 17

17

UART and SIR Encoder

Introduction

The EP73xx provides three asynchronous interfaces: two Universal Asynchronous
Receiver/Transmitter (UART) and one SIR encoder. The SIR (IrDA) encoder shares
resources with one of the UARTs.

This provides resources for bi-directional communication with external IrDA
compliant devices as well as PCs for debugging and basic communication.

Features

• UART1 with additional modem control signals

• UART2 with standard Tx/Rx interface

• Programmable bit rates, data length, and control bits.

• SIR Encoder (Shared resources with UART1)

UART and SIR Encoder Register List

Programming Example

;************************************************************************

; Enable UART1 for Baud Rate = 115200, no parity 1 stop bit 8 data bits

;************************************************************************

UART1

EQU

0x70001 ; Value for above settings

UART1EN

EQU

0x100 ; Set UART1EN in SYSCON1

Table 17-1: UART and SIR Encoder Registers

Address

Name

Type

Size

Description

Page

0x8000.0480

UARTDR1

R/W

16

UART1 Data Register

page 17-5

0x8000.1480

UARTDR2

R/W

32

UART1 Control

Register

page 17-5

0x8000.04C0

UBRLCR1

R/W

16

UART2 Data Register

page 17-6

0x8000.14C0

UBRLCR2

R/W

32

UART2 Control

Register

page 17-6

Advertising