Community
cancel
Showing results for 
Search instead for 
Did you mean: 
KCole4
Beginner
304 Views

Problem programming Cyclone 10 in PS Mode

I am not seeing the CONFIG_DONE signal go high from the Cyclone 10 FPGA when programming in PS mode from STM32 CPU.

 

The nSTATUS pin toggles as expected after we toggle the nCONFIG pin, and does not go low to signify an error during programming.

 

DCLK is 4Mhz.

 

The programming file used in .rbf generated from Quartus Prime 17.0.0 SJ lite version. Note I can successfully program the device with our design using JTAG.

 

I would appreciate any advice.

 

KC

0 Kudos
2 Replies
a_x_h_75
New Contributor III
36 Views

Try reversing the order in which you playback the bits of each byte - perhaps the most likely.

 

Slow the clock further. More importantly ensure the data is setup sufficiently ahead of the clock edge. (A lack of errors - assuming the bit order is correct - suggests the clock-data relationship is probably fine.) Nevertheless, try clocking data in on the other edge.

 

Cheers,

Alex

KCole4
Beginner
36 Views

Hi Alex - got it working by both slowing down the clock and clocking on the other edge. Will now go back and look closer at the signals...

 

Thanks for the help,

 

KC

Reply