Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

I/O port based SPI simulation method and device

An analog method and a technology of an analog device, which are applied to instruments, electrical digital data processing, etc., can solve problems such as the shortage of system port resources, and achieve the effect of convenient and flexible expansion

Inactive Publication Date: 2014-07-09
AEROSPACE INFORMATION
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When devices using the same port type are integrated into an embedded system, there will be a shortage of system port resources

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
  • I/O port based SPI simulation method and device
  • I/O port based SPI simulation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] SPI works in a master-slave mode. This mode usually has a master device and one or more slave devices. It requires at least 4 wires, and in fact 3 wires are also possible (for unidirectional transmission). Also common to all SPI-based devices, they are MOSI (master output / slave input), MISO (master input / slave output), SCK (serial clock) and CS (chip select).

[0033] (1) MOSI–SPI bus master output / slave input (SPI Bus MasterOutput / Slave Input);

[0034] (2) MISO–SPI bus master input / slave output (SPI Bus Master Input / Slave Output);

[0035] (3) SCK - clock signal, generated by the master device;

[0036] (4) CS-Slave device enable signal, controlled by the master device (Chip select), and this pin of some ICs is called SS.

[0037] Among them, CS is to control whether the chip is selected, that is to say, only when the chip select signal is a predetermined enable signal (high potential or low potential), the operation of this chip is valid. This allows multiple SPI ...

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

An embodiment of the invention provides an SPI expansion method through an I / O port and relates to an I / O port based SPI simulation method and device. An embedded processor and an I / O port with an output buffer are used, the I / O port with the output buffer is an embedded processor integrated input / output port, the port is not an SPI, and I / O port simulation of the SPI is achieved through a software programming method. The method and the device have the advantages that the embedded processor and peripherals connection method is expanded conveniently and flexibly.

Description

technical field [0001] The invention relates to a port simulation technology, in particular to a serial peripheral interface (SPI) simulation technology based on input and output ports (I / O). Background technique [0002] In view of the need to integrate various peripherals in the embedded system, the port configuration of the embedded processor itself has considerable limitations. When devices using the same port type are integrated into an embedded system, there will be a shortage of system port resources. In order to better solve this problem, it is necessary to use ordinary I / O ports to simulate SPI in the way of software programming, expand port resources, and improve system compatibility. [0003] At present, most embedded processors have bidirectional programmable I / O ports with internal pull-up resistors, and their output buffers have symmetrical drive characteristics and can absorb or output large currents. The I / O ports exhibit tri-state characteristics when the ...

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): G06F13/20
Inventor 肖天柱于志强唐凌王杰斌吴渊舒南飞王芳
Owner AEROSPACE INFORMATION
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products