XE8805 SEMTECH [Semtech Corporation], XE8805 Datasheet - Page 67

no-image

XE8805

Manufacturer Part Number
XE8805
Description
Data Acquisition MCU
Manufacturer
SEMTECH [Semtech Corporation]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
XE8805AMI028LF
Manufacturer:
Semtech
Quantity:
10 000
Part Number:
XE8805AMI028LF
Manufacturer:
SEMTECH/美国升特
Quantity:
20 000
Note: Depending on the status of the EnResPConf bit in RegSysCtrl, the reset conditions of the registers are
different. See the reset block documentation for more details on the resetpconf signal.
12.4 Port B capabilities
Table 12-7 shows the different usage that can be made of the port B with the order of priority. If a pair of pins is
selected to be analog, it overwrites the function and digital set-up. If the pin is not selected as analog, but a
function is enabled, it overwrites the digital set-up. If neither the analog nor function are selected for a pin, it is used
as an ordinary digital I/O. This is the default configuration at start-up.
12.5 Port B analog capability
12.5.1
Port B terminals can be attached to a 4 line analog bus by setting the PBAna[x] bits to 1 in the RegPBAna
register.
The other registers then define the connection of these 4 analog lines to the different pads of Port B. This can be
used to implement a simple LCD driver or A/D converter. Analog switching is available only when the circuit is
powered with sufficient voltage (see specification below). Below the specified supply voltage, only voltages that are
close to VSS or VBAT can be switched.
When PBAna[x] is set to 1, a pair of Port B terminals is switched from digital I/O mode to analog mode. The usage
of the registers RegPBPullup, RegPBOut and RegPBDir define the analog configuration (see Table 12-8).
When PBAna[x] = 1, then PBPullup[x] connects the pin to the analog bus. PBDir[x] and PBPOut[x] select which
of the 4 analog lines is used. For odd values of x, the selection bits are in the register RegPBOut (see Table 12-8).
For even values of x, the selection bits are in the register RegPBDir (see Table 12-9).
© Semtech 2006
Port B analog configuration
Table 12-8: Selection of the analog lines for PB[x] when x is odd and PBAna[x] = 1
Port B
name
PB[7]
PB[6]
PB[5]
PB[4]
PB[3]
PB[2]
PB[1]
PB[0]
if x is odd, PBOut[x, x-1]
analog
analog
analog
analog
analog
(high)
XX
00
01
10
11
Table 12-7: Different Port B functionality
PWM1 Counter C (C+D)
PWM0 Counter A (A+B)
clock CPU
functions
(medium)
uart Rx
usrt S1
usrt S0
32 kHz
uart Tx
usage (priority)
12-3
PBPullup[x]
1
1
1
1
0
PB[x] selection on
(low) (default)
High impedance
analog line 0
analog line 1
analog line 2
analog line 3
digital
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
XE8805/05A
www.semtech.com

Related parts for XE8805