Port Info Block Icon
The PortInfo block displays a summary of GPIO port assignments and Peripheral Pin Select (PPS) mappings for all blocks in the model, helping detect conflicts and verify pin usage.

When to use:

When to use:

  • Debugging pin conflicts (multiple blocks using same pin)
  • Verifying GPIO allocation before hardware design finalized
  • Visualizing PPS (Peripheral Pin Select) mappings for remappable devices
  • Identifying available GPIO pins for new features
  • Documenting pin usage for team collaboration or production

โœ— This block is never harmful:

  • Informational utility only โ€” no code generation impact
  • Add to model during development for pin conflict detection
  • Remove if not needed โ€” purely a diagnostic aid

Display Information

InformationDescription
Port AssignmentsAll GPIO pins used by model with their function
PPS MappingsRemappable peripheral assignments
ConflictsDuplicate pin assignments (highlighted in red)
Available PinsUnused GPIO pins

Example Output

PORT A:
  RA0: ADC1_AN0 (Analog Input)
  RA1: Digital Output
  RA2: UART1_TX (PPS - RP20)
  RA3: [Available]

PORT B:
  RB0: PWM1H (Fixed)
  RB1: PWM1L (Fixed)
  RB2: QEI1_A (PPS - RP2)
  โš ๏ธ RB3: CONFLICT - Digital Input + UART2_RX

Usage

  • Add PortInfo block to model
  • Double-click to open display
  • Review port assignments
  • Resolve any conflicts shown Conflict Resolution: Conflicts must be fixed before code generation. Change pin assignments in the conflicting peripheral blocks.