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
10 / 51
Ball Symbol Type Description
PIO0_10 I/O GPIO
CT32B_M0 O 32-bit timer match output 0
B5
SWCLK I ARM SWD clock
PIO0_11 I/O GPIO
CT32B_M1 O 32-bit timer match output 1
C5
SWDIO I/O ARM SWD I/O
Analog I/O
[4]
E1 AN0_0 A to AN0_BUS0
E2 AN0_1 A to AN0_BUS1
D3 AN0_2 A to AN0_BUS2
E3 AN0_3 A to AN0_BUS3
D4 AN0_4 A to AN0_BUS4
D5 AN0_5 A to AN0_BUS5
Radio
E4 LA A NFC antenna/coil terminal A
E5 LB A NFC antenna/coil terminal B
Reset
A3 RESETN I external reset input
[5]
[1] The GPIO port is a 12-bit I/O port with individual direction and function controls for each bit. The operation of port 0 pins
depend on the function selected through the IOCONFIG register block.
[2] If external wake-up is enabled on this pin, it must be pulled HIGH before entering Deep power-down mode and pulled
LOW for a minimum of 100 μs to exit Deep power-down mode.
[3] Open drain, no pull-up or pull down.
[4] The analog port is a 6-input analog I/O port with enable control for each pad.
[5] A LOW on this pin resets the device. This reset causes I/O ports and peripherals to take on their default states, and
processor execution to begin at address 0. It has weak pull-up to V
DDBAT
or internal NFC voltage (whichever is highest).
8 Functional description
8.1 ARM Cortex-M0+ core
Refer to the Cortex-M0+ Devices Technical Reference Manual (Ref. 1) for a detailed
description of the ARM Cortex-M0+ processor.
The NHS3152 ARM Cortex-M0+ core has the following configuration:
System options
Nested Vectored Interrupt Controller (NVIC)
Fast (single-cycle) multiplier
System tick timer
Support for wake-up interrupt controller
Vector table remapping register
Reset of all registers
Debug options
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
11 / 51
Serial Wire Debug (SWD) with two watchpoint comparators and four breakpoint
comparators
Halting debug is supported
8.2 Memory map
Figure 4 shows the memory and peripheral address space of the NHS3152.
The only AHB peripheral device on the NHS3152 is the GPIO module. The APB
peripheral area is 512 kB in size. Each peripheral is allocated 16 kB of space.
All peripheral register addresses are 32-bit word aligned. Byte and halfword addressing is
not possible. All reading and writing are done per full word.
aaa-018111
0x4000 4000
0x4000 C000
0x4003 4000
0x4003 C000
0x4003 8000
0x4005 0000
0x4004 4000
0x4005 4000
0x4005 8000
0x4006 0000
l
2
C
Watchdog timer
(reserved)
16-bit counter-timer
(reserved)
32-bit counter-timer
(reserved)
EEPROM controller
PMU
Flash controller
SPI/SSP
IOCONFIG
System configuration
(reserved)
RTC timer
(reserved)
RFID/NFC
Temperature sensor
0x4000 0000
0x4001 4000
0x4004 8000
(reserved)
0x4006 8000
Current-to-digital
(reserved)
0x0000 7FFF
0x0000 0000
0x0FFF FFFF
0x0000 8000
0x2FFF FFFF
0x1000 2000
0x1000 1FFF
0x1000 0000
0x3000 0FFF
0x3000 0000
0x3FFF FFFF
0x4007 FFFF
0x4000 0000
0x3000 1000
0x4FFF FFFF
0x4008 0000
0x501F FFFF
0x5000 0000
0x5020 0000
0xE00F FFFF
0xE000 0000
0xFFFF FFFF
0xE010 0000
0xDFFF FFFF
(reserved)
(reserved)
(reserved)
(reserved)
(reserved)
(reserved)
Private peripheral bus
AHB peripherals
APB peripherals
4 kB EEPROM
8 kB SRAM
32 kB on-chip Flash
0x5001 0000
0x5000 FFFF
0x5000 0000
0x501F FFFF
GPIO PIO0
(reserved)
AHB Peripherals
APB Peripherals
Figure 4. NHS3152 memory map
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
12 / 51
8.3 System configuration
The system configuration APB block controls oscillators, start logic, and clock generation
of the NHS3152. Also included in this block is a register for remapping the interrupt
vector table.
8.3.1 Clock generation
The NHS3152 Clock Generator Unit (CGU) includes two independent RC oscillators.
These oscillators are the System Free-Running Oscillator (SFRO) and the Timer Free-
Running Oscillator (TFRO).
The SFRO runs at 8 MHz. The system clock is derived from it and can be set to 8 MHz,
4 MHz, 2 MHz, 1 MHz, 500 kHz, 250 kHz, 125 kHz, or 62.5 kHz (Note: Some features
are not available when using the lower clock speeds). The TFRO runs at 32.768 kHz and
is the clock source for the timer unit. The TFRO cannot be disabled.
Following reset, the NHS3152 starts operating at the default 500 kHz system clock
frequency to minimize dynamic current consumption during the boot cycle.
The SYSAHBCLKCTRL register gates the system clock to the various peripherals and
memories. The temperature sensor receives a fixed clock frequency, irrespective of the
system clock divider settings, while the digital part uses the system clock (AHB clock 0).
Figure 5. NHS3152 clock generator block diagram

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