1. Home
  2. Docs
  3. SmartSampler2
  4. 2. Hardware Interfaces
  5. 2.1 Communication Ports
  6. I2C

I2C

Port pinning

PinFunctionPigtail wire color
1GNDbrown
2P7white
3SCLblue
4SDAblack
5VIN, 5V or 3.3Vgrey
6P8pink

P7 & P8 Inputs (I2C Connector)

The P7 and P8 inputs are two protected signal inputs located on the I2C connector.
Both inputs share the same input protection and filtering circuit and are intended for low-speed pulse detection.

These inputs are clamped to the internal 3.3 V domain of the microcontroller.


Supported Signal Levels

  • Recommended input voltage range: 0 – 3.3 V
  • Absolute maximum: 5 V (current-limited)
  • Signals above 3.3 V are safely clamped internally, but should be avoided for continuous operation

Important:
Unlike other analog inputs, P7 & P8 are not 5 V tolerant for continuous use.
If a signal exceeds 3.3 V, the internal clamp diodes will conduct.


Internal Signal Conditioning

Each input includes:

  • Series resistor (1 kΩ)
    Limits current into the protection diodes if the input exceeds 3.3 V
  • Clamp diodes to 3.3 V
    Protect the microcontroller from overvoltage
  • Input capacitor (10 nF)
    Provides noise filtering and signal smoothing

This design prioritizes robustness and noise immunity for field-connected signals.


Pulse Input Mode

P7 and P8 as pulse inputs.

Recommended pulse frequency:

Pulse frequencyBehavior
0 – 1 kHzFully reliable
1 – 2 kHzTypically reliable
> 2 kHzNot recommended

Signal requirements:

  • Push-pull or actively driven source
  • Logic high ≤ 3.3 V preferred
  • Clean duty cycle for best reliability

I2C Context

A7 and A8 are located on the I2C connector but are not the I2C data lines themselves.

  • SCL and SDA are the actual I2C signals
  • each have 4.7 kΩ pull-ups to 3.3 V
  • I2C devices should run only on 3.3V logic

How can we help?