NINA-B1 series - System Integration Manual
UBX-15026175 - R06
System description
Page 13 of 48
External pull up resistors are required for the I
2
C interface. The value of the pull up resistor should be selected
depending on the speed and capacitance of the bus.
1.7
GPIO pins
The NINA-B1 series module can provide up to 19 pins, which can be configured as general purpose input or
output. 7 GPIO pins are capable of handling analog functionality. All pins are capable of handling interrupt.
Function
Description
Default
NINA-B1 pin
Configurable
GPIOs
General purpose input
Digital input with configurable edge detection and interrupt generation.
Any
General purpose output
Digital output with configurable drive strength, pull-up, pull-down, open-
source, open-drain and/or slew rate.
Any
Pin disabled
Pin is disconnected from input buffers and output drivers.
All*
Any
Timer/ counter
High precision time measurement between two pulses/ Pulse counting with
interrupt/event generation.
Any
Interrupt/ Event trigger
Interrupt/event trigger to the software application/ Wake up event.
Any
ADC input
8/10/12-bit analog to digital converter
Any analog
Analog comparator input
Compare two voltages, capable of generating wake-up events and
interrupts
Any analog
PWM output
Output complex pulse width modulation waveforms
Any
Connection status
indication
Indicates if a BLE connection is maintained
BLUE**
Any
* = If left unconfigured
** = If using u-blox connectivity software
Table 5: GPIO custom functions configuration
1.7.1
Analog interfaces
7 out of the 19 digital GPIOs can be multiplexed to analog functions. The following analog functions are
available for use:
•
1x 7-channel ADC
•
1x Analog comparator*
•
1x Low-power analog comparator*
*Only one of the comparators can be used simultaneously.
1.7.1.1
ADC
The Analog to Digital Converter (ADC) can sample up to 200 kHz using different inputs as sample triggers.
Table 6 shows the sample speed in correlation to the maximum source impedance. It supports 8/10/12-bit
resolution. Any of the 7 analog inputs can be used both as single-ended inputs and as differential pairs for
measuring the voltage across them. The ADC supports full 0 V to VCC input range.