Hardware Troubleshooting

Resolve issues related to custom hardware

When you work with a custom hardware (hardware not used in the Motor Control Blockset™ examples), you may face trouble running the motor. Follow these instructions to identify and debug these issues.

Topics

Check ADC Inputs

Check for errors in measurements by analog to digital converter (ADC) peripheral in motor control applications.

Verify PWM Outputs

Verify pulse width modulation (PWM) signals.

Check Hardware Connections

Check for issues in hardware connections.

Test Algorithm Design

Check for issues in algorithm used for model.

Check Generated Code

Check for problems related to software architecture, code performance, and code execution time.