Binho Atira: Hardware Reference
Connectors, pinout, target power, the UART bridge and specifications of the Binho Atira.
Connectors
Section titled “Connectors”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.
Programming Port (Debug Header)
Section titled “Programming Port (Debug Header)”| Pin | Signal | Pin | Signal |
|---|---|---|---|
| 1 | VDD (target rail) | 2 | SWDIO |
| 3 | GND | 4 | SWCLK |
| 5 | GND | 6 | SWO |
| 7 | key | 8 | TDI |
| 9 | TRST | 10 | nRESET |
Use a straight (not mirrored) 10-pin Cortex debug cable: pin 1 to pin 1 at both ends.
Programming Port as an SPI Flash Header
Section titled “Programming Port as an SPI Flash Header”SPI uses the Programming Port with its own pin assignment. The SWD signal names do not apply.
| Flash pin | Programming Port pin |
|---|---|
| /CS | 9 |
| CLK | 4 |
| DI (MOSI) | 6 |
| DO (MISO) | 8 |
| VCC | 1 (target rail) |
| GND | 3 |
| /WP, /HOLD | tie to VCC |
The native chip select is CS_2. The SPI clock goes up to 24 MHz.
UART Bridge Ports
Section titled “UART Bridge Ports”| Signal | 3-pin UART Port | 6-pin Serial Interface Port |
|---|---|---|
| TX (from the Atira, to the target’s RX) | 1 | 4 |
| GND | 2 | 1 |
| RX (to the Atira, from the target’s TX) | 3 | 5 |
| Target rail | None | 3 |
Target power
Section titled “Target power”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.
UART bridge
Section titled “UART bridge”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).
Specifications
Section titled “Specifications”| Host interface | USB Port (USB-C), USB ID 1fc9:8347 |
| Main MCU | NXP MCX A156 (Arm Cortex-M33) |
| Debug | SWD, Arm Cortex-M; CMSIS-DAP compatible (pyOCD) |
| Hardware breakpoints | Yes (Cortex-M FPB) |
| Target rail | Programmable 1.2 to 5.0 V, on pin 1 of the Programming Port and pin 3 of the 6-pin Serial Interface Port |
| Rail measurement | Voltage (mV), current (µA), power (mW) |
| SPI | Controller, up to 24 MHz, chip select CS_2 on pin 9 of the Programming Port |
| SPI flash programming | SPI memory devices: detect, read, erase, program, verify (read-back or on-device CRC-32) |
| SPI flash program speed | About 154 KiB/s over the USB bulk interface (Linux, W25Q128JV) |
| UART bridge | Two USB CDC serial ports (control and read-only monitor); 300, 600, 1200, 9600, 115200 baud verified |
| Connectors | USB Port; Programming Port (10-pin, 1.27 mm debug header); 3-pin UART Port; 6-pin Serial Interface Port (UART and target rail) |

