Sobakava
Full Member level 6
SPI & CPLD
I implemented some up/down resettable counters in my CPLD with Verilog. I routed bits of the counters to the pins of CPLD, they are working fine... Now I want to read the contents of these counters using a simple (simplest) serial interface with a microcontroller.
I've to select counter number, then read it (16bits)... SPI is ok for this? Or is there a simpler way? where can I find sample free verilog design for this?
I implemented some up/down resettable counters in my CPLD with Verilog. I routed bits of the counters to the pins of CPLD, they are working fine... Now I want to read the contents of these counters using a simple (simplest) serial interface with a microcontroller.
I've to select counter number, then read it (16bits)... SPI is ok for this? Or is there a simpler way? where can I find sample free verilog design for this?