Forum Discussion
3 Replies
- paveetirrasrie_Altera
Frequent Contributor
Hi,
We don't provide code support for 3rd party tool but I believe you may grab the code in Arduino website.
Regards,
Pavee
- FvM
Super Contributor
Hi,
some issues with the code- bit_cnt == 8 (else condition) does never happen, need reg [3:0] bit_cnt;
- data_reg is only loaded once on POR, spi_master sends mosi == 0 constantly after first frame
- using always @(posedge sclk) is legal but might cause timing issues in a complexer design. Better use single system clock and modify
clock-enable scheme respectively
What's the indended SPI mode?
Regards
Frank - paveetirrasrie_Altera
Frequent Contributor
Hello,
We didn't hear from you since last update. If you have a new question, feel free to open a new thread to get the support from Altera experts.
Otherwise, the community users will continue to help you on this thread.
Thank you.