Hi to all, I’m totally newbie on FPGA and I need your help to build a board.
I need to create 24 bit UP/DOWN synchronous counter:
- there are 2 separate clocks (one for UP, one for DOWN), reset pin, strobe pin (to save output value until reading even if value changes meanwhile).
- data-ready pin (for external interrupt)
On strobe signal I also read sawtooth wave using 8-bit external ADC (so I need SPI bus master to read ADC).
On strobe signal I merge 24 bit counter value and 8 bit ADC value into 32 bit word to be read from external device (so I suppose a second SPI bus in slave mode).
I already made this using microcontroller (just for test with slow UP/DOWN signal clock), but as step I have to take care UP/DOWN signal clock goes up to 7MHz, so I want to migrate to FPGA.
Then output pin to say if signal clock exceeds 7MHz (and disabling strobe), this is optional.
Is this possible with BX board?