TOOLSTICK542PP Silicon Laboratories Inc, TOOLSTICK542PP Datasheet - Page 152

PLATFORM PROG TOOLSTICK F542

TOOLSTICK542PP

Manufacturer Part Number
TOOLSTICK542PP
Description
PLATFORM PROG TOOLSTICK F542
Manufacturer
Silicon Laboratories Inc
Series
ToolStickr
Type
Microcontroller Programmerr
Datasheets

Specifications of TOOLSTICK542PP

Contents
2 Boards and USB Connecting Cable
Processor To Be Evaluated
C8051F542
Interface Type
USB
Operating Supply Voltage
2.7 V to 3.6 V
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
C8051F542
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
336-1718
C8051F54x
18.4. Port I/O Initialization
Port I/O initialization consists of the following steps:
1. Select the input mode (analog or digital) for all Port pins, using the Port Input Mode register (PnMDIN).
2. Select the output mode (open-drain or push-pull) for all Port pins, using the Port Output Mode register
3. Select any pins to be skipped by the I/O Crossbar using the Port Skip registers (PnSKIP).
4. Assign Port pins to desired peripherals.
5. Enable the Crossbar (XBARE = 1).
All Port pins must be configured as either analog or digital inputs. Any pins to be used as Comparator or
ADC inputs should be configured as an analog inputs. When a pin is configured as an analog input, its
weak pullup, digital driver, and digital receiver are disabled. This process saves power and reduces noise
on the analog input. Pins configured as digital inputs may still be used by analog peripherals; however this
practice is not recommended.
Additionally, all analog input pins should be configured to be skipped by the Crossbar (accomplished by
setting the associated bits in PnSKIP). Port input mode is set in the PnMDIN register, where a 1 indicates a
digital input, and a 0 indicates an analog input. All pins default to digital inputs on reset. See SFR Definition
18.13 for the PnMDIN register details.
152
(PnMDOUT).
Port
Special
Function
Signals
PIN I/O
UART_TX
UART_RX
SCK
MISO
MOSI
NSS
SDA
SCL
CP0
CP0A
CP1
CP1A
SYSCLK
CEX0
CEX1
CEX2
CEX3
CEX4
CEX5
ECI
T0
T1
LIN_TX
LIN_RX
Figure 18.4. Crossbar Priority Decoder in Example Configuration
0
0
1
1
2
1
P0SKIP[0:7]
3
0
P0
4
0
5
1
6
0
7
0
0
0
1
0
2
0
P1SKIP[0:7]
Rev. 1.1
*NSS Is only pinned out in 4-wire SPI Mode
3
0
P1
4
0
5
0
6
0
7
0
0
0
1
0
2
0
P2SKIP[0:7]
P2.2-P2.7, P3.0 only available on
3
0
P2
the 32-pin packages
4
0
5
0
6
0
7
0
P3SKIP[0]
P3
0
0

Related parts for TOOLSTICK542PP