Hi, i want to exicute some logic equations. previously i was using GAL22V10. i will give some gating pulses at input and i want to get some logic operation of inputs at output side. can i use Atmega 328P ic for this application as a replacement of GAL22V10. suggest me please.
Yes... maybe... it depends.
The easiest board to start with is the Arduino Uno : http://arduino.cc/en/Main/arduinoBoardUno
A very small board is the Arduino Pro Mini : http://arduino.cc/en/Main/ArduinoBoardProMini
A clone/fake of the Pro Mini costs less than 3 dollars on Ebay.
A faster Arduino board is the Arduino Due : http://arduino.cc/en/Main/arduinoBoardDue
Or the Teensy 3.1 : PJRC Store
Are those signals 5V ?
Reading input and writing output can be fast with optimized code. Using the Arduino libraries is slower.
For example:
Reading or writing a single input or output is 125ns with optimized code for the Arduino Uno and Pro Mini.
Reading or writing with Arduino libraries is 3 to 4 us.
How fast should it be ? and how many inputs and outputs do you need ?
I always thought the ONLY thing an Atmega 328 does is logic operations ????
How about a link to the datasheet for a GAL22V10 and a description of what it does, and how it is used in the project in which you want to replace it.
...R