Challenger+ T3217 Datasheet

ATtiny3217 Development Board

The Challenger T3217 is a compact and versatile development board built around the Microchip ATtiny3217 microcontroller. Designed in the proven Challenger+ form factor, it combines robust performance, full pin accessibility, and modern USB Type-C connectivity in a small, reliable package.

At its core, the ATtiny3217 delivers modern 8-bit processing performance with 32 KB of Flash, 2 KB of SRAM, and 256 bytes of EEPROM, offering an ideal balance between capability and efficiency. With rich peripheral support including a 10-bit ADC, 8-bit DAC, multiple 16-bit timers, USART, SPI, and I²C interfaces the device is well suited for both simple and advanced embedded applications.

All but one (The last one being connected to the on board LED) of the microcontroller’s I/O pins are made available through the Challenger+ dual header connectors, ensuring straightforward access to every peripheral and function pin. This makes the Challenger T3217 an excellent platform for low-level hardware development, education, and integration into larger systems.

Challenger+ T3217

For easy programming and serial communication, the board integrates a CH340B USB-to-serial converter, allowing direct connection to any USB-equipped computer without the need for external adapters. The Challenger T3217 comes pre-programmed with the Optiboot bootloader, enabling convenient firmware upload and rapid iteration directly over USB.

In addition, the board features a dedicated Li-Po battery connector and onboard charger circuit, allowing the Challenger T3217 to operate as a fully portable platform. When connected via USB Type-C, the integrated charger automatically manages battery charging while powering the system. This makes the board ideal for battery-driven embedded applications, portable sensors, and low-power IoT devices.

True to the design principles of the Challenger platform, the T3217 features a clean and minimalistic layout with high-quality components and a robust power design. Whether you are exploring low-power control systems, building automation projects, or developing compact IoT devices, the Challenger T3217 provides a dependable foundation with excellent electrical performance and expandability.


Key Features

  • Microcontroller: Microchip ATtiny3217 (8-bit AVR® core, 20 MHz internal oscillator)
  • Memory: 32 KB Flash / 2 KB SRAM / 256 B EEPROM
  • I/O: All 20 I/O pins fully accessible via Challenger+ header connectors
  • Interfaces: 1× USART, 1× SPI, 1× I²C, 10-bit ADC, 8-bit DAC, timers, comparator, event system
  • USB Connectivity: USB Type-C interface with CH340B USB 2.0 to UART transceiver
  • Bootloader: Pre-installed Optiboot for firmware upload via USB
  • Battery Support: Built-in Li-Po charger and 2-pin battery 1.25mm pitch connector for portable operation
  • Operating Voltage: 3.3 V logic level (USB or Li-Po powered)
  • Form Factor: Challenger+ standard (compatible with Challenger accessories and expansion boards)
  • Dimensions: 50.8 mm × 22.86 mm (Feather-compatible outline)
  • Weight: ≈ 9 g

Short introduction to the board

PCB
The Challenger+ board format is based on a popular form factor called “Feather” created and maintained by an American company called Adafruit. The entire specification for the Feather format is available here. The size of the PCB for the module is 50.80mm x 22.86mm but the entire module is a little bit bigger as the Type C USB connector protrudes about 1 mm outside the board. The Challenger+ uses another much smaller battery connector to allow the board to be integrated in more confined spaces.

Headers
On each of the longer sides of the PCB there are holes intended for soldering pin header connectors. If you don’t want to use connectors for some reason you can also solder a wire directly into the hole, making a permanent connection to your external device. If you go this way please make sure that the wires are fixed in place, otherwise vibrations can cause the wire to brake at the soldering point.

BConnect
The BConnect interface is a compact 4-pin connector designed by iLabs to provide a simple and reliable link between the Challenger+ board and compatible expansion modules. It carries power, ground, and UART/I2C communication signals, allowing for both data transfer and power delivery through a single flat flex cable. The connector uses a low-profile design to ensure secure and correct insertion, making it ideal for compact or embedded applications.

The Challenger T3217 board implements both a sink and the source connector which allows you to operate it both as a BConnect I2C master and a I2C slave. Using SoftwareSerial you can of course also implement connections to BSerial compatible modules.

LED’s
On each side of the USB connector there is a small indicator LED placed. The LED which is marked CHG is the charge control indicator. This red LED will shine whenever the connected battery is being charged, and when the battery is fully charged the LED will turn off again. If you haven’t connected a battery to the board this LED will not come on at all.

On the other side of the USB connector there is a user programmable green LED. This LED is connected to pin PIN_PA6 and can easily be controlled by the user program.

