AN 773: Drive-On-Chip Design Example for Intel® MAX® 10 Devices

ID 683072
Date 7/26/2023
Public
Document Table of Contents

4.1. Changing the Intel® MAX® 10 ADC Thresholds or Conversion Sequence

Only change thethresholds or conversion sequence for the Drive-On-Chip Design Example for Intel® MAX® 10 devices by modifying hardware parameters.
The Intel® MAX® 10 ADC thresholds detect over or under voltage and current faults by comparing the sampled signals against preset limits. Errors cause the design to shut down the motor(s) and/or DC-DC converter and inform the software application of the error condition.
  1. Open the design project in the Intel Quartus Prime software.
  2. Click Tools > Qsys to open the Qsys editor.
  3. Click Close.
  4. Select the <project variant> _QSYS.qsys file and click Open.
  5. Click Close if any warning dialog appears.
  6. Double click on the max10_adc component in the System Contents tab.
  7. In the Channels tab select the ADC and channel to edit the thresholds.
  8. Enter the desired maximum and minimum thresholds. You must calculate the absolute voltage in the range 0..1.2 V from the scaling of feedback signals.
  9. On the Sequencer tab set the desired Conversion Sequence Length.
    Intel recommends a Conversion Sequence length of 8 for the design.
  10. In the Sequencer tab select the ADC and use the drop-down menus for each slot to set the desired conversion sequence.
    Intel recommends the sequence is each channel in numeric order CH 1...CH 8. You must ensure each channel is converted at least once in the sequence.
    Note: Failure to include all channels in the conversion sequence can cause damage to the Tandem Motion-Power 48 V Board. For example, by not allowing the application to detect overcurrent errors.
  11. Close the Parameters tab.
Generate the system in Qsys.