Forum Discussion

ohide's avatar
ohide
Icon for New Contributor rankNew Contributor
1 month ago
Solved

Cyclone V HPS SPI Master: Formula for calculating Tsu(min)/Th(min) from rx_sample_dly and spi_m_clk

Hello, For the HPS SPI Master on the Cyclone V SoC, verify that the SPI read waveform and register settings are correct. To do this, calculate the MISO setup time and hold time under the operating ...
  • ohide's avatar
    1 month ago

    Hello,

     

    Thank you for your guidance.

     

    I understand that there is no calculation formula for Cyclone V, and that the formula for Agilex 3 cannot be applied here.

    On the actual hardware board, I found that `rx_sample_dly` values ​​of 1 through 6 worked without issues, while a value of 7 resulted in data errors. I have therefore selected 3 as the setting value, as it falls near the middle of the range where the system operates correctly. Note that since no errors occurred even at `rx_sample_dly = 1`, there may actually be additional margin on the setup side.

    For mass production, I believe it will also be necessary to conduct evaluations on the actual hardware under varying temperature and supply voltage conditions.

     

    The issue has been resolved.

    Thank you for your support.