Sink0
Full Member level 6

- Joined
- Nov 25, 2009
- Messages
- 390
- Helped
- 37
- Reputation
- 74
- Reaction score
- 30
- Trophy points
- 1,308
- Location
- Sao Paulo, Brazil
- Activity points
- 4,186
I am writing a code for a spi slave on verilog for FPGA, but i have a question about how the SPI should behave. Should the Slave Select pin reset the SPI shift register counter, or just disable it? I mean.. if for some reason the SPI clock do no trigger my Flip-Flop (ok thats almost impossible), the counter is going to be on a wrong position. If i reset it with the Slave Select it can get back to the right one.. so should it reset or not?
Thank you!
Thank you!