You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, firstly your code is very clear and i'm learning a lot from this, so thanks!
Then I was reading in another issue that with a CLK frequency that is at least twice the SCLK frequency the code works fine.
I was trying to use a CLK at 12 MHz and a SCLK at 4 MHz and i found some problem with the MISO of the SPI SLAVE module.
Pratically the first 1 sended on the MISO remains too much on it and is sampled two times.
I'm using a simplified testbench that i can attach here.
Another problem that can be seen in the snapshot is that when I send the next code, the MOSI switch correctly but the MISO is sending the previous code. In the shift register infact there is the old code. Am I doing something wrong in the testbench?
Hi, firstly your code is very clear and i'm learning a lot from this, so thanks!
Then I was reading in another issue that with a CLK frequency that is at least twice the SCLK frequency the code works fine.
I was trying to use a CLK at 12 MHz and a SCLK at 4 MHz and i found some problem with the MISO of the SPI SLAVE module.
Pratically the first 1 sended on the MISO remains too much on it and is sampled two times.
I'm using a simplified testbench that i can attach here.
SPI_SLAVE_tb.txt
There is something that I can do to fix this problem?
The text was updated successfully, but these errors were encountered: