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.