Hardware details

Challenger Header Pin Mapping (ATtiny3217)

The Challenger headers expose selected GPIO, communication interfaces, power, and reference signals from the onboard ATtiny3217 microcontroller. Pin naming follows the Arduino-style convention where applicable.

Digital I/O Pins

Header NameMCU PinMapped ATtiny3217 FunctionDescription
D5PC4GPIOGeneral-purpose digital I/O
D6PC5GPIOGeneral-purpose digital I/O
D9PB4GPIOGeneral-purpose digital I/O
D10PB5GPIOGeneral-purpose digital I/O
D11PB6GPIOGeneral-purpose digital I/O
D12PB7GPIOGeneral-purpose digital I/O
D13PA7GPIOGeneral-purpose digital I/O

Analog / GPIO Pins

Note: A5 is not usable as analog input on this board due to internal connections.

Header NameMCU PinMapped ATtiny3217 FunctionDescription
A0PA0AIN0 / GPIOAnalog input or digital I/O
A1PA1AIN1 / GPIOAnalog input or digital I/O
A2PA2AIN2 / GPIOAnalog input or digital I/O
A3PA3AIN3 / GPIOAnalog input or digital I/O
A4PA4AIN4 / GPIOAnalog input or digital I/O
VREFPA5VREFA / GPIOAnalog reference input

Serial Interfaces

Header NameMCU PinMapped FunctionDescription
TXPB2USART TXUART transmit
RXPB3USART RXUART receive
SCKPC0SPI SCKSPI clock
SDIPC1SPI MOSISPI master out
SDOPC2SPI MISOSPI master in
SDAPB1TWI SDAI²C data
SCLPB0TWI SCLI²C clock

ATtiny3217 pin function table


Power and Control Pins

Header NameConnectionDescription
+3V3Regulated rail3.3 V output from onboard LDO
VBUSUSB inputUSB supply voltage
VBATBattery inputLi-ion / LiPo battery voltage
GNDGroundSystem ground
EN / RESETPA0 / RESETExternal reset / enable
UPDIPA0Programming / debugging interface

Summary Notes

  • All header pins are directly connected to the ATtiny3217 unless otherwise noted.
  • Level translation is used on USB-UART paths; headers are 3.3 V logic only.
  • The pinout is compatible with Challenger ecosystem headers, but functionality depends on firmware configuration.
  • External peripherals must not drive pins beyond VDD + 0.3 V.
  • The UPDI functionality is disabled on shipped units and the GPIO/Analog functionality is enabled.

Hardware Overview

Power System

The Challenger T3217 can be powered either through the USB Type-C connector or from a connected single-cell Li-Po battery. The power system automatically switches between USB and battery operation, ensuring seamless transitions without user intervention.

A high-efficiency linear charger circuit manages the charging of the connected Li-Po cell whenever USB power is present. The charge current is factory-set to provide safe and reliable charging for small- to medium-capacity batteries commonly used in embedded and IoT applications. A built-in status indicator LED provides visual feedback during charging and full-charge states.

The board operates entirely at 3.3 V, with both the ATtiny3217 and peripheral circuits powered from the regulated system rail. USB 5 V input is routed only to the charger and voltage regulator section, protecting the MCU and I/O pins from overvoltage.

USB Interface

The integrated CH340B USB-to-UART converter provides a reliable communication bridge between the ATtiny3217’s serial interface and the host computer. It supports standard baud rates up to 2 Mbit/s and enables direct programming and serial console access over a single USB Type-C connection.

When connected to a computer, the board enumerates as a standard serial (COM) port compatible with Windows, macOS, and Linux systems. The preloaded Optiboot bootloader allows firmware updates directly via USB without requiring external programmers or adapters, streamlining development and debugging.

Battery Connector

A standard 2-pin JST-PH connector provides connection for a single-cell Li-Po battery. The battery voltage is continuously monitored by the on-board charger circuit, which manages charge and discharge cycles automatically. The system can be operated solely from the battery, or from USB while charging.

I/O Headers

All microcontroller I/O pins are routed to the dual Challenger+ header connectors, providing full access to every digital and analog function of the ATtiny3217. Each header is clearly labeled for quick identification of GPIO numbers and peripheral assignments.

The pinout follows the Challenger+ standard, ensuring compatibility with a wide range of existing Challenger accessories, shields, and expansion boards. This makes the Challenger T3217 an ideal platform for modular development and rapid prototyping.

RESET

