NXP Semiconductors
NHS3152
Therapy adherence resistive monitor
NHS3152 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2018. All rights reserved.
Product data sheet Rev. 3.03 — 15 June 2018
19 / 51
8.6 Analog signal buses
NHS3152 accepts several analog signals via its input pins (‘ana_ext’ bus). The ANA0_x
registers in the IOCFG block control the ana_ext bus (see Section 8.7.4). The bus
structure is schematically shown in Figure 9.
The different converters connect through their own analog switch matrix to the bus lines.
aaa-015357
ANA0_0
ANA0_1
ANA0_5
IOCON_ANA0_X
ana_extbus0
ana_extbus1
ana_extbus5
Pins 6 external sources
Analog bus
Figure 9. NHS3152 analog bus structure
8.7 I/O configuration
The I/O configuration registers control the electrical characteristics of the pads. The
following features are programmable:
Pin function
Internal pull-up/pull-down resistor or bus keeper function
Low-pass filter
I
2
C-bus mode for pads hosting the I
2
C-bus function
The IOCON registers control the function (GPIO or peripheral function), the input mode,
and the hysteresis of all PIO0_m pins. In addition, the I
2
C-bus pins can be configured for
different I
2
C-bus modes.
The FUNC bits in the IOCON registers can be set to GPIO (FUNC = 000) or to a
peripheral function. If the pins are GPIO pins, the GPIO0DIR registers determine whether
the pin is configured as an input or output. For any peripheral function, the pin direction
is controlled automatically depending on the functionality of the pin. The GPIO0DIR
registers have no effect on peripheral functions.
NXP Semiconductors
NHS3152
Therapy adherence resistive monitor
NHS3152 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2018. All rights reserved.
Product data sheet Rev. 3.03 — 15 June 2018
20 / 51
8.7.1 PIO0 pin mode
The MODE bits in the IOCON register allow the selection of on-chip pull-up or pull-down
resistors for each pin, or to select the repeater mode. The possible on-chip resistor
configurations are pull-up enabled, pull-down enabled, or no pull-up/pull-down. The
default value is no pull-up or pull-down enabled. The repeater mode enables the pull-up
resistor when the pin is at logic 1, and enables the pull-down resistor when the pin is at
logic 0. This mode causes the pin to retain its last known state if it is configured as an
input and is not driven externally. The state retention is not applicable to the Deep power-
down mode. Repeater mode is typically used to prevent a pin from floating when it is
temporarily not driven. Allowing it to float could potentially use significant power.
NXP Semiconductors
NHS3152
Therapy adherence resistive monitor
NHS3152 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2018. All rights reserved.
Product data sheet Rev. 3.03 — 15 June 2018
21 / 51
8.7.2 PIO0 I
2
C-bus mode
If the FUNC bits of registers PIO0_4 and PIO0_5 select the I
2
C-bus function, the I
2
C-bus
pins can be configured for different I
2
C-bus modes:
Standard-mode/Fast-mode I
2
C-bus with input glitch filter (including an open-drain
output according to the I
2
C-bus specification)
Standard open-drain I/O functionality without input filter
8.7.3 PIO0 current source mode
PIO0_3, PIO0_7, PIO0_10 and PIO0_11 are high-source pads that can deliver up to
20 mA to the load. These PIO pins can be set to either digital mode or analog current
sink mode. In digital mode, the output voltage of the pad switches between VSS and
VDD. In analog current drive mode, the output current sink switches between the values
set by the ILO and IHI bits. The maximum pad voltage is limited to 5 V.
aaa-015353
repeater mode
enable
configured
as output
configured
as input
data input
data output
CDRIVE
IHI[7:0]
ILO[7:0]
CURRENT
SINK
pull-up enable
pull-up enable
ESD
ESD
PIN
Figure 10. Pin configuration with current source mode
8.7.4 ANA0 input selection
The analog pins have direct analog connections to the internal analog bus, and are
protected by the ESD structures. The FUNC bit in the IOCON register determines the
interconnections.
Each of these I/O pins can dynamically be connected to the on-chip converters:
Analog-to-Digital Converter (ADC)
Digital-to-Analog Converter (DAC)
Current-to-Digital Converter (CDC)
Only one instance is implemented of each of these converters. As a consequence,
in order to measure six voltages connected to the six analog I/O pins, time-division
multiplexing must be used. Other combinations are also possible.

NHS3152UK/A1Z

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
Board Mount Temperature Sensors NTAG NHS3152 NFC Therapy Adherence
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union