English
Language : 

C8051F970-A-GM Datasheet, PDF (281/454 Pages) Silicon Laboratories – Low Power Capacitive Sensing MCU with up to 32 kB of Flash
C8051F97x
26.3. Priority Crossbar Decoder
The priority crossbar decoder 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. 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, XTAL1, XTAL2, XTAL3, or XTAL4
pins on a QFN-32 or QFN-48 package, P0.6 if the ADC 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 26.2 shows all of the potential peripheral-to-pin assignments available to the crossbar. Note that this does
not mean any peripheral can always be assigned to the highlighted pins. The actual pin assignments are
determined by the priority of the enabled peripherals.
Port
P0
P1
P2
P3 P4 P5 P6
Pin Number 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 X X X X
QFN-24 Package
QFN-32 Package
QFN-48 Package
SMB0-SDA
SMB0-SCL
UART0-TX
UART0-RX
SPI0-SCK
SPI0-MISO
SPI0-MOSI
SPI0-NSS*
SYSCLK
PCA0-CEX0
PCA0-CEX1
PCA0-CEX2
PCA0-ECI
Timer0-T0
Timer1-T1
000000000000000000000000
Pin Skip Settings
P0SKIP
P1SKIP
P2SKIP
The crossbar peripherals are assigned in priority order from top to bottom.
These boxes represent Port pins which can potentially be assigned to a peripheral.
Special Function Signals are not assigned by the crossbar. When these signals are enabled, the Crossbar should be manually configured to skip the
corresponding port pins.
Pins can be “skipped” by setting the corresponding bit in PnSKIP to 1.
* NSS is only pinned out when the SPI is in 4-wire mode.
Figure 26.2. Crossbar Priority Decoder—Possible Pin Assignments
282
Rev 1.0