Priority Crossbar Decoder; Figure 14.3. Crossbar Priority Decoder With No Pins Skipped - Silicon Laboratories C8051F330 Manual

Mixed-signal isp flash mcu
Hide thumbs Also See for C8051F330:
Table of Contents

Advertisement

14.1. Priority Crossbar Decoder

The Priority Crossbar Decoder (Figure 14.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 P0.0 if VREF is used, P0.3 and/or
P0.2 if the external oscillator circuit is enabled, P0.6 if the ADC or IDAC is configured to use the external
conversion start signal (CNVSTR), and any selected ADC or Comparator inputs. The Crossbar skips
selected pins as if they were already assigned, and moves to the next unassigned pin. Figure 14.3 shows
the Crossbar Decoder priority with no Port pins skipped (P0SKIP, P1SKIP = 0x00); Figure 14.4 shows the
Crossbar Decoder priority with the XTAL1 (P0.2) and XTAL2 (P0.3) pins skipped (P0SKIP = 0x0C).
SF Signals
VREF IDA
PIN I/O
0
TX0
RX0
SCK
MISO
MOSI
NSS*
SDA
SCL
CP0
CP0A
SYSCLK
CEX0
CEX1
CEX2
ECI
T0
T1
0
Port pin potentially available to peripheral
SF Signals
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.

Figure 14.3. Crossbar Priority Decoder with No Pins Skipped

P0
x1
x2
CNVSTR
1
2
3
4
5
6
*NSS is only pinned out in 4-wire SPI Mode
0
0
0
0
0
0
P0SKIP[0:7]
C8051F330/1/2/3/4/5
P1
7
0
1
2
3
4
0
0
0
0
0
0
P1SKIP[0:7]
Rev. 1.7
P2
5
6
7
0
0
0
0
125

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the C8051F330 and is the answer not in the manual?

This manual is also suitable for:

C8051f331C8051f332C8051f333C8051f334C8051f335

Table of Contents