一种基于FPGA的SPI时序控制方法及控制器

By using FPGA clock multiplication and three-channel independent timing control, combined with instruction awareness and intelligent write enable management, the timing control problem of SPI bus in rail transit system was solved, achieving efficient and reliable data transmission and breaking through the frequency bottleneck.

CN121478084BActive Publication Date: 2026-07-17CASCO SIGNAL LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CASCO SIGNAL LTD
Filing Date
2025-10-23
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

In rail transit systems, the timing control of the SPI bus relies on the clock accuracy of the main controller, which leads to substandard data transmission frequency, severe clock jitter and PCB delay issues, affecting the reliability and efficiency of data transmission.

Method used

An FPGA-based timing control method is adopted, which accurately compensates for PCB delay and clock jitter through clock multiplication and three-way independent timing control. Combined with instruction awareness and intelligent write enable management, the communication process is optimized, and closed-loop verification ensures the reliability of data writing.

Benefits of technology

This enables the SPI bus to operate stably at the highest nominal frequency of the slave device chip in complex hardware environments, improving data transmission efficiency and reliability while reducing hardware design complexity and cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121478084B_ABST
    Figure CN121478084B_ABST
Patent Text Reader

Abstract

本发明公开了一种基于FPGA的SPI时序控制方法及控制器,该方法包括:在FPGA内部,将目标SPI时钟频率进行N倍频,生成频率为的内部高频时钟,其中N为大于1的整数;基于所述内部高频时钟,对一个SPI时钟周期进行N等分,通过三个可配置参数i、j和k,分别独立控制主设备输出时钟SCK信号的跳变时刻、主设备输出数据SO信号的更新时刻、以及主设备输入数据SI信号的采样时刻;其中,可配置参数i、j和k的取值范围均为0到N‑1之间的整数。与现有技术相比,本发明通过将SPI时钟倍频细分并对时钟跳变、数据发送与数据采样三路时序进行独立高精度控制,有效补偿了时序偏差,从而使SPI通信的实际工作频率能够达到从设备芯片的标称最高频率。
Need to check novelty before this filing date? Find Prior Art