This repository is example code for an FDCAN-based controller for the PSYONIC Ability Hand. It interfaces with an FDCAN to UART interface controller device over DARTT. The main purpose of this example code is to detail Dartt Sync API usage, to accelerate Ability Hand application development using the FDCAN to UART interface controller.
DARTT maintains two local copies of the peripheral's memory structure: dp_controller (desired state) and dp_peripheral (shadow copy of actual state). This dual-copy model enables differential updates and write verification.
Synchronizes the entire control structure bidirectionally - writes controller state to the peripheral and reads back peripheral state in a single transaction.
Writes multiple controller parameters to the peripheral without reading back state. Used for one-way control updates.
Reads multiple peripheral parameters into the controller without writing state. Used for one-way status polling.
For detailed API usage and the two-copy synchronization model, see the Dartt Sync documentation.
git clone --recursive https://github.com/yourusername/fdcan-abh-controller.gitIf already cloned without --recursive:
git submodule update --init --recursive- Open STM32CubeIDE
- File -> Import -> Existing Projects into Workspace
- Select the repository root directory
- Build the project (Project -> Build All)