Forum Discussion
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- In the Cyclone II -> Features -> Altera's Cyclone II FPGA Interfaces & Protocols Support at the Altera's site is written that SPI and I2C standards can be implemented in Cyclone II devices to provide low-speed communication links between integrated circuits, processors and peripherals. --- Quote End --- Yes, the FPGA user IO can be configured to do whatever you want with them. --- Quote Start --- I've seen in some schematic for Cyclon II board that all I/O pins are LVDS (p/n), which is related to high-speed signaling, as I understood. There were no one pin which is used for SPI or I2C serial interface... --- Quote End --- It's not like a microcontroller where you have dedicated SPI/I2C pins, you can decide to do whatever you want with them. Which schematics are you talking about? If it's an eval board it's likely that LVDS pairs were labelled as such to identify them, but if you're not using LVDS they can be configured as single ended outputs. --- Quote Start --- Can anyone advice me? I need 8 digital-to-analog converters (DACs) and 8 ADCs which should work with SPI or I2C interface... For my application, I don't need to use high-speed signals, I need sampling frequency maximal 1MHz (but a few hundreds of kHz will be enough)... So, in which way should I connect some 8-channel DAC or ADC to the Cyclone II board? Which pins of FPGA should be connected to SPI or I2C pins of DAC/ADC? Thank in advice! --- Quote End --- I'm not trying to sell boards, and I won't have any for about a week but have a look at the link I posted earlier. My GPIB has an 8 channel SPI interfaced DAC and 8 channel SPI interfaced ADC. There's an example FPGA design you can download, this will show you how I have driven these two devices (with the schematics that show how the nets into the HSMC connector are labelled as LVDS pairs but used single-endedly). If you do want a board email me at the address in the link. Nial.