The reset on this board is a little bit different from other micro controller boards in our lineup. The reset line on the header pin connector and the reset button is tied to the enable pin on the LDO that is supplying the 3.3V to the board. This means that every HW reset cycle will be a “Power On” reset and with a complete clear of the RAM contents. If you need to have something survive between resets it means that you will have to store it in EEPROM.

Indicators

  • Charge LED (CHG): Illuminates during battery charging; turns off when charging is complete.
  • User LED: Connected to a general-purpose I/O (PIN_PA6) pin for application use.

Power down/sleep modes

The ATTiny3217 microcontroller features several sleep modes designed to minimize power consumption when full operation is not required. These modes allow flexible control of system power, enabling battery-powered applications to extend operating time significantly.

In the Idle mode, the CPU clock is stopped while peripherals such as timers, communication interfaces, and the event system remain active. This mode offers a quick wake-up time and is ideal when continuous peripheral operation is needed.

In Standby mode, the main system clock is halted, but selected asynchronous peripherals—such as the Real-Time Counter (RTC) and event system—can continue running. This mode strikes a balance between low power consumption and functional availability, and is well suited for periodic wake-up tasks.

The Power-Down mode provides the lowest current consumption by shutting down all system clocks. Only external interrupts, the watchdog timer, or the RTC can wake the device from this state. This mode is typically used when the application remains inactive for extended periods or during deep-sleep cycles in battery-powered systems.

Wake-up from any sleep mode restores normal operation within a few microseconds. The sleep control is fully managed in software through the CPU’s SLPCTRL register, allowing developers to dynamically select the most efficient mode at runtime.

ModeConditions (per datasheet)Measured on Challenger T3217 board @ ~25 °CTypical MCU @ 25 °CMax MCU @ 25 °CNotes
IdleSystem clock = OSCULP32K (32.768 kHz)38 uA
(UART and RTC running)
2.9 µA15 µACPU halted, peripherals clocked; current depends strongly on clock/peripherals.
Standby (RTC on, ext crystal)RTC @ 1.024 kHz from XOSC32K (CL=7.5 pF)0.69 µALowest standby with external 32 kHz crystal driving RTC.
Standby (RTC on, internal ULP)RTC @ 1.024 kHz from OSCULP32K3.7 uA0.71 µA3.0 µAInternal 32 kHz RC; also specified up to 6 µA (85 °C) / 8 µA (125 °C).
Power-DownAll peripherals stopped2.5 uA0.10 µA2.0 µASame as Standby when everything is stopped; also 5 µA (85 °C) / 7 µA (125 °C).

Microcontroller Specifications — ATtiny3217

ParameterSpecificationNotes
Core8-bit AVR® CPU (tinyAVR 1-Series)Based on AVR® core with improved peripheral interconnect
Operating FrequencyUp to 20 MHz (internal oscillator)No external crystal required
Flash Memory32 KBNon-volatile program memory
SRAM2 KBVolatile working memory
EEPROM256 bytesNon-volatile data storage
I/O PinsUp to 22 programmable I/O pinsAll routed to Challenger+ headers
Operating Voltage Range1.8 V – 5.5 VBoard fixed at 3.3 V logic
ADC10-bit, up to 150 kspsUp to 8 analog channels depending on package
DAC8-bit, single-channelBuffered output, routable to pin
Analog Comparator1 comparator with flexible input mux
Timers/Counters3 × 16-bit TCA/TCBOne TCA (with PWM) + two TCBs
USART Interfaces1 × USART (can operate as UART, LIN, or RS-485)Used by Optiboot and CH340B. Can be used by the applications when the USB cable is disconnected.
SPI Interface1 × SPI (master/slave)Alternate pin configuration
I²C Interface1 × TWI (I²C compatible)
Event SystemYes (up to 8 channels)Peripheral interconnect without CPU load
Configurable Custom Logic (CCL)2 lookup-table units (LUTs)For simple hardware logic functions
Watchdog Timer1 × WDT with windowed mode
Brown-out Detection (BOD)Programmable thresholds
Clock Sources20 MHz oscillator, 32.768 kHz RTC oscillatorExternal 32 kHz crystal optional
Real-Time Counter (RTC)Independent low-power 16-bit counterSupports wake-up from sleep
Sleep ModesIdle, Standby, Power-DownOptimized for low-power operation
Typical Active Current≈ 2.5 mA @ 3.3 V, 1 MHzFrom Microchip datasheet (typical)
Package Type24-pin SOIC / 24-pin VQFNBoard uses 24-pin VQFN variant

Schematic