Skip to content
binho.io (opens in a new tab)Contact Us

Binho Atira: Hardware Reference

Connectors, pinout, target power, the UART bridge and specifications of the Binho Atira.

The Atira has three target ports, besides the USB Port:

  • Programming Port: 10-pin, 1.27 mm debug header. SWD and SPI.
  • 3-pin UART Port: UART bridge header.
  • 6-pin Serial Interface Port: second UART bridge header (same signals as the 3-pin UART Port) plus the target rail.
PinSignalPinSignal
1VDD (target rail)2SWDIO
3GND4SWCLK
5GND6SWO
7key8TDI
9TRST10nRESET

Use a straight (not mirrored) 10-pin Cortex debug cable: pin 1 to pin 1 at both ends.

SPI uses the Programming Port with its own pin assignment. The SWD signal names do not apply.

Flash pinProgramming Port pin
/CS9
CLK4
DI (MOSI)6
DO (MISO)8
VCC1 (target rail)
GND3
/WP, /HOLDtie to VCC

The native chip select is CS_2. The SPI clock goes up to 24 MHz.

Signal3-pin UART Port6-pin Serial Interface Port
TX (from the Atira, to the target’s RX)14
GND21
RX (to the Atira, from the target’s TX)35
Target railNone3

The Atira supplies a programmable 1.2 to 5.0 V on pin 1 of the Programming Port (and pin 3 of the 6-pin Serial Interface Port). The rail is off when the Atira powers up. It stays in the state last set until it is changed or the Atira is unplugged.

The Atira’s level shifters on the 6-pin Serial Interface Port, the 3-pin UART Port and the Programming Port run from the same rail. Switch the rail on before any SWD, SPI or UART traffic, even when the target has its own supply. With the rail off, SWD fails to connect and the UART bridge passes no data.

The Atira measures the rail: voltage in mV, current in µA and power in mW. A reading taken right after switching lags by about 0.5 s.

The bridge appears as two serial ports. One carries the traffic to and from the target. The other is read-only and mirrors that traffic, so a second program can observe it without interfering. The ports are named like this: /dev/ttyACM* on Linux, /dev/cu.usbmodem* on macOS, COMx on Windows. Open either with any terminal or serial library. The Atira uses the baud rate and line settings the program sets when it opens the control port.

Verified baud rates: 300, 600, 1200, 9600 and 115200, byte-exact.

To find which serial port belongs to which Atira, ask the SDK (see UART bridge port).

Host interfaceUSB Port (USB-C), USB ID 1fc9:8347
Main MCUNXP MCX A156 (Arm Cortex-M33)
DebugSWD, Arm Cortex-M; CMSIS-DAP compatible (pyOCD)
Hardware breakpointsYes (Cortex-M FPB)
Target railProgrammable 1.2 to 5.0 V, on pin 1 of the Programming Port and pin 3 of the 6-pin Serial Interface Port
Rail measurementVoltage (mV), current (µA), power (mW)
SPIController, up to 24 MHz, chip select CS_2 on pin 9 of the Programming Port
SPI flash programmingSPI memory devices: detect, read, erase, program, verify (read-back or on-device CRC-32)
SPI flash program speedAbout 154 KiB/s over the USB bulk interface (Linux, W25Q128JV)
UART bridgeTwo USB CDC serial ports (control and read-only monitor); 300, 600, 1200, 9600, 115200 baud verified
ConnectorsUSB Port; Programming Port (10-pin, 1.27 mm debug header); 3-pin UART Port; 6-pin Serial Interface Port (UART and target rail)