Outils pour utilisateurs

Outils du site


Atari Joystick USB adaptor

This is a small project that makes use of an STM32F072 Discovery Board (“32F072BDISCOVERY”) for an adaptor of up to 4 joysticks to make them USB HID devices to use with a more recent computer/phone. The software is fully open-source(TODO: -able) and based on libopencm3.

Status

Status du project
Date de début 10/2015
Status Done - documentation tbd
Initiateur Magnus

Description

A first trial was done using a QuickShot II:

A kind of break out board to essentially fit the Discovery Board nicely into the casing was milled on our Cyclone: – this was a bit tricky due to the relative large size of the board and the still missing z-compensation.

A bad picture of a really nice case: Look at this: it's RAL4006!

Software details

Some tweaks were necessary to get it running on the small controller. The STM32F072 is “special” in the following respects:

  • It has no bitbanding, for example this does *not* work:

BBIO_PERIPH(USB_CNTR_REG, USB_CNTR_SOFM) = 1;

  • It does not allow unaligned memory access
  • Its USB core similar to STM32F103, but has a different mapping of USB registers (architecture allows for 16-bit mapping)

Besides these differences, there are a few more pitfalls to be documented later.

projects/electronics/atari-joystick-usb.txt · Dernière modification: 2017/02/15 19:47 par sinux