hyperram example: change clock frequency
joaquinbvw opened this issue · 0 comments
Hi, I would like to know if I can change the clock frequency of the Hyperram controller inside the example, and if is possible what should I change on the code? I know the example uses 80 MHz (don't know exactly why) and it uses another clock with a 90° phase shift to get the DDR speed. I saw something else about the initial reset latency, there seems to be a register to set this inside hyper_xface_mux.v. I don't know if I'm missing anything else or if it is possible to change the clock frequency, it is difficult to get the information inside the code and there is no simulation to see the timing requirements of the signals more clearly.
I have used the controller for a modification of the example where I write the RAM memory with a microcontroller through an SPI interface and read it back on the next SPI transaction. So far is working good, but at the end I would like to do a more intensive RAM access, reading 16 bit data at 8 MHz rate or maybe a little bit more.
I would like to thank you for providing the examples and the hyperram controller, it's been very useful for me and the explanation was very straightforward. I hope you could help me with this question.