[ Tutorial 08 / Design ][ 1 min ]
Custom Protocols
[ 01 ]
What you'll learn
- How to create a custom channel protocol
- How to define a multi-protocol channel
[ 02 ]
Prerequisites
- Complete Tutorial 7: Designing with Channels.
- You need the Editor or Admin role to change these settings.
[ 03 ]
Steps
01Create a custom protocol
Use this when your protocol isn't built in (CAN, Ethernet, UART, …).
- In the Library sidebar header, click Channels ⚙ Interfaces.
- In the Channels section, click Add Custom under Custom.
- Name the protocol and list its roles. For each Role, set the Mating Role it connects to on the other device (e.g.
TX→RX). - Click Apply.
The protocol now appears in a device's Channels: picker. Set its default wiring the same way as any built-in protocol (Tutorial 7: Designing with Channels).
02Define a multi-protocol channel
A multi-protocol channel is a pin group that can carry more than one protocol (e.g. RS-422 or RS-485). In Cross-Channel Compatibilities, click Add Multi-Protocol Channel, add the protocols as columns and the roles as rows, map them, and click Apply.
[ 04 ]
Summary
Custom protocols and multi-protocol channels let you use channels for any interface your system needs.
[ 05 ]
What's next
- → Tutorial 9: Standard Interfaces — the equivalent for off-the-shelf connectors like USB and Ethernet.