- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Regarding the Pin Out, for your device is:
https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/dp/cyclone-iv/ep4ce10.pdf
https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/dp/cyclone-iv
We do not have any example on SPI for Cyclone IV.
Maybe you could check these out, see if it helps:
https://forum.digikey.com/t/spi-3-wire-master-vhdl/12743
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you share the Quartus design?
Have you tried to do a signal tap to see if the output are as expected?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
signal Tap II from Quatus indicates the timing is right. I'm switching to STM32H7 for another try. The STM32F1 worked, but SPI baud-rate is too low and ADC sampling rate is not enough.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've tried several spi_master code base, but none was able to program lmx2820 registers correctly. None of them give desired result. After reading register content back with official software TICS Pro, some registers show separate content other than written in. One example code repl https://github.com/halftop/Interface-Protocol-in-Verilog.git.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Regarding the Pin Out, for your device is:
https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/dp/cyclone-iv/ep4ce10.pdf
https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/dp/cyclone-iv
We do not have any example on SPI for Cyclone IV.
Maybe you could check these out, see if it helps:
https://forum.digikey.com/t/spi-3-wire-master-vhdl/12743
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We apologies for the lack of documentation from our side.
I hope the pervious links may help you in your design work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I find that adding extra guard time between transmission of data enables successful register write. For 100m clock rate, 40 cycles are enough. Also, pin voltage must be set to 3.3V LVTTL. The repository I mentioned can successfully write individual 24-bits data and by adding guard time can write data bytes continuously.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for your update on the issue and the workaround you discovered for your issue.
I’m glad that your question has been addressed, I now transition this thread to community support. If you have a new question, Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Also, the RFoutAP wire must be connected, so that the ADC connected to FPGA wont interfere with SPI transmission. The dangling connection seems to either interfere with LMX2820 or interfere with my AD9226 ADC. I also find, connecting grounds of FPGA and LMX2820 may offer benefit.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page