Ug m10 Adc-683596-743729
Ug m10 Adc-683596-743729
Contents
2
Contents
5.2.1. Modular Dual ADC Core IP Core Channel Name to Intel MAX 10 Device Pin
Name Mapping........................................................................................ 53
5.3. Valid ADC Sample Rate and Input Clock Combination................................................54
5.4. Modular ADC Core and Modular Dual ADC Core Interface Signals...............................55
5.4.1. Command Interface of Modular ADC Core and Modular Dual ADC Core............ 55
5.4.2. Response Interface of Modular ADC Core and Modular Dual ADC Core............. 56
5.4.3. Threshold Interface of Modular ADC Core and Modular Dual ADC Core.............56
5.4.4. CSR Interface of Modular ADC Core and Modular Dual ADC Core.................... 57
5.4.5. IRQ Interface of Modular ADC Core and Modular Dual ADC Core..................... 57
5.4.6. Peripheral Clock Interface of Modular ADC Core and Modular Dual ADC Core.... 58
5.4.7. Peripheral Reset Interface of Modular ADC Core and Modular Dual ADC Core.... 58
5.4.8. ADC PLL Clock Interface of Modular ADC Core and Modular Dual ADC Core...... 58
5.4.9. ADC PLL Locked Interface of Modular ADC Core and Modular Dual ADC Core.... 59
5.5. Modular ADC Core Register Definitions....................................................................59
5.5.1. Sequencer Core Registers......................................................................... 59
5.5.2. Sample Storage Core Registers.................................................................. 60
5.6. ADC HAL Device Driver for Nios Processor............................................................... 61
5.6.1. Driver API............................................................................................... 62
6. Intel MAX 10 Analog to Digital Converter User Guide Archives..................................... 65
7. Document Revision History for Intel MAX 10 Analog to Digital Converter User Guide... 66
3
683596 | 2024.01.03
Send Feedback
The ADC solution consists of hard IP blocks in the Intel MAX 10 device periphery and
soft logic through the Modular ADC Core Intel FPGA IP and Modular Dual ADC Core
Intel FPGA IP.
The ADC solution provides you with built-in capability to translate analog quantities to
digital data for information processing, computing, data transmission, and control
systems. The basic function is to provide a 12 bit digital representation of the analog
signal being observed.
Related Information
• Intel MAX 10 ADC Architecture and Features on page 11
• Intel MAX 10 ADC Design Considerations on page 34
• Intel MAX 10 ADC Implementation Guides on page 39
• Modular ADC Core Intel FPGA IP and Modular Dual ADC Core Intel FPGA IP
References on page 46
• Intel MAX 10 Getting Started
• Intel MAX 10 Online Training
• Intel MAX 10 How-to Videos
• How to Create ADC Design in Intel MAX 10 Device Using Platform Designer
(Standard) Tool
Provides video instruction that demonstrates how to create the ADC design in
Intel MAX 10 devices using the Qsys system integration tool within the Intel
Quartus® Prime software and how to use the ADC toolkit to view the measured
analog signal.
Intel Corporation. All rights reserved. Intel, the Intel logo, and other Intel marks are trademarks of Intel
Corporation or its subsidiaries. Intel warrants performance of its FPGA and semiconductor products to current
specifications in accordance with Intel's standard warranty, but reserves the right to make changes to any ISO
products and services at any time without notice. Intel assumes no responsibility or liability arising out of the 9001:2015
application or use of any information, product, or service described herein except as expressly agreed to in Registered
writing by Intel. Intel customers are advised to obtain the latest version of device specifications before relying
on any published information and before placing orders for products or services.
*Other names and brands may be claimed as the property of others.
1. Intel® MAX® 10 Analog to Digital Converter Overview
683596 | 2024.01.03
M153 Single 1 1 — — — —
U169 Single 1 1 1 — — —
U324 Single 1 1 1 — — —
Dual 1 1 1 — — —
F256 Dual 1 1 1 2 2 2
E144 Single 1 1 1 1 1 1
F484 Dual — 1 1 2 2 2
F672 Dual — — — — 2 2
Related Information
Intel MAX 10 FPGA Device Overview
5
1. Intel® MAX® 10 Analog to Digital Converter Overview
683596 | 2024.01.03
M153 Dedicated 1 1 — — — —
Dual function 8 8 — — — —
U169 Dedicated 1 1 1 — — —
Dual function 8 8 8 — — —
U324 Dedicated 1 1 1 — — —
Dual function 16 16 16 — — —
F256 Dedicated 1 1 1 2 2 2
Dual function 16 16 16 16 16 16
E144 Dedicated 1 1 1 1 1 1
Dual function 8 8 8 8 8 8
F484 Dedicated — 1 1 2 2 2
Dual function — 16 16 16 16 16
F672 Dedicated — — — — 2 2
Dual function — — — — 16 16
Related Information
• Intel MAX 10 FPGA Device Overview
• Intel MAX 10 ADC Vertical Migration Support on page 7
6
1. Intel® MAX® 10 Analog to Digital Converter Overview
683596 | 2024.01.03
Package
Device
M153 U169 U324 F256 E144 F484 F672
10M04
10M08
10M16
10M25
10M40
10M50
Dual ADC Device: Each ADC (ADC1 and ADC2) supports 1 dedicated analog input pin and 8 dual function pins.
Single ADC Device: Single ADC that supports 1 dedicated analog input pin and 16 dual function pins.
Single ADC Device: Single ADC that supports 1 dedicated analog input pin and 8 dual function pins.
Single ADC device Single ADC device You can migrate all ADC input pins
Single ADC device Dual ADC device • One dedicated analog input pin.
• Eight dual function pins from the ADC1 block of the
Dual ADC device Single ADC device source device to the ADC1 block of the target device.
Related Information
ADC Channel Counts in Intel MAX 10 Devices on page 6
7
1. Intel® MAX® 10 Analog to Digital Converter Overview
683596 | 2024.01.03
To choose the correct device, refer to the Intel MAX 10 device overview.
For more information about the ADC parameter, refer to the device datasheet.
Related Information
• Intel MAX 10 Device Datasheet
• Intel MAX 10 FPGA Device Overview
• In prescaler mode, the analog input can measure up to 3.0 V in dual supply Intel
MAX 10 devices and up to 3.6 V in single supply Intel MAX 10 devices.
• The analog input scale has full scale code from 000h to FFFh. However, the
measurement can only display up to full scale – 1 LSB.
• For the 12 bits corresponding value calculation, use unipolar straight binary coding
scheme.
8
1. Intel® MAX® 10 Analog to Digital Converter Overview
683596 | 2024.01.03
FFE
FFD
12 bit Output Code (Hex)
The Intel MAX 10 ADC is a 1 MHz successive approximation register (SAR) ADC. If you
set up the PLL and Modular ADC Core IP core correctly, the ADC operates at up to 1
MHz during normal sampling and 50 kHz during temperature sensing.
Note: The analog value represented by the all-ones code is not full scale but full scale – 1
LSB. This is a common convention in data conversion notation and applies to ADCs.
Related Information
• Creating Intel MAX 10 ADC Design on page 40
• Modular ADC Core Parameters Settings on page 47
• Modular Dual ADC Core Parameters Settings on page 51
V
Digital Code = V IN × 212
REF
VREF
Analog Value = Digital Code ×
212
9
1. Intel® MAX® 10 Analog to Digital Converter Overview
683596 | 2024.01.03
2
Digital Code = 2.5 × 4096 = 3277
2.5
Analog Value = 3277 × 4096 = 2.0000
10
683596 | 2024.01.03
Send Feedback
In Intel MAX 10 devices, the ADC is a 12-bit SAR ADC that provides the following
features:
• Sampling rate of up to 1 MSPS
• Up to 18 channels for analog measurement: 16 dual function channels and two
dedicated analog input channels in dual ADC devices
• Single-ended measurement capability
• Simultaneous measurement capability at the dedicated analog input pins for dual
ADC devices
• Soft logic sequencer
• On-chip temperature sensor with sampling rate of 50 kilosamples per second
• Internal or external voltage references usage. The source of the internal voltage
reference is the ADC analog supply; the ADC conversion result is ratiometric.
Related Information
• Intel MAX 10 Analog to Digital Converter Overview on page 4
• Intel MAX 10 Analog to Digital Converter User Guide Archives on page 65
Provides a list of user guides for previous versions of the Modular ADC Core
and Modular Dual ADC Core IP cores.
Each ADC block supports one dedicated analog input pin and up to 16 channels of dual
function pins.
You can use the built-in temperature sensing diode (TSD) to perform on-chip
temperature measurement.
Intel Corporation. All rights reserved. Intel, the Intel logo, and other Intel marks are trademarks of Intel
Corporation or its subsidiaries. Intel warrants performance of its FPGA and semiconductor products to current
specifications in accordance with Intel's standard warranty, but reserves the right to make changes to any ISO
products and services at any time without notice. Intel assumes no responsibility or liability arising out of the 9001:2015
application or use of any information, product, or service described herein except as expressly agreed to in Registered
writing by Intel. Intel customers are advised to obtain the latest version of device specifications before relying
on any published information and before placing orders for products or services.
*Other names and brands may be claimed as the property of others.
2. Intel MAX 10 ADC Architecture and Features
683596 | 2024.01.03
Note: In dual ADC devices, the temperature sensor is available only in ADC1.
PLL Clock In
Dedicated ADC Hard IP Block
Analog Input Sequencer [4:0]
DOUT [11:0]
ADC Analog Input Sampling
Mux 12 bit 1 Mbps ADC
(Dual Function) [16:1] and Hold
Control/Status
Internal VREF
Related Information
Sequencer Core on page 27
Provides mode information about the sequencer conversion modes.
8 7
ADC1
1A
6
1B
2 5
I/O Bank
3 4 ADC Block
12
2. Intel MAX 10 ADC Architecture and Features
683596 | 2024.01.03
8 7
ADC1
1A
6
1B
2 5
3 4 ADC Block
13
2. Intel MAX 10 ADC Architecture and Features
683596 | 2024.01.03
Figure 6. ADC Block Location in Intel MAX 10 25, 40, and 50 Devices
Package E144 of these devices have only one ADC block.
8 7
ADC1
ADC2
1A
6
1B
2 5
3 4 ADC Block
For devices with one ADC block, you can use up to 17 ADC channels:
• These channels include one dedicated analog input and up to 16 dual function
pins.
• You can use the dual function pins as GPIO pins when you do not use the ADC.
Note: Intel MAX 10 devices in the E144 package have only 8 dual function ADC pins.
For devices with two ADC blocks, you can use up to 18 ADC channels:
• For dual ADC devices, each ADC block can support one dedicated analog input pin
and up to 8 dual function pins.
• If you use both ADC blocks in dual ADC devices, you can use up to two dedicated
analog input pins and 16 dual function pins.
• For simultaneous measurement, you can use only dedicated analog input pins in
both ADC blocks because the package routing of both dedicated analog pins are
matched. For dual function pins, the routing latency between two ADC blocks may
cause data mismatch in simultaneous measurement.
• For simultaneous measurement, use the Modular Dual ADC Core IP core.
To choose the correct device, refer to the Intel MAX 10 device overview.
14
2. Intel MAX 10 ADC Architecture and Features
683596 | 2024.01.03
Related Information
• Intel MAX 10 FPGA Device Overview
• ADC Channel Counts in Intel MAX 10 Devices on page 6
The ADC block in Intel MAX 10 devices contains two types of ADC analog input pins:
• Dedicated ADC analog input pin—pins with dedicated routing that ensures both
dedicated analog input pins in a dual ADC device has the same trace length.
• Dual function ADC analog input pin—pins that share the pad with GPIO pins.
If you use bank 1A for ADC, you cannot use the bank for GPIO.
Each analog input pin in the ADC block is protected by electrostatic discharge (ESD)
cell.
The prescaler function divides the analog input voltage by half. Using this function,
you can measure analog input greater than 2.5 V. In prescaler mode, the analog input
can handle up to 3 V input for the dual supply Intel MAX 10 devices and 3.6 V for the
single supply Intel MAX 10 devices.
ADC 3.6 kΩ
Analog
Input
3.6 kΩ
Mux
REFGND
15
2. Intel MAX 10 ADC Architecture and Features
683596 | 2024.01.03
Depending on the device package, the Intel MAX 10 devices support one or two PLLs—
PLL1 only, or PLL1 and PLL3.
For devices that support two PLLs, you can select which PLL to connect to the ADC.
You can configure the ADC blocks with one of the following schemes:
• Both ADC blocks share the same clock source for synchronization.
• Both ADC blocks use different PLLs for redundancy.
If each ADC block in your design uses its own PLL, the Intel Quartus® Prime Fitter
automatically selects the clock source scheme based on the PLL clock input source:
• If each PLL that clocks its respective ADC block uses different PLL input clock
source, the Intel Quartus Prime Fitter follows your design (two PLLs).
• If both PLLs that clock their respective ADC block uses the same PLL input clock
source, the Intel Quartus Prime Fitter merges both PLLs as one.
In dual ADC mode, both ADC instance must share the same ADC clock setting.
Related Information
PLL Locations, Intel MAX 10 Clocking and PLL User Guide
Provides more information about the availability of PLL3 in different Intel MAX 10
devices and packages.
There is only one external VREF pin in each Intel MAX 10 device. Therefore, if you
want to assign external voltage reference for both ADC blocks in dual ADC devices,
share the same external voltage reference for both ADC blocks.
Intel recommends that you use a clean external voltage reference with a maximum
resistance of 100 Ω for the ADC blocks. If the ADC block uses an internal voltage
reference, the ADC block is tied to its analog voltage and the conversion result is
ratiometric.
16
2. Intel MAX 10 ADC Architecture and Features
683596 | 2024.01.03
• While using the temperature sensing mode, the ADC sampling rate is 50
kilosamples per second during temperature measurement.
• After the temperature measurement completes, if the next conversion in the
sequence is normal sampling mode, the Modular ADC Core IP core automatically
switches the ADC back to normal sampling mode. The maximum cumulative
sampling rate in normal sampling mode is 1 MSPS.
• When the ADC switches from normal sensing mode to temperature sensing mode,
and vice versa, calibration is run automatically for the changed clock frequency.
The calibration incurs at least six clock calibration cycles from the new sampling
rate.
• The ADC TSD measurement uses a 64-samples running average method. For
example:
— The first measured temperature value is the average of samples 1 to 64.
— The second measured temperature value is the average of samples 2 to 65.
— The third measured temperature value is the average of samples 3 to 66.
— The subsequent temperature measurements follow the same method.
For dual ADC devices, the temperature sensor is available in ADC1 only.
17
2. Intel MAX 10 ADC Architecture and Features
683596 | 2024.01.03
18
2. Intel MAX 10 ADC Architecture and Features
683596 | 2024.01.03
Temp (C) Code Temp (C) Code Temp (C) Code Temp (C) Code Temp (C) Code
Table 5. Intel MAX 10 TSD Sampling Rate Based on Selected ADC Sample Rate
Parameter
ADC Sample Rate Selected Actual TSD Sampling Rate
1 MHz 50 KHz
50 KHz 5 KHz
You can specify up to 64 slots and assign the channel for each slot. You can repeat the
same channel number several times if required.
Related Information
Guidelines: ADC Sequencer in Modular Dual ADC Core IP Core on page 19
19
2. Intel MAX 10 ADC Architecture and Features
683596 | 2024.01.03
• The conversion sequence length of both ADC blocks must be the same.
• You can configure independent patterns for the conversion sequence of each ADC
blocks.
• You can set a sequencer slot in ADC2 to NULL. If you set the slot to NULL, ADC2
performs a dummy conversion for the slot with output of "0". The NULL option is
available only for ADC2.
• The temperature sensor is available only in ADC1. If you configure a sequencer
slot in ADC1 for temperature sensing, you must set the same sequencer slot
number in ADC2 to NULL.
Related Information
ADC Sequencer on page 19
clock
reset_n
command_valid
command_channel[4:0] 0x00 0x10 0x01 0x02
command_starofpacket
command_endofpacket
command_ready
response_valid
response_channel[4:0] 0x00 0x10 0x00 0x01
response_startofpacket
response_endofpacket
t t
t= 1
sampling rate
2.2. Modular ADC Core and Modular Dual ADC Core IP Cores
You can use the Modular ADC Core and Modular Dual ADC Core IP cores to generate
soft IP controllers for the ADC hard IP blocks in Intel MAX 10 devices.
20
2. Intel MAX 10 ADC Architecture and Features
683596 | 2024.01.03
You can perform the following functions with the Modular ADC Core or Modular Dual
ADC Core IP core parameter editor:
• Configure the ADC clock, sampling rate, and reference voltage.
• Select which analog input channels that the ADC block samples.
• Configure the threshold value to trigger a threshold violation notification.
• Set up a conversion sequence to determine which channel requires more frequent
attention.
Related Information
• Modular ADC Core Intel FPGA IP and Modular Dual ADC Core Intel FPGA IP
References on page 46
• Introduction to Intel FPGA IP Cores
Provides general information about all Intel FPGA IP cores, including
parameterizing, generating, upgrading, and simulating IP cores.
• Creating Version-Independent IP and Qsys Simulation Scripts
Create simulation scripts that do not require manual updates for software or IP
version upgrades.
• Project Management Best Practices
Guidelines for efficient management and portability of your project and IP files.
Related Information
Modular ADC Core Intel FPGA IP and Modular Dual ADC Core Intel FPGA IP References
on page 46
21
2. Intel MAX 10 ADC Architecture and Features
683596 | 2024.01.03
In a system monitoring application, the ADC captures a block of samples data and
stores them in the on-chip RAM. The host processor retrieves the data before
triggering another block of ADC data sample request. The speed of the host processor
in servicing the interrupt determines the interval between each block sample request.
Figure 9. Standard Sequencer with Avalon-MM Sample Storage (Modular ADC Core IP
Core)
altera_adc
peripheral clock altera_adc_sequencer altera_adc_control adc_pll_clock
peripheral reset (clock from dedicated PLL)
CSR S SRC command SRC adc_pll_locked
SNK
(locked signal from dedicated PLL)
altera_adc_sample_store
response
CSR S SNK
IRQ
Figure 10. Standard Sequencer with Avalon-MM Sample Storage (Modular Dual ADC Core
IP Core)
altera_dual_adc
altera_adc_sequencer altera_adc_control
command response adc_pll_clock
peripheral clock SRC SNK SRC
(clock from dedicated PLL)
peripheral reset
SRC adc_pll_locked
sync handshake (locked signal from dedicated PLL)
Related Information
• Customizing and Generating Modular ADC Core IP Core on page 40
• Completing ADC Design on page 45
22
2. Intel MAX 10 ADC Architecture and Features
683596 | 2024.01.03
When the threshold value is violated, the Modular ADC Core or Modular Dual ADC Core
IP core notifies the discrete logic component. The discrete component then triggers
system recovery action. For example, the system can increase the fan speed in a
temperature control system.
Figure 11. Standard Sequencer with Avalon-MM Sample Storage and Threshold Violation
Detection (Modular ADC Core IP Core)
altera_adc
peripheral clock altera_adc_sequencer altera_adc_control adc_pll_clock
peripheral reset (clock from dedicated PLL)
CSR S SRC command SRC adc_pll_locked
SNK
(locked signal from dedicated PLL)
response
altera_adc_sample_store Avalon ST Splitter
Core
response
CSR S SNK SRC SNK
IRQ SRC
altera_adc_threshold_detect
response
threshold SRC SNK
In dual ADC mode, you can configure the threshold detection of each ADC instance
independently of each other. This capability is available because each ADC instance
measures different analog metrics.
Figure 12. Standard Sequencer with Avalon-MM Sample Storage and Threshold Violation
Detection (Modular Dual ADC Core IP Core)
threshold
altera_dual_adc SRC
altera_adc_threshold_detect
altera_adc_sequencer altera_adc_control SNK
response adc_pll_clock
command
peripheral clock SRC SNK SRC response (clock from dedicated PLL)
peripheral reset SRC adc_pll_locked
SRC (locked signal from dedicated PLL)
response
sync handshake SNK SRC
Avalon ST Splitter altera_adc_response_merge
SNK altera_adc_sample_store
Core
SNK response
CSR S altera_dual_adc_synchronizer SRC SNK S CSR
Avalon ST Splitter
SNK SNK IRQ
Core
sync handshake SNK SRC response
SRC SRC
command response
SRC SNK SRC
response
SNK
altera_adc_control
altera_adc_threshold_detect
SRC
threshold
Related Information
• Customizing and Generating Modular ADC Core IP Core on page 40
• Completing ADC Design on page 45
You need to design your own logic to interface with the external storage.
23
2. Intel MAX 10 ADC Architecture and Features
683596 | 2024.01.03
Figure 13. Standard Sequencer with External Sample Storage (Modular ADC Core IP
Core)
altera_adc adc_pll_clock
peripheral clock
(clock from dedicated PLL)
peripheral reset
altera_adc_sequencer altera_adc_control adc_pll_locked
(locked signal from dedicated PLL)
CSR S SRC command SRC response
SNK
Figure 14. Standard Sequencer with External Sample Storage (Modular Dual ADC Core
IP Core)
altera_dual_adc
altera_adc_sequencer altera_adc_control
command response
peripheral clock SRC SNK SRC
peripheral reset
SRC adc_pll_clock
sync handshake (clock from dedicated PLL)
adc_pll_locked
SNK (locked signal from dedicated PLL)
CSR S altera_dual_adc_synchronizer
SNK
sync handshake
SRC
command
SRC SNK SRC response
altera_adc_control
Related Information
• Customizing and Generating Modular ADC Core IP Core on page 40
• Completing ADC Design on page 45
Figure 15. ADC Control Core Only (Modular ADC Core IP Core)
altera_adc adc_pll_clock
peripheral clock
(clock from dedicated PLL)
peripheral reset
altera_adc_control adc_pll_locked
(locked signal from dedicated PLL)
command SNK SRC response
24
2. Intel MAX 10 ADC Architecture and Features
683596 | 2024.01.03
Figure 16. ADC Control Core Only (Modular Dual ADC Core IP Core)
altera_dual_adc
altera_adc_control
Related Information
• Customizing and Generating Modular ADC Core IP Core on page 40
• Completing ADC Design on page 45
25
2. Intel MAX 10 ADC Architecture and Features
683596 | 2024.01.03
2.2.2. Modular ADC Core and Modular Dual ADC Core IP Cores
Architecture
The Modular ADC Core IP core consists of six micro cores.
ADC control This core interacts with the ADC hard IP block. The ADC control core uses Avalon ST interface to
receive commands from upstream cores, decodes, and drives the ADC hard IP block accordingly.
Sequencer This core contains command register and static conversion sequence data. The sequencer core
issues commands for downstream cores to execute.
• You can use the command register to configure the intended conversion mode.
• You can configure the length and content of the conversion sequence data only when
generating the IP core.
• You can access the register of the sequencer core through the Avalon® memory-mapped slave
interface.
• The command information to the downstream core goes through the Avalon ST interface.
Sample storage This core stores the ADC samples that are received through the Avalon ST interface.
• The samples are stored in the on-chip RAM. You can retrieve the samples through the Avalon
memory-mapped slave interface.
• With this core, you have the option to generate interrupt when the ADC receives a block of
ADC samples (one full round of conversion sequence).
Response merge This core merges simultaneous responses from two ADC control cores into a single response
packet to send to the sample storage core. This core is available only if you use the Modular Dual
ADC Core IP core in the following configurations:
• Standard Sequencer with Avalon-MM Sample Storage
• Standard Sequencer with Avalon-MM Sample Storage and Threshold Violation Detection
Dual ADC This core performs synchronization handshakes between two ADC control cores. This core is
synchronizer core available only if you use the Modular Dual ADC Core IP core.
Threshold detection • This core supports fault detection. The threshold detection core receives ADC samples through
the Avalon ST interface and checks whether the samples value exceeds the maximum or falls
below the minimum threshold value.
• The threshold detection core conveys threshold value violation information through the Avalon
ST interface.
• You can configure which channel to enable for maximum and minimum threshold detection
and the threshold values only during IP core generation.
The ADC control core of the Modular ADC Core IP core implements only the functions
that are related to ADC hard IP block operations. For example:
• Power up
• Power down
• Analog to digital conversion on analog pins
• Analog to digital conversion on on-chip temperature sensor
26
2. Intel MAX 10 ADC Architecture and Features
683596 | 2024.01.03
The ADC control core does not have run-time configurable options.
altera_adc_control adc_pll_clock
peripheral clock (clock from dedicated PLL)
peripheral reset adc_pll_locked
ADC ADC
(locked signal from dedicated PLL)
Controller Hard IP
command SNK FSM Wrapper SRC response
SRC sync handshake (dual ADC only)
Command The ADC control core asserts ready when it is ready to perform a sample conversion.
The ADC control core only accepts one command at a time. The control core releases ready when
it completes processing current command and prepares to perform the next command.
Once the ADC control core asserts "cmd_ready=1" to acknowledge the current command, the
Sequencer core provides the next valid request within two clock cycles. If the next valid request
comes after two clock cycles, the ADC control core perform non-continuous sampling.
Response The ADC control core does not support backpressure in the response interface. The fastest back-
to-back assertion of valid request is 1 µs.
During Modular ADC Core or Modular Dual ADC Core IP core configuration, the
sequencer core provides up to 64 configurable slots. You can define the sequence that
the ADC channels are sampled by selecting the ADC channel for each sequencer slot.
altera_adc_sequencer
peripheral clock
peripheral reset Command Register Sequencer
Controller SRC command
CSR S Static Conversion
Sequence Data Array Sequencer
SRC command
(up to 64 slots) Controller
(dual ADC only)
27
2. Intel MAX 10 ADC Architecture and Features
683596 | 2024.01.03
Single cycle ADC • In this mode, when the run bit is set, ADC conversion starts from the channel that you specify
conversion in the first slot.
• The conversion continues onwards with the channel that you specify in each sequencer slot.
• Once the conversion finishes with the last sequencer slot, the conversion cycle stops and the
ADC hard IP block clears the run bit.
Continuous ADC • In this mode, when the run bit is set, ADC conversion starts from the channel that you specify
conversion in the first slot.
• The conversion continues onwards with the channel that you specify in each sequencer slot.
• Once the conversion finishes with the last sequencer slot, the conversion begins again from
the first slot of the sequence.
• To stop the continuous conversion, clear the run bit. The sequencer core continues the
conversion sequence until it reaches the last slot and then stops the conversion cycle.
Related Information
• Modular ADC Core Parameters Settings on page 47
Lists the parameters available during Modular ADC Core IP configuration.
• Modular Dual ADC Core Parameters Settings on page 51
Lists the parameters available during Modular Dual ADC Core IP configuration.
• Sequencer Core Registers on page 59
Lists the registers for run-time control of the sequencer core.
For example, if you sample a sequence of CH1, CH2, CH1, CH3, CH1, and then CH4,
the ADC sample storage core stores the channel sample data in the same RAM entry
sequence. This means that CH1 sample data is in the first, third, and fifth RAM
entries; one for each sequence slot.
The sample storage core asserts IRQ when it completes receipt of a sample block. You
can disable the IRQ assertion during run time using the interrupt enable register (IER)
of the sample storage core. If you disable IRQ assertion, you must create polling
methods in your design to determine the complete receipt of a sample block.
altera_adc_sample_store
peripheral clock
peripheral reset 64 RAM Entries for RAM
ADC Sample Storage Control
CSR S SNK response
IER Register Interrupt
IRQ ISR Register Control
28
2. Intel MAX 10 ADC Architecture and Features
683596 | 2024.01.03
Related Information
Sample Storage Core Registers on page 60
The Modular Dual ADC Core IP core uses the response merge core if you use the
following configurations:
• Standard Sequencer with Avalon-MM Sample Storage
• Standard Sequencer with Avalon-MM Sample Storage and Threshold Violation
Detection
altera_adc_response_merge
peripheral clock
peripheral reset
response SNK
Response merge SRC response
response SNK logic
The peripheral clock domain is asynchronous to the ADC PLL clock domain in the ADC
control core. Control event from the ADC hard IP block can appear at the peripheral
clock domain at the same time, or by a difference of one peripheral clock between
ADC1 and ADC2 control cores. Both ADC hard IP cores communicate with the dual
ADC synchronizer core through the Avalon-ST interface.
For example, although a new command valid event from the sequencer arrives at both
ADC control cores at the same peripheral clock cycle, the end of conversion signals
arrive at one peripheral clock cycle difference between ADC1 and ADC2. To avoid the
condition where ADC1 begins conversion earlier or later than ADC2, the ADC control
core performs synchronization handshake using the dual ADC synchronizer core.
An ADC control core asserts a sync_valid signal when it detects an ADC PLL clock
domain event. The dual ADC synchronizer core asserts the sync_ready signal after it
receives sync_valid signals from both ADC control cores. After the sync_ready
signal is asserted, both ADC control cores proceed to their next internal state.
29
2. Intel MAX 10 ADC Architecture and Features
683596 | 2024.01.03
altera_dual_adc_synchronizer
peripheral clock
peripheral reset
sync handshake SNK
Synchronizer
sync handshake SNK logic
If the ADC sample value is beyond the maximum or minimum threshold limit, the
threshold detection core issues a violation notification through the Avalon-ST
interface.
altera_adc_threshold_detect
peripheral clock
peripheral reset
Comparator
threshold SRC Logic SNK response
Related Information
ADC HAL Device Driver for Nios Processor on page 61
30
2. Intel MAX 10 ADC Architecture and Features
683596 | 2024.01.03
The ADC Toolkit supports monitoring the ADC whether you use the Modular ADC Core
or Modular Dual ADC Core IP core. However, the ADC Toolkit can only monitor one
ADC block at a time. If you are using the Modular Dual ADC Core IP core, configure
the Debug Path parameter in the IP core to select which ADC block you want to hook
up to the ADC Toolkit.
Related Information
ADC Toolkit
Provides more information about the ADC Toolkit.
The ADC simulation model for Intel MAX 10 devices supports the standard digital logic
simulators that the Intel Quartus Prime software supports.
Related Information
Intel Quartus Prime Simulator Support
Table 9. Fixed Expected Output Data for Single ADC Device Simulation
Channel Expected Output Data (Decimal Value)
CH0 0
CH1 1
CH2 2
CH3 3
CH4 4
CH5 5
CH6 6
CH7 7
CH8 8
CH9 9
CH10 10
CH11 11
CH12 12
CH13 13
continued...
31
2. Intel MAX 10 ADC Architecture and Features
683596 | 2024.01.03
CH14 14
CH15 15
CH16 16
TSD 3615
Table 10. Fixed Expected Output Data for Dual ADC Device Simulation
Channel Expected Output Data (Decimal Value)
ADC1 ADC2
CH0 10 20
CH1 11 21
CH2 12 22
CH3 13 23
CH4 14 24
CH5 15 25
CH6 16 26
CH7 17 27
CH8 18 28
TSD 3615 —
(No TSD in ADC2)
If you enable this feature, you must provide a simulation stimulus input file for each
ADC channel that you enable. The logic simulation reads the input file for each
channel and outputs the value of the current sequence. Once the simulation reaches
the end of the file, it repeats from the beginning of the sequence.
The stimulus input file is a plain text file that contains two columns of numbers:
• The first column of numbers is ignored by the simulation model. You can use any
values that you want such as time or sequence. The actual data sequencing is
based on the text rows.
• The second column contains the voltage values.
The ADC IP core automatically converts each voltage value to a 12-bit digital value
based on the reference voltage you specify in the IP core parameter settings.
32
2. Intel MAX 10 ADC Architecture and Features
683596 | 2024.01.03
VIN
33
683596 | 2024.01.03
Send Feedback
Related Information
Intel MAX 10 Analog to Digital Converter Overview on page 4
Related Information
Intel MAX 10 FPGA Device Family Pin Connection Guidelines
Provides more information about pin connections including pin names and
connection guidelines.
3.2. Guidelines: Board Design for Power Supply Pin and ADC Ground
(REFGND)
The crosstalk requirement for analog to digital signal is -100 dB up to 2 GHz. There
must be no parallel routing between power, ground, and surrounding general purpose
I/O traces. If a power plane is not possible, route the power and ground traces as
wide as possible.
• To reduce IR drop and switching noise, keep the impedance as low as possible for
the ADC power and ground. The maximum DC resistance for power is 1.5 Ω.
• The power supplies connected to the ADC should have ferrite beads in series
followed by a 10 µF capacitor to the ground. This setup ensures that no external
noise goes into the device power supply pins.
• Decouple each of the device power supply pin with a 0.1 µF capacitor. Place the
capacitor as close as possible to the device pin.
Intel Corporation. All rights reserved. Intel, the Intel logo, and other Intel marks are trademarks of Intel
Corporation or its subsidiaries. Intel warrants performance of its FPGA and semiconductor products to current
specifications in accordance with Intel's standard warranty, but reserves the right to make changes to any ISO
products and services at any time without notice. Intel assumes no responsibility or liability arising out of the 9001:2015
application or use of any information, product, or service described herein except as expressly agreed to in Registered
writing by Intel. Intel customers are advised to obtain the latest version of device specifications before relying
on any published information and before placing orders for products or services.
*Other names and brands may be claimed as the property of others.
3. Intel MAX 10 ADC Design Considerations
683596 | 2024.01.03
There is no impedance requirement for the REFGND. Intel recommends that you use
the lowest impedance with the most minimum DC resistance possible. Typical
resistance is less than 1 Ω.
Intel recommends that you set a REFGND plane that extends as close as possible to
the corresponding decoupling capacitor and FPGA:
• If possible, define a complete REFGND plane in the layout.
• Otherwise, route the REFGND using a trace that is as wide as possible from the
island to the FPGA pins and decoupling capacitor.
• The REFGND ground is the analog ground plane for the ADC VREF and analog input.
• Connect REFGND ground to the system digital ground through ferrite beads. You
can also evaluate the ferrite bead option by comparing the impedance with the
frequency specifications.
35
3. Intel MAX 10 ADC Design Considerations
683596 | 2024.01.03
• The ADC presents a switch capacitor load to the driving circuit. Therefore, the
total RC constant, including package, trace, and parasitic driver must be less than
42.4 ns. This consideration is to ensure that the input signal is fully settled during
the sampling phase.
• If you reduce the total sampling rate, you can calculate the required settling time
as 0.45 ÷ FS > 10.62 × RC constant.
• To gain more total RC margin, Intel recommends that you make the driver source
impedance as low as possible:
— For non-prescaler channel—less than 1 kΩ
— For prescaler channel—less than 11 Ω
Note: Not adhering to the source impedance recommendation may impact
parameters such as total harmonic distortion (THD), signal-to-noise and
distortion ratio (SINAD), differential non-linearity (DNL), and integral non-
linearity (INL).
Trace Routing
• If possible, route the switching I/O traces on different layers.
• There is no specific requirement for input signal trace impedance. However, the DC
resistance for the input trace must be as low as possible.
• Route the analog input signal traces as adjacent as possible to REFGND if there is
no REFGND plane.
• Use REFGND as ground reference for the ADC input signal.
• For prescaler-enabled input signal, set the ground reference to REFGND.
Performance degrades if the ground reference of prescaler-enabled input signal is
set to common ground (GND).
This table is an example of the method to quantify the RC constant and identify the RC filter value.
Total RC Constant = (RDRIVER + RBOARD + RPACKAGE + RFILTER) × (CDRIVER + CBOARD + CPACKAGE + CFILTER + CPIN)
36
3. Intel MAX 10 ADC Design Considerations
683596 | 2024.01.03
Intel
FPGA
REFGND
C1
Board RC
+ ADC Analog Input
Driver RC
R1 R2 -
Cut-off frequency: C2
1
ƒc = Intel
2π R1C1R2C2
REFGND FPGA
Related Information
• Parameters Settings for Generating Modular ADC Core or Modular Dual ADC Core
IP Core on page 42
• Modular ADC Core Parameters Settings on page 47
• Modular Dual ADC Core Parameters Settings on page 51
• SPICE Models for Intel FPGAs
Provides the MAX 10 ADC spice model download.
If a REFGND plane is not possible, route the analog input signal as adjacent as
possible to REFGND.
There is one ADC reference voltage pin in each Intel MAX 10 device. This pin uses
REFGND as ground reference. Keep the trace resistance less than 0.8 Ω.
37
3. Intel MAX 10 ADC Design Considerations
683596 | 2024.01.03
VREF
1.0 Ω
10.0 µF 1 µF Intel
FPGA
REFGND REFGND
38
683596 | 2024.01.03
Send Feedback
The Intel Quartus Prime software allows you to set up the parameters and generate
your Modular ADC Core Intel FPGA IP or Modular Dual ADC Core Intel FPGA IP. To
understand the ADC signal performance, you can use the Intel Quartus Prime ADC
Toolkit. For more information about using the Intel Quartus Prime software and the
ADC toolkit, refer to the related information.
Figure 29. High Level Block Diagram of the Intel MAX 10 ADC Solution
Intel® FPGA
Modular ADC Core Intel® FPGA IP
Avalon MM Slave
Sequencer
state machine
ALTPLL ADC hard IP clock ADC hard IP Control, status, and data
IP Core block signals to sample analog
input pin, one pin at a time
External voltage
reference pin Analog input pins
Related Information
• Intel MAX 10 Analog to Digital Converter Overview on page 4
• Intel Quartus Prime Standard Edition Handbook, Volume 1: Design and Synthesis
Provides more information about using IP cores in the Quartus II software.
• Introduction to Intel FPGA IP Cores
Provides general information about all Intel FPGA IP cores, including
parameterizing, generating, upgrading, and simulating IP cores.
• Creating Version-Independent IP and Qsys Simulation Scripts
Create simulation scripts that do not require manual updates for software or IP
version upgrades.
• Project Management Best Practices
Guidelines for efficient management and portability of your project and IP files.
Intel Corporation. All rights reserved. Intel, the Intel logo, and other Intel marks are trademarks of Intel
Corporation or its subsidiaries. Intel warrants performance of its FPGA and semiconductor products to current
specifications in accordance with Intel's standard warranty, but reserves the right to make changes to any ISO
products and services at any time without notice. Intel assumes no responsibility or liability arising out of the 9001:2015
application or use of any information, product, or service described herein except as expressly agreed to in Registered
writing by Intel. Intel customers are advised to obtain the latest version of device specifications before relying
on any published information and before placing orders for products or services.
*Other names and brands may be claimed as the property of others.
4. Intel MAX 10 ADC Implementation Guides
683596 | 2024.01.03
• ADC Toolkit
Provides more information about the ADC Toolkit.
• ADC Toolkit for Testing ADC Performance on page 30
The ALTPLL IP core provides the clock for the Modular ADC Core IP core.
1. Customize and generate the ALTPLL IP core.
2. Customize and generate the Modular ADC Core IP core.
3. Connect the ALTPLL IP core to the Modular ADC Core IP core.
4. Create ADC Avalon slave interface to start the ADC.
Related Information
• Customizing and Generating Modular ADC Core IP Core on page 40
• Parameters Settings for Generating Modular ADC Core or Modular Dual ADC Core
IP Core on page 42
• Parameters Settings for Generating ALTPLL IP Core on page 41
• Completing ADC Design on page 45
• Intel MAX 10 Getting Started
• Intel MAX 10 Online Training
• Intel MAX 10 How-to Videos
• How to Create ADC Design in Intel MAX 10 Device Using Platform Designer
(Standard) Tool
Provides video instruction that demonstrates how to create the ADC design in
Intel MAX 10 devices using the Qsys system integration tool within the Intel
Quartus Prime software and how to use the ADC toolkit to view the measured
analog signal.
• How to Create Simultaneous Measurement with Intel MAX 10 ADC, Part 1
Provides the first part of video instruction series that explains the differences
between the Intel MAX 10 Modular ADC Core and Modular Dual ADC Core IP
cores. The video also demonstrates how to create a simple simultaneous ADC
measurement and how to place signal taps to measure the digital code output
for analog signal.
• How to Create Simultaneous Measurement with Intel MAX 10 ADC, Part 2
Provides the second part of video instruction series that explains the
differences between the Intel MAX 10 Modular ADC Core and Modular Dual ADC
Core IP cores. The video also demonstrates how to create a simple
simultaneous ADC measurement and how to place signal taps to measure the
digital code output for analog signal.
40
4. Intel MAX 10 ADC Implementation Guides
683596 | 2024.01.03
You can copy an example HDL code to declare an instance of your ADC system. In the
Platform Designer (Standard) window, select Generate ➤ HDL Example.
Related Information
• Creating Intel MAX 10 ADC Design on page 40
• Parameters Settings for Generating ALTPLL IP Core on page 41
• Parameters Settings for Generating Modular ADC Core or Modular Dual ADC Core
IP Core on page 42
• Configuration 1: Standard Sequencer with Avalon-MM Sample Storage on page 22
• Configuration 2: Standard Sequencer with Avalon-MM Sample Storage and
Threshold Violation Detection on page 22
• Configuration 3: Standard Sequencer with External Sample Storage on page 23
• Configuration 4: ADC Control Core Only on page 24
• ADC PLL Clock Interface of Modular ADC Core and Modular Dual ADC Core on page
58
• ADC PLL Locked Interface of Modular ADC Core and Modular Dual ADC Core on
page 59
41
4. Intel MAX 10 ADC Implementation Guides
683596 | 2024.01.03
For more information about all ALTPLL parameters, refer to the related information.
Parameter Settings ➤ What is the frequency of the Specify the input frequency to the PLL.
General/Modes inclk0 input?
Create 'locked' output Turn on this option. You need to connect this signal to the
adc_pll_locked port of the Modular ADC Core or Modular
Dual ADC Core IP core.
Enter output clock frequency Specify an output frequency of 2, 10, 20, 40, or 80 MHz.
You can specify any of these frequencies. The ADC block
runs at 1 MHz internally but it contains a clock divider that
can further divide the clock by a factor of 2, 10, 20, 40, and
80.
Use this same frequency value in your Modular ADC Core or
Modular Dual ADC Core IP core. You need to connect this
signal to the adc_pll_clock port of the Modular ADC Core
or Modular Dual ADC Core IP core.
Different ADC sampling rates support different clock
frequencies. For a valid sampling rate and clock frequency
combination, refer to the related information.
Related Information
• Creating Intel MAX 10 ADC Design on page 40
• Customizing and Generating Modular ADC Core IP Core on page 40
• Completing ADC Design on page 45
• Intel MAX 10 Clock Networks and PLLs User Guide
• ADC PLL Clock Interface of Modular ADC Core and Modular Dual ADC Core on page
58
• ADC PLL Locked Interface of Modular ADC Core and Modular Dual ADC Core on
page 59
• Valid ADC Sample Rate and Input Clock Combination on page 54
Note: The Modular ADC Core and Modular Dual ADC Core IP cores support generating only
Verilog* simulation scripts.
Intel recommends that you save the generated files in the design file directory (default
setting).
42
4. Intel MAX 10 ADC Implementation Guides
683596 | 2024.01.03
For more information about each Modular ADC Core or Modular Dual ADC Core
parameter, refer to the related information section.
Core Variant There are four configuration variants of the Modular ADC Core IP core. Select the
core variant that meets your requirement. For more information, refer to the
related information.
Debug Path Turn this on to enable the debug path for the selected core variant. You can use
the ADC Toolkit to monitor the ADC performance.
Generate IP for which ADCs of this For devices with two ADC blocks, select the ADC block for which you are
device? generating the IP core. There are feature differences between the two ADC
blocks. The temperature sensor is available only in the first ADC block. There are
also different channel counts in both ADC blocks.
ADC Sample Rate Select the predefined sampling rate for the ADC from 25 kHz to 1 MHz. A lower
sampling rate allows you greater flexibility in designing your ADC front end driver
circuit. For example, using a lower sampling rate gives you a wider settling time
margin for your filter design.
The sampling rate you select affects which ADC input clock frequencies are
available.
Refer to the related information for more details about the sampling rate and the
required settling time.
ADC Input Clock Select the same frequency that you set for the ALTPLL IP core that clocks the
Modular ADC Core IP core. When configuring the ALTPLL IP core, specify a clock
frequency that is supported by the ADC sampling rate. For more details, refer to
the related information.
Reference Voltage Source Select whether you want to use external or internal reference voltage.
There is only one VREF pin. For dual ADC blocks, you can use one external VREF
source for both ADC blocks, or external VREF for one ADC block and internal VREF
for the other ADC block.
External Reference Voltage If you use external VREF source in your design, specify the VREF level.
Enable user created expected output If you want to use your own stimulus input file to simulate the ADC output data,
file enable this function and specify the file for the specific ADC channel. For more
information about user-specified ADC logic simulation output, refer to the related
information.
Parameter Setting
Use Channel 0 (Dedicated analog input This option is available in the CH0 tab.
pin - ANAIN) CH0 is the dedicated analog input channel. If you want to use the dedicated
analog input, turn on this option.
User created expected output file If you enabled the option to use your own stimulus input file to simulate the
output data, click Browse and select the file for each enabled channel.
This option is available in all channel tabs except the TSD tab.
Use Channel N You can select which dual-function ADC channels to turn on or off. There are 16
channels (CH1 to CH16) for single ADC devices and 8 channels (CH1 to CH8) for
each ADC block in dual ADC devices.
Use on-chip TSD This option is available in the TSD tab. The TSD channel is the temperature
sensing channel.
Turn on this option if you want the IP core to read the built-in temperature
sensor in the ADC block.
continued...
43
4. Intel MAX 10 ADC Implementation Guides
683596 | 2024.01.03
Parameter Setting
The sampling rate of the ADC block reduces to 50 kHz when it reads the
temperature measurement. After it completes the temperature reading, the ADC
sampling rate returns to 1 MHz.
For the Modular Dual ADC Core IP core, if you specify the TSD in a sequencer
slot for ADC1, specify NULL in the same sequencer slot number for ADC2.
Enable Maximum threshold for Channel Turn on this option if you want to set a maximum threshold value for the
N channel.
Enter Maximum Threshold for Channel Enter the maximum threshold voltage for the channel. The IP core generates a
N threshold violation notification signal to indicate that the sampled data is over
the threshold value that you specify.
Enable Maximum threshold for on-chip Enter the maximum threshold temperature for the temperature sensor in Celsius.
TSD (TSD tab) The IP core generates a threshold violation notification signal to indicate that the
sampled temperature is over the temperature that you specify.
Enable Minimum threshold for Channel Turn on this option if you want to set a minimum threshold value for the channel.
N
Enter Minimum Threshold for Channel Enter the minimum threshold voltage for the channel. The IP core generates a
N threshold violation notification signal to indicate that the sampled data is below
the threshold value that you specify.
Enter Minimum Threshold for on-chip Enter the maximum threshold temperature for the temperature sensor in Celsius.
TSD (TSD tab) The IP core generates a threshold violation notification signal to indicate that the
sampled temperature is below the temperature that you specify.
Number of slot used Select the number of channels to use for conversion. The parameter editor
displays the number of slots available in the Conversion Sequence Channels
based on your selection.
Slot N For each available slot, select the channel to sample in the sequence. The
available channels depend on the channels that you turned on in the Channels
parameters group.
If you turned on a channel but do not select the channel in any of the sequencer
slots, the unselected channel is not measured during the ADC sampling
sequence.
The ADC block samples the measurements in the sequence you specify. After it
reaches the last slot in the sequence, it repeats the sampling from the first slot.
Related Information
• Creating Intel MAX 10 ADC Design on page 40
• Customizing and Generating Modular ADC Core IP Core on page 40
• Completing ADC Design on page 45
• Modular ADC Core Parameters Settings on page 47
• Modular Dual ADC Core Parameters Settings on page 51
• Modular ADC Core IP Core Channel Name to Intel MAX 10 Device Pin Name
Mapping on page 49
• Modular Dual ADC Core IP Core Channel Name to Intel MAX 10 Device Pin Name
Mapping on page 53
• Valid ADC Sample Rate and Input Clock Combination on page 54
44
4. Intel MAX 10 ADC Implementation Guides
683596 | 2024.01.03
Generate the ALTPLL and Modular ADC Core IP cores with the settings in the related
information.
Related Information
• Creating Intel MAX 10 ADC Design on page 40
• Parameters Settings for Generating ALTPLL IP Core on page 41
• Parameters Settings for Generating Modular ADC Core or Modular Dual ADC Core
IP Core on page 42
• Configuration 1: Standard Sequencer with Avalon-MM Sample Storage on page 22
• Configuration 2: Standard Sequencer with Avalon-MM Sample Storage and
Threshold Violation Detection on page 22
• Configuration 3: Standard Sequencer with External Sample Storage on page 23
• Configuration 4: ADC Control Core Only on page 24
45
683596 | 2024.01.03
Send Feedback
The Intel Quartus Prime software generates your customized Modular ADC Core or
Modular Dual ADC Core IP core according to the parameter options that you set in the
parameter editor.
Related Information
• Intel MAX 10 Analog to Digital Converter Overview on page 4
• Modular ADC Core and Modular Dual ADC Core IP Cores on page 20
• Modular ADC Core IP Core Configuration Variants on page 21
Intel Corporation. All rights reserved. Intel, the Intel logo, and other Intel marks are trademarks of Intel
Corporation or its subsidiaries. Intel warrants performance of its FPGA and semiconductor products to current
specifications in accordance with Intel's standard warranty, but reserves the right to make changes to any ISO
products and services at any time without notice. Intel assumes no responsibility or liability arising out of the 9001:2015
application or use of any information, product, or service described herein except as expressly agreed to in Registered
writing by Intel. Intel customers are advised to obtain the latest version of device specifications before relying
on any published information and before placing orders for products or services.
*Other names and brands may be claimed as the property of others.
5. Modular ADC Core Intel FPGA IP and Modular Dual ADC Core Intel FPGA IP References
683596 | 2024.01.03
Core Variant • Standard Selects the core configuration for the Modular ADC Core IP core.
sequencer with
Avalon-MM
sample storage
• Standard
sequencer with
Avalon-MM
sample storage
and threshold
violation
detection
• Standard
sequencer with
external sample
storage
• ADC control core
only
Generate IP for which ADCs of • 1st ADC For devices that have two ADC blocks, specifies which ADC block
this device? • 2nd ADC you want to instantiate using the IP core.
ADC Sample Rate 25 kHz, 50 kHz, Specifies the ADC sampling rate. The sampling rate you select
100 kHz, 200 kHz, affects which ADC input clock frequencies are available.
250 kHz, 500 kHz, Refer to the related information for more details about the
and 1 MHz sampling rate and the required settling time.
ADC Input Clock 2 MHz, 10 MHz, Specifies the frequency of the PLL clock counter zero (c0) clock
20 MHz, 40 MHz, supply for the ADC core clock.
and 80 MHz • You must configure the c0 of the first ALTPLL IP core that you
instantiate to output one of the frequencies in the allowed
values list.
• Connect the ALTPLL c0 output signal to the Modular ADC Core
clk_in_pll_c0 input signal.
For valid ADC sampling rate and input clock frequencies
combinations, refer to the related information.
Reference Voltage Source • External Specifies the source of voltage reference for the ADC:
• Internal • External—uses ADC_VREF pin as the voltage reference source.
• Internal—uses the on-chip 2.5 V (3.0/3.3V on voltage-
regulated devices) as the voltage reference source.
External Reference Voltage • Dual supply Specifies the voltage of ADC_VREF pin if you use it as reference
devices: up to voltage to the ADC.
2.5 V
• Single supply
devices: up to
3.63 V
Enable user created expected • Enabled Specifies the source of output data for ADC logic simulation:
output file • Disabled • Enabled—uses the stimulus input file you provide for each
ADC channel, except the TSD channel, to simulate the output
data.
• Disabled—uses fixed expected output data for all ADC
channels. This is the default setting.
continued...
47
5. Modular ADC Core Intel FPGA IP and Modular Dual ADC Core Intel FPGA IP References
683596 | 2024.01.03
User created expected output Specifies user-created stimulus input file to simulate the output
file data for the channel.
—
This option is available for each enabled channel except the TSD if
you select Enable user created expected output file.
Use on-chip TSD • On Specifies that the IP core reads the built-in temperature sensor in
(TSD tab) • Off the ADC.
If you turn on this option, the ADC sampling rate is up to 50 kHz
when it reads the temperature measurement. After it completes
the temperature reading, the ADC sampling rate is up to 1 MHz.
Enable Maximum threshold for • On Enables the maximum threshold feature for the channel.
Channel N • Off This option is available only if you select the Standard
(Each channel in its own tab) sequencer with Avalon-MM sample storage and threshold
violation detection core variant.
Enable Maximum threshold for • On Enables the maximum threshold feature for the TSD.
on-chip TSD • Off This option is available only if you select the Standard
(TSD tab) sequencer with Avalon-MM sample storage and threshold
violation detection core variant.
Enter Maximum Threshold for Depends on Specifies the maximum threshold value in Volts.
Channel N reference voltage This setting is available only if you select the Standard
(Each channel in its own tab, sequencer with Avalon-MM sample storage and threshold
including channel 0) violation detection core variant.
Enter Maximum Threshold for Specifies the maximum threshold value in Celsius.
on-chip TSD This setting is available only if you select the Standard
—
(TSD tab) sequencer with Avalon-MM sample storage and threshold
violation detection core variant.
Enable Minimum threshold for • On Enables the minimum threshold feature for the channel.
Channel N • Off This option is available only if you select the Standard
(Each channel in its own tab, sequencer with Avalon-MM sample storage and threshold
including channel 0) violation detection core variant.
Enable Minimum threshold for • On Enables the minimum threshold feature for the TSD.
on-chip TSD • Off This option is available only if you select the Standard
(TSD tab) sequencer with Avalon-MM sample storage and threshold
violation detection core variant.
Enter Minimum Threshold for Depends on Specifies the minimum threshold value in Volts.
Channel N reference voltage This setting is available only if you select the Standard
(Each channel in its own tab, sequencer with Avalon-MM sample storage and threshold
including channel 0) violation detection core variant.
Enter Minimum Threshold for Specifies the minimum threshold value in Celsius.
—
on-chip TSD
continued...
48
5. Modular ADC Core Intel FPGA IP and Modular Dual ADC Core Intel FPGA IP References
683596 | 2024.01.03
(TSD tab) This setting is available only if you select the Standard
sequencer with Avalon-MM sample storage and threshold
violation detection core variant.
Enable Prescaler for Channel N • On Enables the prescaler function, where N is:
• Off • Channels 8 and 16 (if available) for single ADC devices.
• Channel 8 of ADC1 or ADC2 for dual ADC devices.
Number of slot used 1 to 64 Specifies the number of conversion sequence slots to use.
The Conversion Sequence Channels section displays the slots
available according to the number of slots you select here.
Slot N Enabled channel Specifies which enabled ADC channel to use for the slot in the
number (CH N) sequence.
The selection option lists the ADC channels that you turned on in
the Channels parameter group.
Related Information
• Sequencer Core on page 27
• Configuration 1: Standard Sequencer with Avalon-MM Sample Storage on page 22
• Configuration 2: Standard Sequencer with Avalon-MM Sample Storage and
Threshold Violation Detection on page 22
• Configuration 3: Standard Sequencer with External Sample Storage on page 23
• Configuration 4: ADC Control Core Only on page 24
• Modular ADC Core IP Core Channel Name to Intel MAX 10 Device Pin Name
Mapping on page 49
• Modular Dual ADC Core IP Core Channel Name to Intel MAX 10 Device Pin Name
Mapping on page 53
• Valid ADC Sample Rate and Input Clock Combination on page 54
• User-Specified ADC Logic Simulation Output on page 32
Provides more information about using your own stimulus input file to simulate
the ADC output data.
• Guidelines: Board Design for Analog Input on page 35
Provides more information about the sampling rate and settling time.
5.1.1. Modular ADC Core IP Core Channel Name to Intel MAX 10 Device
Pin Name Mapping
Each ADC channel in the Modular ADC Core IP core corresponds to different device pin
name for single and dual ADC devices.
Table 19. Modular ADC Core IP Core Channel to Pin Mapping for Single ADC Devices
Channel Name Pin Name
CH0 ANAIN1
CH1 ADC1IN1
continued...
49
5. Modular ADC Core Intel FPGA IP and Modular Dual ADC Core Intel FPGA IP References
683596 | 2024.01.03
CH2 ADC1IN2
CH3 ADC1IN3
CH4 ADC1IN4
CH5 ADC1IN5
CH6 ADC1IN6
CH7 ADC1IN7
CH8 ADC1IN8
CH9 ADC1IN9
CH10 ADC1IN10
CH11 ADC1IN11
CH12 ADC1IN12
CH13 ADC1IN13
CH14 ADC1IN14
CH15 ADC1IN15
CH16 ADC1IN16
Table 20. Modular ADC Core IP Core Channel to Pin Mapping for Dual ADC Devices
ADC Block Channel Name Pin Name
CH1 ADC1IN1
CH2 ADC1IN2
CH3 ADC1IN3
CH4 ADC1IN4
CH5 ADC1IN5
CH6 ADC1IN6
CH7 ADC1IN7
CH8 ADC1IN8
CH1 ADC2IN1
CH2 ADC2IN2
CH3 ADC2IN3
CH4 ADC2IN4
CH5 ADC2IN5
CH6 ADC2IN6
CH7 ADC2IN7
CH8 ADC2IN8
50
5. Modular ADC Core Intel FPGA IP and Modular Dual ADC Core Intel FPGA IP References
683596 | 2024.01.03
Core Variant • Standard Selects the core configuration for the Modular Dual ADC Core IP
sequencer with core.
Avalon-MM
sample storage
• Standard
sequencer with
Avalon-MM
sample storage
and threshold
violation
detection
• Standard
sequencer with
external sample
storage
• ADC control core
only
ADC Sample Rate 25 kHz, 50 kHz, Specifies the ADC sampling rate. The sampling rate you select
100 kHz, 200 kHz, affects which ADC input clock frequencies are available.
250 kHz, 500 kHz, Refer to the related information for more details about the
and 1 MHz sampling rate and the required settling time.
ADC Input Clock 2 MHz, 10 MHz, Specifies the frequency of the PLL clock counter zero (c0) clock
20 MHz, 40 MHz, supply for the ADC core clock.
and 80 MHz • You must configure the c0 of the first ALTPLL IP core that you
instantiate to output one of the frequencies in the allowed
values list.
• Connect the ALTPLL c0 output signal to the Modular Dual ADC
Core clk_in_pll_c0 input signal.
For valid ADC sampling rate and input clock frequencies
combinations, refer to the related information.
Reference Voltage (ADC1 or • External Specifies the source of voltage reference for the ADC:
ADC2) • Internal • External—uses ADC_VREF pin as the voltage reference source.
• Internal—uses the on-chip 2.5 V (3.0/3.3V on voltage-
regulated devices) as the voltage reference source.
External Reference Voltage • Dual supply Specifies the voltage of ADC_VREF pin if you use it as reference
devices: up to voltage to the ADC.
2.5 V
• Single supply
devices: up to
3.63 V
Enable user created expected • Enabled Specifies the source of output data for ADC logic simulation:
output file • Disabled • Enabled—uses the stimulus input file you provide for each
ADC channel, except the TSD channel, to simulate the output
data.
• Disabled—uses fixed expected output data for all ADC
channels. This is the default setting.
For more information about user-specified ADC logic simulation
output, refer to the related information.
51
5. Modular ADC Core Intel FPGA IP and Modular Dual ADC Core Intel FPGA IP References
683596 | 2024.01.03
Use Channel 0 or 9 (Dedicated • On Enables the dedicated analog input pin for ADC1 or ADC2.
analog input pin - ANAIN) • Off
(CH0 tab for ADC1 or CH9 tab
for ADC2)
User created expected output Specifies user-created stimulus input file to simulate the output
file data for the channel.
—
This option is available for each enabled channel except the TSD if
you select Enable user created expected output file.
Use on-chip TSD • On Specifies that the IP core reads the built-in temperature sensor in
(TSD tab in ADC1 only) • Off ADC1.
If you turn on this option, the ADC sampling rate is up to 50 kHz
when it reads the temperature measurement. After it completes
the temperature reading, the ADC sampling rate is up to 1 MHz.
Note: If you select the TSD for a sequencer slot in ADC1, select
NULL for the same sequencer slot number in ADC2.
Enable Maximum threshold for • On Enables the maximum threshold feature for the channel.
Channel N • Off This option is available only if you select the Standard
(Each channel in its own tab) sequencer with Avalon-MM sample storage and threshold
violation detection core variant.
Enable Maximum threshold for • On Enables the maximum threshold feature for the TSD.
on-chip TSD • Off This option is available only if you select the Standard
(TSD tab) sequencer with Avalon-MM sample storage and threshold
violation detection core variant.
Enter Maximum Threshold for Depends on Specifies the maximum threshold value in Volts.
Channel N reference voltage This setting is available only if you select the Standard
(Each channel in its own tab, sequencer with Avalon-MM sample storage and threshold
including channel 0) violation detection core variant.
Enter Maximum Threshold for Specifies the maximum threshold value in Celsius.
on-chip TSD This setting is available only if you select the Standard
—
(TSD tab) sequencer with Avalon-MM sample storage and threshold
violation detection core variant.
Enable Minimum threshold for • On Enables the minimum threshold feature for the channel.
Channel N • Off This option is available only if you select the Standard
(Each channel in its own tab, sequencer with Avalon-MM sample storage and threshold
including channel 0) violation detection core variant.
Enable Minimum threshold for • On Enables the minimum threshold feature for the TSD.
on-chip TSD • Off This option is available only if you select the Standard
(TSD tab) sequencer with Avalon-MM sample storage and threshold
violation detection core variant.
Enter Minimum Threshold for Depends on Specifies the minimum threshold value in Volts.
Channel N reference voltage This setting is available only if you select the Standard
(Each channel in its own tab, sequencer with Avalon-MM sample storage and threshold
including channel 0) violation detection core variant.
Enter Minimum Threshold for Specifies the minimum threshold value in Celsius.
on-chip TSD —
(TSD tab)
continued...
52
5. Modular ADC Core Intel FPGA IP and Modular Dual ADC Core Intel FPGA IP References
683596 | 2024.01.03
Enable Prescaler for Channel N • On Enables the prescaler function, where N is:
• Off • Channel 8 in ADC1
• Channel 17 in ADC2
Number of slot used 1 to 64 Specifies the number of conversion sequence slots to use for both
ADC1 and ADC2.
The Conversion Sequence Channels section displays the slots
available for ADC1 and ADC2 according to the number of slots
you select here.
Slot N Enabled channel Specifies which enabled ADC channel to use for the slot in the
number (CH N) sequence.
The selection option lists the ADC channels that you turned on in
the Channels parameter group for ADC1 and ADC2.
Note: If you select the TSD for a sequencer slot in ADC1, select
NULL for the same sequencer slot number in ADC2.
Related Information
• Sequencer Core on page 27
• Configuration 1: Standard Sequencer with Avalon-MM Sample Storage on page 22
• Configuration 2: Standard Sequencer with Avalon-MM Sample Storage and
Threshold Violation Detection on page 22
• Configuration 3: Standard Sequencer with External Sample Storage on page 23
• Configuration 4: ADC Control Core Only on page 24
• Modular ADC Core IP Core Channel Name to Intel MAX 10 Device Pin Name
Mapping on page 49
• Modular Dual ADC Core IP Core Channel Name to Intel MAX 10 Device Pin Name
Mapping on page 53
• Valid ADC Sample Rate and Input Clock Combination on page 54
• User-Specified ADC Logic Simulation Output on page 32
Provides more information about using your own stimulus input file to simulate
the ADC output data.
• Guidelines: Board Design for Analog Input on page 35
Provides more information about the sampling rate and settling time.
5.2.1. Modular Dual ADC Core IP Core Channel Name to Intel MAX 10
Device Pin Name Mapping
Each ADC channel in the Modular Dual ADC Core IP core corresponds to different
device pin name.
53
5. Modular ADC Core Intel FPGA IP and Modular Dual ADC Core Intel FPGA IP References
683596 | 2024.01.03
Table 24. Modular Dual ADC Core IP Core Channel to Pin Mapping
ADC Block Channel Name Pin Name
CH1 ADC1IN1
CH2 ADC1IN2
CH3 ADC1IN3
CH4 ADC1IN4
CH5 ADC1IN5
CH6 ADC1IN6
CH7 ADC1IN7
CH8 ADC1IN8
CH1 ADC2IN1
CH2 ADC2IN2
CH3 ADC2IN3
CH4 ADC2IN4
CH5 ADC2IN5
CH6 ADC2IN6
CH7 ADC2IN7
CH8 ADC2IN8
The ability to specify the ADC sampling rate allows you more design flexibility. If you
are not using the maximum Intel MAX 10 ADC sampling rate, you get a wider settling
time margin.
Table 25. Valid Combination of ADC Sampling Rate and Input Clock
Total ADC Sampling Rate ADC Input Clock Frequency (MHz)
(kHz)
2 10 20 40 80
200 Yes — — — —
125 — Yes — — —
continued...
54
5. Modular ADC Core Intel FPGA IP and Modular Dual ADC Core Intel FPGA IP References
683596 | 2024.01.03
100 Yes — — — —
50 Yes — — — —
25 Yes — — — —
Related Information
• Parameters Settings for Generating ALTPLL IP Core on page 41
• Parameters Settings for Generating Modular ADC Core or Modular Dual ADC Core
IP Core on page 42
• Modular ADC Core Parameters Settings on page 47
• Modular Dual ADC Core Parameters Settings on page 51
5.4. Modular ADC Core and Modular Dual ADC Core Interface
Signals
Depending on parameter settings you specify, different signals are available for the
Modular ADC Core or Modular Dual ADC Core IP core.
5.4.1. Command Interface of Modular ADC Core and Modular Dual ADC
Core
The command interface is an Avalon-ST type interface that supports a ready latency of
0.
valid 1 Indication from the source port that current transfer is valid.
ready 1 Indication from the sink port that it is ready for current transfer.
channel 5 Indicates the channel that the ADC hard block samples from for current command.
• 31—recalibration request
• 30:18—not used
• 17—temperature sensor
• 16:0—channels 16 to 0; where channel 0 is the dedicated analog input pin and
channels 1 to 16 are the dual purpose analog input pins
startofpacket 1 Indication from the source port that current transfer is the start of packet.
• For altera_adc_sequencer core implementation, the IP core asserts this signal
during the first slot of conversion sequence data array.
• For altera_adc_control core implementation, this signal is ignored. The IP core
just passes the received information back to the corresponding response
interface.
endofpacket 1 Indication from the source port that current transfer is the end of packet.
• For altera_adc_sequencer core implementation, IP core asserts this signal during
the final slot of conversion sequence data array.
• For altera_adc_control core implementation, this signal is ignored. The IP core
just passes the received information back to the corresponding response
interface.
55
5. Modular ADC Core Intel FPGA IP and Modular Dual ADC Core Intel FPGA IP References
683596 | 2024.01.03
Related Information
• Modular ADC Core IP Core Channel Name to Intel MAX 10 Device Pin Name
Mapping on page 49
• Modular Dual ADC Core IP Core Channel Name to Intel MAX 10 Device Pin Name
Mapping on page 53
5.4.2. Response Interface of Modular ADC Core and Modular Dual ADC
Core
The response interface is an Avalon-ST type interface that does not support
backpressure. To avoid overflow condition at the source port, implement sink ports
with response data process time that is fast enough, or with enough buffers storage.
valid 1 Indication from the source port that current transfer is valid.
channel 5 Indicates the ADC channel to which the ADC sampling data corresponds for the
current response.
• 31:18—not used
• 17—temperature sensor
• 16:0—channels 16 to 0; where channel 0 is the dedicated analog input pin and
channels 1 to 16 are the dual purpose analog input pins
startofpacket 1 Indication from the source port that current transfer is the start of packet.
For altera_adc_control core implementation, the source of this signal is from the
corresponding command interface.
endofpacket 1 Indication from the source port that current transfer is the end of packet.
For altera_adc_control core implementation, the source of this signal is from the
corresponding command interface.
5.4.3. Threshold Interface of Modular ADC Core and Modular Dual ADC
Core
The threshold interface is an Avalon-ST type interface that does not support
backpressure.
56
5. Modular ADC Core Intel FPGA IP and Modular Dual ADC Core Intel FPGA IP References
683596 | 2024.01.03
valid 1 Indication from the source port that current transfer is valid.
channel 5 Indicates the ADC channel for which the threshold value has been violated.
• 31:18—not used
• 17—temperature sensor
• 16:0—channels 16 to 0; where channel 0 is the dedicated analog input pin and
channels 1 to 16 are the dual purpose analog input pins
Related Information
• Modular ADC Core IP Core Channel Name to Intel MAX 10 Device Pin Name
Mapping on page 49
• Modular Dual ADC Core IP Core Channel Name to Intel MAX 10 Device Pin Name
Mapping on page 53
5.4.4. CSR Interface of Modular ADC Core and Modular Dual ADC Core
The CSR interface is an Avalon memory-mapped slave interface.
address 1 or 7 Avalon memory-mapped address bus. The address bus width is in the unit of word
addressing:
• altera_adc_sample_store core—address width is seven
• altera_adc_sequencer core—address width is one
5.4.5. IRQ Interface of Modular ADC Core and Modular Dual ADC Core
The IRQ interface is an interrupt interface type.
57
5. Modular ADC Core Intel FPGA IP and Modular Dual ADC Core Intel FPGA IP References
683596 | 2024.01.03
5.4.6. Peripheral Clock Interface of Modular ADC Core and Modular Dual
ADC Core
The peripheral clock interface is a clock sink interface type.
clock 1 Single clock that clocks all Modular ADC Core or Modular Dual ADC Core micro cores.
Note: To avoid functional failure, the required minimum peripheral clock frequency
is 25 MHz.
5.4.7. Peripheral Reset Interface of Modular ADC Core and Modular Dual
ADC Core
The peripheral reset interface is a reset sink interface type.
reset_n 1 Single reset source that resets all Modular ADC Core or Modular Dual ADC Core micro
cores.
You must assert this reset signal asynchronously and deassert it synchronously. The
IP cores do not synchronize the deassertion of the reset signal.
5.4.8. ADC PLL Clock Interface of Modular ADC Core and Modular Dual
ADC Core
The ADC PLL clock interface is a clock sink interface type.
clock 1 ADC hard IP clock source from C0 output of dedicated PLL1 or PLL3.
Export this interface from the Platform Designer (Standard) system.
Related Information
• Customizing and Generating Modular ADC Core IP Core on page 40
• Parameters Settings for Generating ALTPLL IP Core on page 41
• ADC Clock Sources on page 16
• PLL Locations, Intel MAX 10 Clocking and PLL User Guide
Provides more information about the availability of PLL3 in different Intel MAX
10 devices and packages.
58
5. Modular ADC Core Intel FPGA IP and Modular Dual ADC Core Intel FPGA IP References
683596 | 2024.01.03
5.4.9. ADC PLL Locked Interface of Modular ADC Core and Modular Dual
ADC Core
The ADC PLL locked interface is a conduit end interface type.
Related Information
• Customizing and Generating Modular ADC Core IP Core on page 40
• Parameters Settings for Generating ALTPLL IP Core on page 41
• ADC Clock Sources on page 16
• PLL Locations, Intel MAX 10 Clocking and PLL User Guide
Provides more information about the availability of PLL3 in different Intel MAX
10 devices and packages.
3:1 Mode Read-Write Indicates the operation mode of the • 7—Recalibrate the ADC 0
sequencer core. • 6 to 2—Reserved
These bits are ignored when the run bit • 1—Single cycle ADC
(bit 0) is set. conversion
In continuous conversion, the data is • 0—Continuous ADC
overwritten after a complete sampling conversion
sequence.
Related Information
Sequencer Core on page 27
59
5. Modular ADC Core Intel FPGA IP and Modular Dual ADC Core Intel FPGA IP References
683596 | 2024.01.03
11:0 Sample Read The data sampled by the ADC for the Sampled data 0
corresponding slot.
Table 37. ADC Sample Register (ADC_SAMPLE) of Modular Dual ADC Core
27:1 Sample Read The data sampled by ADC2 for the Sampled data 0
6 corresponding slot.
11:0 Sample Read The data sampled by ADC1 for the Sampled data 0
corresponding slot.
Clear the enable bit to prevent the corresponding interrupt status bit from causing interrupt output assertion
(IRQ). The enable bit does not stop the interrupt status bit value from showing in the interrupt status register
(ISR).
0 M_EOP Read-Write The enable bit for the end of packet • 1—Enables the 1
(EOP) interrupt. corresponding interrupt
• 0—Disables the
corresponding interrupt
60
5. Modular ADC Core Intel FPGA IP and Modular Dual ADC Core Intel FPGA IP References
683596 | 2024.01.03
ADC_SAMPLE register. To
clear this bit to "0" for the
next interrupt, write "1".
Related Information
Sample Storage Core on page 28
The IP cores provide software files that define low-level access to the hardware. You
can use the macros definition and functions in the software files to initialize the cores.
• altera_modular_adc_sequencer_regs.h—this file defines the register map
for the sequencer core. It provides symbolic constants to access the low-level
hardware.
• altera_modular_adc_sample_store_regs.h—this file defines the register for
sample storage core. It provides symbolic constants to access the low-level
hardware.
• altera_modular_adc.h or altera_modular_dual_adc.h—include this file
into your application. It automatically includes the other header files and defines
additional functions.
• altera_modular_adc.c or altera_modular_dual_adc.c—this file
implements helper functions that are defined in the header file.
In the same design, there can only be a single type of IP core, either Modular ADC
Core or Modular Dual ADC Core IP.
In Intel Quartus Prime Standard Edition software version 22.1, you need to apply the
following software settings based on the IP core configuration (Core Variant).
1. All instantiated IP core(s) apply Standard sequencer with external sample
storage.
a. Enable external_sample_storage in BSP Editor > BSP Driver tab.
2. Instantiated IP cores have different Core Variant.
a. Enable different_sample_storage in BSP Editor > BSP Driver tab.
b. Modify alt_sys_init.c
i. For Avalon-MM sample storage (_CORE_VARIANT = 0 or 1),
Change ALTERA_MODULAR_ADC_INSTANCE to
ALTERA_MODULAR_ADC_INSTANCE_AVL_MEM
Change ALTERA_MODULAR_ADC_INIT to
ALTERA_MODULAR_ADC_INIT_AVL_MEM
ii. For external sample storage (_CORE_VARIANT = 2),
61
5. Modular ADC Core Intel FPGA IP and Modular Dual ADC Core Intel FPGA IP References
683596 | 2024.01.03
Change ALTERA_MODULAR_ADC_INSTANCE to
ALTERA_MODULAR_ADC_INSTANCE_EXT
Change ALTERA_MODULAR_ADC_INIT to
ALTERA_MODULAR_ADC_INIT_EXT
Include: • altera_modular_adc.h
• altera_modular_dual_adc.h
Return: -
Description: Writes 0 to the Sequencer CMD register RUN bit, and polls the RUN bit until it is 0.
Include: • altera_modular_adc.h
• altera_modular_dual_adc.h
Return: -
Include: • altera_modular_adc.h
• altera_modular_dual_adc.h
Return: -
Include: • altera_modular_adc.h
• altera_modular_dual_adc.h
Return: -
62
5. Modular ADC Core Intel FPGA IP and Modular Dual ADC Core Intel FPGA IP References
683596 | 2024.01.03
Include: • altera_modular_adc.h
• altera_modular_dual_adc.h
Return: -
Include: • altera_modular_adc.h
• altera_modular_dual_adc.h
Return: -
Description: Sets the M_EOP bit in the ADC Sample Storage IER register.
Include: • altera_modular_adc.h
• altera_modular_dual_adc.h
Return: -
Description: Clears the M_EOP bit in the ADC Sample Storage IER register.
Include: • altera_modular_adc.h
• altera_modular_dual_adc.h
Return: -
Description: Clears the EOP bits in the Sample Storage ISR register.
Include: • altera_modular_adc.h
• altera_modular_dual_adc.h
continued...
63
5. Modular ADC Core Intel FPGA IP and Modular Dual ADC Core Intel FPGA IP References
683596 | 2024.01.03
Return: -
Description: Waits while the EOP bit of Sample Storage ISR register is 0.
Include: • altera_modular_adc.h
• altera_modular_dual_adc.h
Description: Reads the EOP bit of Sample Storage IRQ ISR register.
Include: • altera_modular_adc.h
• altera_modular_dual_adc.h
Return: -
Related Information
• Nios® V Processor Software Developer Handbook
Provides more information about the HAL API in Nios® II processor.
• Nios® II Software Developer Handbook
Provides more information about the HAL API in Nios® II processor.
64
683596 | 2024.01.03
Send Feedback
IP versions are the same as the Intel Quartus Prime Design Suite software versions up
to v19.1. From Intel Quartus Prime Design Suite software version 19.2 or later, IP
cores have a new IP versioning scheme.
Intel Corporation. All rights reserved. Intel, the Intel logo, and other Intel marks are trademarks of Intel
Corporation or its subsidiaries. Intel warrants performance of its FPGA and semiconductor products to current
specifications in accordance with Intel's standard warranty, but reserves the right to make changes to any ISO
products and services at any time without notice. Intel assumes no responsibility or liability arising out of the 9001:2015
application or use of any information, product, or service described herein except as expressly agreed to in Registered
writing by Intel. Intel customers are advised to obtain the latest version of device specifications before relying
on any published information and before placing orders for products or services.
*Other names and brands may be claimed as the property of others.
683596 | 2024.01.03
Send Feedback
2024.01.03 22.1 • Changed the topic: ADC HAL Device Driver for Nios II Gen 2 to ADC
HAL Device Driver for Nios Processor.
• Added new topic: Driver API.
2022.10.31 22.1 Updated ADC HAL Device Driver for Nios II Gen 2 section.
2021.05.04 20.1 Updated the description of the irq signal to specify that it is an output
signal that is active high.
2021.01.12 20.1 Updated the table listing the Modular Dual ADC Core IP core channel to pin
mapping.
2020.03.17 19.1 Updated the ADC control core timing diagram and removed the
accompanying tables.
July 2017 2017.07.06 Updated the description of the EOP bit "0" of the Interrupt Status Register
(ISR) to improve clarity.
January 2017 2017.01.25 Added a topic that lists the actual TSD sampling rate based on the ADC
sampling rate selected in the IP core.
continued...
Intel Corporation. All rights reserved. Intel, the Intel logo, and other Intel marks are trademarks of Intel
Corporation or its subsidiaries. Intel warrants performance of its FPGA and semiconductor products to current
specifications in accordance with Intel's standard warranty, but reserves the right to make changes to any ISO
products and services at any time without notice. Intel assumes no responsibility or liability arising out of the 9001:2015
application or use of any information, product, or service described herein except as expressly agreed to in Registered
writing by Intel. Intel customers are advised to obtain the latest version of device specifications before relying
on any published information and before placing orders for products or services.
*Other names and brands may be claimed as the property of others.
7. Document Revision History for Intel MAX 10 Analog to Digital Converter User Guide
683596 | 2024.01.03
October 2016 2016.10.31 • Updated the topic about the ADC voltage reference to specify that you
must use clean external voltage reference with a maximum resistance
of 100 Ω.
• Updated the topic about the ADC sequencer to clarify that "conversion
mode" refers to the sequencer conversion mode, namely the single-
cycle and continuous ADC conversion modes.
• Added a related information link to a topic in the Intel MAX 10 Clocking
and PLL User Guide that lists the availability of PLL1 and PLL3 in
different Intel MAX 10 devices and packages.
• Updated various topics throughout the user guide to improve the clarity
of descriptions related to the user-specified ADC logic simulation output
feature.
• Updated the VCCVREF pin name to ADC_VREF.
• Edited the board design guidelines for analog input:
— Updated text to improve clarity.
— Updated the Fcutoff @ -3dB recommendation from "five times" to "at
least two times" the input frequency.
— Updated the figure showing the first order active low pass filter
example.
November 2015 2015.11.02 • Added related information link to Introduction to Altera IP Cores.
• Added links to instructional videos that demonstrate how to create ADC
designs in Intel MAX 10 devices.
• Changed instances of Quartus II to Quartus Prime.
June 2015 2015.06.11 Updated the board design guidelines for analog input.
May 2015 2015.05.04 • Added the Modular Dual ADC Core IP core.
• Removed F672 from the 10M25 device and added ADC information for
the E144 package of the 10M04 device:
— Updated the ADC block counts.
— Updated the ADC vertical migration support.
— Updated the ADC channel counts.
• Updated the table that lists the ADC channel count to list only 8 dual
function pins (instead of 16) for the M153 and U169 packages.
• Updated the ADC vertical migration diagram to clarify that there are
single ADC devices with eight and 16 dual function pins.
• Updated the topic about ADC conversion to specify that in prescaler
mode, the analog input in dual and single supply devices can measure
up to 3.0 V and 3.6 V, respectively.
• Updated the ADC IP core architecture figures to include features for the
dual ADC IP core.
• Added information and topics about the response merge and dual ADC
synchronizer micro cores.
continued...
67
7. Document Revision History for Intel MAX 10 Analog to Digital Converter User Guide
683596 | 2024.01.03
• Removed notes about contacting Altera for the ADC pin RLC filter
design.
• Updated the ADC prescaler topic to change the ADC2 channel that
supports prescaler from channel 16 to channel 17.
• Updated the diagram that shows the ADC timing:
— To clarify that the numbers are hexadecimal numbers.
— Relabeled the signals to match the command and response interface
signal names.
• Updated the RC constant and filter value and the filter design example
figure to clarify the source of the example values.
• Added guidelines for setting up the sequencer in dual ADC mode.
• Added topics that list the mapping of Modular ADC Core and Modular
Dual ADC Core IP cores channel names to Intel MAX 10 device pin
names.
• Corrected the address offset of the interrupt enable register (from 0x41
to 0x40) and interrupt status register (from 0x40 to 0x41) for the
sample storage core.
• Updated the sample storage core registers table to include registers for
Modular Dual ADC Core.
• Removed statements about availability of the threshold trigger feature
in a future version of the Intel Quartus Prime software. The feature is
now available from version 15.0 of the software.
68