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:
Select the harness.
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:
Select the part and open the Interfaces tab, or select a harness and open Function Links.
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.


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.


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
Related pages
Last updated

