SPI slave interface with adjustable SDO data phase

An adjustable, machine interface technology, applied in electrical digital data processing, signal generation/distribution, instruments, etc., can solve problems such as collecting wrong data, timing problems, data missing the host data collection point, etc.

Active Publication Date: 2021-07-06
IPGOAL MICROELECTRONICS (SICHUAN) CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, when the SCLK frequency of the conventional SPI slave interface is high, timing problems often occur due to the delay between boards, and the master often collects when reading slave data. Wrong data, the data passed back from the slave misses the data collection point of the master

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
  • SPI slave interface with adjustable SDO data phase
  • SPI slave interface with adjustable SDO data phase
  • SPI slave interface with adjustable SDO data phase

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] Embodiments of the present invention will now be described with reference to the drawings, in which like reference numerals represent like elements. As mentioned above, the present invention provides a SPI slave interface with adjustable SDO data phase, the SPI slave interface with adjustable SDO data phase of the present invention adjusts the output phase of the slave SDO signal in real time, thereby enabling the slave Correctly read out the data and improve the accuracy of the reading.

[0018] Please refer to figure 2 , figure 2 It is a circuit structure diagram of the SPI slave interface with adjustable SDO data phase in the present invention. Such as figure 2 As shown, the SPI slave interface with adjustable SDO data phase of the present invention includes register DX, clock selection unit M1, delay control unit, N signal selection units (M21, M22...M2(N-1), M2N ) and N delay units (D1, D2...D(N-1), DN). The delay control unit is connected with an external ...

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 discloses an SPI slave interface with an adjustable SDO data phase. The SPI slave interface comprises a register, a clock gating unit, a clock selection unit, a delay control unit, N signal selection units and N delay units, the delay control unit is connected with an external controller and is provided with N + 1 stealing ports, and N output ports of the delay control unit are correspondingly connected with the control ends of the N signal selection units respectively; the serial clock is input into two input ends of the clock selection unit, and an output end of the clock selection unit is connected with a clock port of the register; the N delay units are sequentially connected end to end, the N signal selection units are sequentially connected end to end, the output end of the first signal selection unit outputs data in the register to the SDO, and the output ends of the N delay units are correspondingly connected with the input ends of the (N-1) signal selection units respectively. According to the invention, the output phase of the SDO signal of the slave can be adjusted in real time, so that the slave can correctly read data, and the reading accuracy is improved.

Description

technical field [0001] The invention relates to the field of digital circuit design, in particular to an SPI slave interface with adjustable SDO data phase. Background technique [0002] The SPI (Serial Peripheral Interface, Serial Peripheral Interface) protocol stipulates that data is prepared on the falling edge of SCLK (serial clock), and data is collected on the rising edge of SCLK. Therefore, conventional SPI slave interfaces prepare data on the falling edge of SCLK. [0003] However, when the SCLK frequency of the conventional SPI slave interface is high, timing problems often occur due to the delay between the boards. When the master reads the data from the slave, it often collects wrong data, and the data transmitted by the slave misses the data collected by the master. point. Such as figure 1 shown in figure 1 Among them, Tm2s is the data transmission delay from the master to the slave, and Ts2m is the data transmission delay from the slave to the master; among ...

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 & AuthorityApplications(China)
IPC IPC(8): G06F13/42G06F1/08
CPCG06F13/4291G06F1/08Y02D10/00
Inventor王琳
OwnerIPGOAL MICROELECTRONICS (SICHUAN) CO LTD