Supercharge Your Innovation With Domain-Expert AI Agents!

Optically isolated spi-like channel based on dsp drive

A photoelectric isolation, SPI interface technology, applied in general control systems, instruments, computer control and other directions, to achieve the effect of improving utilization, convenient and flexible SPI timing control, and improving accuracy

Inactive Publication Date: 2017-01-25
UNIV OF SHANGHAI FOR SCI & TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention is aimed at the signal anti-interference problem and the SPI timing conflict problem in the SPI synchronous serial communication in the complex measurement and control system driven by DSP, and proposes a kind of photoelectric isolation type SPI channel based on DSP drive, which is effectively realized by photoelectric isolation technology. Minimize or eliminate the interference between the outside world and the inside of the system, improve the accuracy of data transmission and the reliability of system work; through the SPI-like channel, the DSP can be conveniently and flexibly connected to the SPI ports of different external devices, and realize the normal communication of the SPI-like; Interrupt query is used to achieve precise time division, so that the timing accuracy is guaranteed, and DSP resources are not occupied, which not only simplifies the programming of programs, but also effectively improves the utilization rate of DSP

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
  • Optically isolated spi-like channel based on dsp drive
  • Optically isolated spi-like channel based on dsp drive
  • Optically isolated spi-like channel based on dsp drive

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] Such as figure 1 As shown, a DSP-driven opto-isolated SPI-like channel, DSP and external devices work in master-slave mode, DSP digital signal processing chip is the master device, and the external device is any device with SPI interface. Use the common I / O port of DSP to simulate SCLK, SDI, SDO and SPI interface Port, wherein: SCLK is the serial clock output terminal, SDI is the serial input signal terminal and data terminal, and SDO is the serial data output terminal and the synchronization signal terminal. Add custom user registers and buffers to form a DSP-like SPI interface, and connect with the SPI interface of external devices through a photoelectric isolation device and shaping circuit to form a photoelectric isolation type SPI-like channel.

[0013] DSP master device is used to control clock signal SCLK and chip select signal . DSP and external equipment are respectively connected to different power and ground systems. The shaping circuit is used to overc...

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 relates to an optoelectronic isolation type SPI-like channel based on DSP driving. The optoelectronic isolation type SPI-like channel based on DSP driving comprises a common I / O port of a DSP, an SPI-like interface of the DSP and an SPI of a peripheral device, wherein the common I / O port of the DSP is used for simulating an SCLK port, an SDI port, an SDO port and an port of the SPI. The common I / O port of the DSP is in butt joint with the SPI of the peripheral device through an optoelectronic isolation device and a shaping circuit, so that the optoelectronic isolation type SPI-like channel is formed. The optoelectronic isolation technology is used for effectively weakening or eliminating interference of the outside and interference in a system, and the accuracy of signal transmission and the working reliability of the system are improved. Through the SPI-like channel, the DSP is in butt joint with SPIs of different peripheral devices conveniently and flexibly, and normal SPI-like communication is achieved. Accurate time division is achieved in a query interruption mode, timing accuracy is guaranteed, resources of the DSP are not occupied, program writing is simplified, and the utilization rate of the DSP can be effectively increased.

Description

technical field [0001] The invention relates to a photoelectric isolation type SPI-like channel, in particular to an application in a complex measurement and control system driven by DSP that requires SPI synchronous serial communication and requires anti-interference. Background technique [0002] DSP (Digital Signal Processing), the DSP chip is a digital signal processor. Due to its high speed, flexibility, low power consumption and easy interface expansion, it plays an increasingly prominent role in the field of digital signal control. At the same time, the DSP platform in the measurement and control system The development of application-like SPI communication on the Internet is of great significance for expanding the application of SPI channel technology and DSP technology in measurement and control systems. SPI (Serial Peripheral Interface) is a synchronous serial peripheral interface, which can conveniently realize the communication between MCU and external devices. It...

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): G05B19/042
Inventor 林献坤李飞燕
Owner UNIV OF SHANGHAI FOR SCI & TECH
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More