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

Serial peripheral interface (SPI) controller and data sending method

A controller and a technology to be sent, which is applied in the field of data processing, can solve problems such as low efficiency, and achieve the effects of improving fluency, speeding up the data sending process, and improving software efficiency

Active Publication Date: 2014-03-19
LEADCORE TECH
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The technical problem to be solved by the present invention is to provide an SPI controller and a data sending method to solve the problem of low efficiency in the data sending process in the prior art, furthermore, it can also improve the fluency of software execution and improve the efficiency

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
  • Serial peripheral interface (SPI) controller and data sending method
  • Serial peripheral interface (SPI) controller and data sending method
  • Serial peripheral interface (SPI) controller and data sending method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] refer to Figure 4 , shows a schematic structural view of a SPI controller of the present invention, the SPI controller can include a peripheral bus interface and at least one chip select port, in this embodiment there are two chip select ports (chip select port 0 and chip select port 1), the controller can also include: a data selector (MUX) module that connects the peripheral bus interface and the chip select port, and is provided with between the MUX module and the peripheral bus interface Random access memory (RAM), the storage space of the random access memory corresponds to the addressing range of the sequencer connected to the MUX module, and the storage space of the random access memory is used to store service data. The service data may include service data that needs to be sent from the random access memory to the radio frequency chip, or data received from the radio frequency chip through a chip select port. After the sequencer is triggered, it can sequentia...

Embodiment 2

[0071] The data sending method is applied to the SPI controller in the first embodiment, the SPI controller includes a random access memory, and the storage space of the random access memory corresponds to the addressing range of the connected sequencer to store business data; the Methods can specifically include:

[0072] Step 501: The sequencer sequentially reads and executes the pre-stored control instructions. The parameters of the control instructions include the starting source address of the business data, the number of sending data, the destination address information and the time information.

[0073] The sequencer is equivalent to a small processor, capable of executing control instructions, and the control instructions can be stored in the memory of the sequencer through the peripheral bus interface. After the sequencer is triggered, it can sequentially execute the control instructions, and the parameters of the control instructions need to include the starting sour...

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 a serial peripheral interface (SPI) controller and a data sending method. The SPI controller comprises a peripheral bus interface, at least one chip selection port, and a data selector multiplexer (MUX) module for connecting the peripheral bus interface and the chip selection port, wherein a random memory is arranged between the MUX module and the peripheral bus interface; memory space of the random memory corresponds to addressing range of a sequencer so as to store service data; the sequencer sequentially executes control commands which are prestored in the sequencer; parameters of the control commands comprise a starting resource address, the sending number, a target address and time information of the service data; and the MUX module acquires service data to be sent according to the starting resource address and the sending number and sends the service data to be sent to the target address at a time point shown by the time information. The SPI controller can accelerate the data sending process, improve smoothness of software execution and improve efficiency of software.

Description

technical field [0001] The invention relates to the field of data processing, in particular to an SPI controller and a data sending method. Background technique [0002] Existing (Serial Peripheral Interface, SPI) controller structure and working principle such as figure 1 Shown: The SPI controller contains multiple chip select ports, which can be connected to different RF chips. Each chip select interface contains a dedicated outgoing first-in-first-out queue (TX FIFO) and a receiving first-in-first-out queue (RX FIFO) , which is used to cache the data to be sent and the data that has been received respectively. The CPU and direct memory access (Direct Memory Access, DMA) can access the TX and RX FIFO through the bus to fill or read data, and the sequencer can enable data transmission by triggering the TXFIFO. [0003] In RF timing management, the registers of RF (radio frequency) and ABB (analog baseband) are configured through the SPI interface. Each register represents...

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 Patents(China)
IPC IPC(8): G06F13/42G06F13/10
Inventor 刘剡姚佳
Owner LEADCORE TECH