Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Resource allocation

Assign each interface function to a physical pin or port, automatically or by hand, and fix over-capacity interfaces

Goal

Make sure every signal on your board is carried by a real pin or port, so harnesses reach the Configured state.

Terms

  • A resource is a physical endpoint on a part: a pin, a port, a mounting hole or a fitting.

  • A function is one signal in an interface, such as SDA or VCC.

  • An allocation assigns a function to a resource. Only resources that can carry that function are offered.

Allocate automatically

Most of the time you don't need to do anything: choosing an interface pair links functions and allocates pins. When something is left over:

  1. Select the harness.

  2. In Function Links, click Auto Assign ("Auto-match and link functions by name").

On a part, the Interfaces tab also has Auto to allocate every unallocated function of an instance.

Allocate by hand

Choose a specific pin when it matters, for example to keep a PWM-capable pin free for a motor:

  1. Select the part and open the Interfaces tab, or select a harness and open Function Links.

  2. For each function, open its resource picker ("Resource for …") and choose the pin.

Only pins that can carry the function are listed. A pin already used elsewhere isn't offered for an exclusive function.

The part Inspector's Interfaces tab listing interface instances with a resource picker for each function
Interfaces and their pins.

See what's free

The Resources tab on a part shows each pin and port, marked free or used, and the tab title shows free out of total. Use it to see whether a microcontroller has room for another device.

The part Inspector's Resources tab listing pins, with used pins and free pins marked
Resources on a part.

Capacity

Each interface definition has a capacity: how many instances the part's resources can back. Adding more shows Capacity exceeded (you can choose Add anyway), and DRC reports the interface as over capacity, which blocks the board. Remove an instance, or use a part with more of that interface.

Common failures

"Side A function 'X' not yet assigned to a resource"

That function has no pin. Use Auto Assign or pick a pin by hand.

The pin I want isn't offered

It can't carry that function, or another interface already uses it. Check the part's Resources tab and free it by changing the other allocation.

Last updated