Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
17 years ago

DE2 I/O problems

Hi,

I am a newbie to the FPGA world.

I am current doing a power and temperature monitoring project using Aleta DE2 board. I have few problems with GIO pins

-How do I use GIO pins to send and receive signals

-Do I need a special board to read a analog voltage signal from GIO pins

Sorry about the stupid questions, but I really need some help on this

Thanks

4 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    DE2 GPIO pins are basically LVTTL (3.3V logic) digital IOs. Data direction (input,output, bidirectional) has to set up for each pin in the FPGA project. The GPIO pins also have clamp diodes to 3.3V supply. Using external series resistors, you can drive them from 5V logic. 5V supplied TTL compatible logic (e.g. HCT74 family) can also be driven from 3.3V GPIOs.

    The board has no analog inputs apart from audio and video codecs. To capture general analog inputs, you should connect an ADC chip. For slow signals, an ADC with serial SPI or I2C interface seems to be the most suitable method.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Really thanks for your reply.

    I have a new problem now.

    I don't know to which pin on DE2 board I should connect the output data from ADC.:confused::confused:

    Thanks a lot for your help:)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Connect the ADC to GPIO pins man.

    Like FvM suggests to you.

    --- Quote End ---

    Thanks a lot