svhum / ltc2308-axi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ltc2308-axi

This is a Quartus project that makes use of the LTC2308 ADC on the DE10-Nano development board. It samples a 12-bit value from channel 0 of the ADC every 0.86 seconds and:

  • Writes the 7 most significant bits of the result to the LED array;
  • Allows the result of the current conversion to be polled over the Avalon memory map interface using a sample C program readadc.c with the 12-bit result written to stdout.

The LSB of the LED array blinks if the FPGA has been programmed after booting using U-Boot.

The ADC code is based on a helpful code from truhy, while the Avalon MM was setup based on a useful tutorial from zangman.

About


Languages

Language:SystemVerilog 37.7%Language:Verilog 29.9%Language:C 15.0%Language:HTML 11.9%Language:Tcl 3.9%Language:Shell 1.3%Language:Makefile 0.3%Language:VHDL 0.0%Language:Fortran 0.0%