Priority crossbar decoder, Section “15.1. priority crossbar decoder” on, Section “15.1. priority crossbar – Silicon Laboratories C8051F347 User Manual

Page 144: Illator circuit; see, Section, Figure 15.3

Advertising
background image

C8051F340/1/2/3/4/5/6/7/8/9/A/B/C/D

144

Rev. 1.3

15.1. Priority Crossbar Decoder

The Priority Crossbar Decoder (Figure 15.3) assigns a priority to each I/O function, starting at the top with
UART0. When a digital resource is selected, the least-significant unassigned Port pin is assigned to that
resource (excluding UART0, which is always at pins 4 and 5). If a Port pin is assigned, the Crossbar skips
that pin when assigning the next selected resource. Additionally, the Crossbar will skip Port pins whose
associated bits in the PnSKIP registers are set. The PnSKIP registers allow software to skip Port pins that
are to be used for analog input, dedicated functions, or GPIO.

Important Note on Crossbar Configuration:

If a Port pin is claimed by a peripheral without use of the

Crossbar, its corresponding PnSKIP bit should be set. This applies to the VREF signal, external oscillator
pins (XTAL1, XTAL2), the ADC’s external conversion start signal (CNVSTR), EMIF control signals, and any
selected ADC or Comparator inputs. The PnSKIP registers may also be used to skip pins to be used as
GPIO. The Crossbar skips selected pins as if they were already assigned, and moves to the next unas-
signed pin. Figure 15.3 shows all the possible pins available to each peripheral. Figure 15.4 shows the
Crossbar Decoder priority with no Port pins skipped. Figure 15.5 shows a Crossbar example with pins
P0.2, P0.3, and P1.0 skipped.

Figure 15.3. Peripheral Availability on Port I/O Pins

XT

A

L

1

XT

A

L

2

C

N

VST

R

VR

EF

XT

A

L

1

XT

A

L

2

AL

E

C

N

VST

R

VR

E

F

RD

WR

0

1

2

3

4

5

6

7

0

1

2

3

4

5

6

7

0

1

2

3

4

5

6

7

0

1

2

3

4

5

6

7

SCK

MISO

MOSI

NSS*

CP0

CP0A

CP1

T1

TX1**

**UART1 available only on C8051F340/1/4/5/8/A/B devices

*NSS is only pinned out in 4-wire SPI mode

CEX3

CEX4

P1

CP1A

CEX2

CEX0

CEX1

SYSCLK

RX0

SDA

P3

SF Signals
(48-pin
Package)

P3.1-P3.7 unavailable on

the 32-pin packages

P2

SCL

P0

SF Signals
(32-pin
Package)

PIN I/O

TX0

Special Function Signals are not assigned by the Crossbar. When these signals are
enabled, the Crossbar must be manually configured to skip their corresponding port pins.

Port pin potentially available to peripheral

SF Signals

ECI

T0

RX1**

Advertising
This manual is related to the following products: