Open Source & Linux Lab

It's better when it's simple

User Tools

Site Tools


etc:users:jcmvbkbc:hardware

This is an old revision of the document!


Hardware notes

ARM-USB-TINY-H

Connector pinout

      9 5 1
 ----^^----
/oooooooooo\
\oooooooooo/
 ----------
        6 2

Low voltage UART mode

Pin functions
  • 1, 2: Vcc (connected)
  • 4, 6 and the rest of the low row: GND (connected)
  • 5: RX (I)
  • 7: CTS# (I)
  • 9: TX (O)
  • 11: RI# (I)
  • 13: RTS# (O)
  • 17: DTR# (O): my modification
Driver

Xtensa JTAG

Pin functions
  • 1: Vcc
  • 3: TRST#
  • 4: GND
  • 5: TDI
  • 7: TMS
  • 9: TCK
  • 13: TDO
  • 15: SRST# (doesn't work)
topology.xml controller line
<controller id='Controller0' module='ft2232' probe='flyswatter' vid='0x15ba' pid='0x002a' usbser='OLVGHYS?' speed='10MHz'/>

SPI master

Pin functions
  • 5: SDO
  • 7: SCL
  • 9: SCK
  • 13: SDI (pulled up by default)
PyFTDI-based example
from pyftdi import ftdi, spi

ftdi.Ftdi.add_custom_vendor(vid = 0x15ba)
ftdi.Ftdi.add_custom_product(vid = 0x15ba, pid = 0x002a)

ftdi.Ftdi.show_devices()

ctrl = spi.SpiController()
ctrl.configure("ftdi://0x15ba:0x002a:1/1")
spi = ctrl.get_port(freq = 10000000, cs = 0)
...
etc/users/jcmvbkbc/hardware.1788010910.txt.gz · Last modified: 2026/08/29 16:41 by jcmvbkbc