Data Sheet
NINA-B40 series - Data sheet
UBX-19049405 - R04 Interfaces Page 15 of 40
C1 - Public
2.7.1 Analog to Digital Converter (ADC)
The Analog to Digital Converter (ADC) is used to sample analog voltage on the analog function enabled
pins of the NINA-B40. Any of the 8 analog inputs can be used. Characteristics of the ADC include:
Full swing input range of 0 V to VCC.
8/10/12-bit resolution
14-bit resolution while using oversampling
Up to 200 kHz sample rate
Single shot or continuous sampling
Two operation modes: Single-ended or Differential
Single-ended mode:
o A single input pin is used
Differential mode:
o Two inputs are used and the voltage level difference between them is sampled
If the sampled signal level is much lower than the VCC, it is possible to lower the input range of the
ADC to better encompass the wanted signal and achieve higher resolution. Continuous sampling can
be configured to sample at a configurable time interval, or at different internal or external events,
without CPU involvement.
2.7.2 Comparator
The analog comparator compares the analog voltage on one of the analog enabled pins in NINA-B40
with a highly configurable internal or external reference voltage. Events can be generated and
distributed to the rest of the system when the voltage levels cross. Further characteristics of the
comparator include:
Full swing input range of 0 V to VCC
Two operation modes: Single-ended or Differential
Single-ended mode: A single reference level or an upper and lower hysteresis selectable from a 64-
level reference ladder with a range from 0 V to VREF (described in Table 4)
Differential mode: Two analog pin voltage levels are compared, optionally with a 50 mV hysteresis
Three selectable performance modes - High speed, balanced, or power save
See section 4.2.10 for a comparison of the various analog comparator options.
2.7.3 Low power comparator
In addition to the power save mode available for the comparator, there is a separate low power
comparator available on the NINA-B40 module. This allows for even lower power operation, at a
slightly lower performance and with less configuration options. Characteristics of the low power
comparator include:
Full swing input range of 0 to VCC
Two operation modes - Single-ended or Differential
Single-ended mode:
o The reference voltage LP_VIN is selected from a 15-level reference ladder
Differential mode:
o GPIO_16 or GPIO_18 is used as reference voltage
o LP_VIN can be used to wake the system from sleep (system OFF mode)
Table 4 shows summary of the analog pin options. For information about the electrical specifications
of the different analog comparator options, see section 4.2.10 .