Close

FreeRTOS + TinyUSB + Multiaxis support

A project log for Open FFBoard

A modular and open source force feedback interface and motor driver for DIY wheels and controllers

yannick-gigawipfYannick (Gigawipf) 05/23/2021 at 10:110 Comments

There was a long time between the last 1.2 and current 1.3 firmware release.

The reason is a huge internal change porting everything to support freertos and using TinyUSB as a USB backend instead of the customized ST middleware examples which had to be modified a lot to fix bugs in the original code and making it composite device compatible.

With TinyUSB its a matter of a few lines of code to define a new composite device now.

At the same time we also got basic support for multiple FFB axes (2 at the moment) by sending force to multiple motor drivers based on the direction sent by the game. This is still quite experimental.


Doxygen site: https://ultrawipf.github.io/ffboard_doxygen/index.html

The serial protocol was changed to echo back the original command to be more resilient to out of sequence or lost replies. Which should normally never happen but it makes programming a user interface a bit easier and safer as well.

That of course also required changes in the configurator gui as well.

Changes GUI:

Changes Firmware (+more):

Discussions