Forum Discussion
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- I am now thinking of using an ATMega8 to manage the ADC's and then interfacing an output of this with the Expansion Header Pins on the DE2 Board as it seems like a reasonably low cost hopefully quite simple solution (We have $3 AtMega8s because uni buys in bulk) --- Quote End --- Presuming you're targetting I2C/SPI ADCs. The DE2 expantion header's pins are 3.3V LVTTL/LVCMOS bi-directional pins. So, that's the kind of digital interface your ADCs need to have. If you need 5V ADCs, they'll either need to support separate digital/analog supplies or you'll have to insert a level converter between the ADC and the DE2. If you choose I2C, it's recomended that you add external pull resistors. Although the FPGA pins support a weak pull up which is often is good enough for 100kHz I2C. In the SOPC builder, you won't manage the ADCs themselves but the SPI/I2C master module. Software wise, you'll read/write to the SPI/I2C master, instructing it to read/write to I2C slaves (ADCs).