Unlock instant, AI-driven research and patent intelligence for your innovation.

FPGA-based SPI interface configuration method

A technology of SPI interface and configuration method, which is applied in the direction of program control device, program control design, instrument, etc., can solve the problems of increasing development difficulty, increasing developers, increasing development cycle and development cost, etc., so as to save the investment of developers and save Effects of development difficulty, economic significance, and market value

Active Publication Date: 2017-09-15
WUHAN HONGXIN TELECOMM TECH CO LTD
View PDF7 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Either way increases the difficulty of development and requires more developers, which in turn increases the development cycle and development costs

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • FPGA-based SPI interface configuration method
  • FPGA-based SPI interface configuration method
  • FPGA-based SPI interface configuration method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The present invention will be further described in detail below with reference to the drawings and embodiments.

[0035] The embodiment of the present invention provides an FPGA-based SPI interface configuration method. There is no need to develop upper computer software, which saves development difficulty and developer investment, and saves development costs. The internal ROM module of FPGA stores the SPI register commands that peripheral devices need to configure. Commands stored in ROM are controlled by the state machine, and SPI interface signals are generated to configure peripheral devices. Modify the content of ROM online to realize the reconfiguration of peripheral devices.

[0036] The FPGA chip used in the present invention is an Intel FPGA chip, and the integrated software for the development of the FPGA is QutursII.

[0037] figure 1 For the connection diagram of the entire hardware module, the FPGA JTAG downloader is connected to the JTAG interface, the JTAG in...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides an FPGA-based SPI interface configuration method, which is used for finishing SPI interface configuration without an upper computer and supports online modification of SPI configuration parameters. A JTAG downloader is arranged and connected with a JTAG interface; the JTAG interface is connected with an FPGA through a configuration connection line; the FPGA is connected to an SPI device through an SPI bus; the FPGA comprises an ROM module, an SPI Ctrl module and an SPI interface module connected in sequence; and the SPI module is connected to the SPI device through the SPI bus. Initial configuration of a peripheral device comprises the processes that a configuration script file of the peripheral device is converted into a binary coded file; the ROM module in the FPGA is instantiated; the ROM module is initialized; the FPGA transmits a binary coded command to the SPI interface module from the ROM module through a state machine configured by the SPI Ctrl module; the SPI interface module of the FPGA forms an SPI interface command accordant with the peripheral device; and the peripheral device is subjected to serial communication configuration.

Description

Technical field [0001] The invention belongs to the technical field of SPI interface configuration, and more specifically is an FPGA-based SPI interface configuration method. Background technique [0002] Field Programmable Array (FPGA) has the advantages of flexibility and timeliness, and can be designed into many common interfaces through flexible programming. [0003] The SPI (Serial Peripheral Interface) bus system is a synchronous serial peripheral interface, which is used to process the communication information exchange between the master device and various peripheral devices in a serial manner. It works in a master-slave mode. This mode usually has a master device and one or more slave devices. At least 4 wires are required. In fact, 3 wires are also available (for one-way transmission). They are SDI (data input), SDO (data output), SCLK (clock), CS (chip select). SDI is the main device data input and the slave device data output; SDO is the master device data output and ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44
CPCG06F9/4411
Inventor 苏岚张磊陈付齐
Owner WUHAN HONGXIN TELECOMM TECH CO LTD