Mini embedded controller device and method for simulating SPI interface through I/O port

An embedded controller and SPI interface technology, applied in the embedded field, can solve the problem that it is difficult to meet the small size of the interface controller and the number of SPI interfaces at the same time, and achieve the effect of real-time and reliable interactive data

Inactive Publication Date: 2014-09-03
DALIAN UNIV OF TECH
View PDF6 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The present invention solves the above-mentioned problems that it is difficult to meet the small size of the interface controller and the number of SPI interfaces at the same time, and proposes a mini embedded controller device and a mini embedded controller device that simulates the SPI interface with a general I / O port (i.e. GPIO, referred to as I / O port) method

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
  • Mini embedded controller device and method for simulating SPI interface through I/O port
  • Mini embedded controller device and method for simulating SPI interface through I/O port
  • Mini embedded controller device and method for simulating SPI interface through I/O port

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0064] Mini embedded controller device with I / O port analog SPI interface (such as figure 1 , figure 2 ) includes the control center module, SPI-A interface module, SPI-B interface module, and online simulation debugging interface module, specifically:

[0065] Control center module: STM8S003F3U in the STM8S series is used as the embedded controller chip U1. This type of chip has a size of only 3mm*3mm and is highly integrated. Filter capacitors and voltage stabilizing capacitors around the chip: U1-5 is externally connected with a 680nF capacitor to the ground; C1, C2, and C3 are all 100nF filter capacitors connected in parallel between the power supply and the ground. Both use chip capacitors in 0402 package

[0066] SPI-A interface module: single row of pins, four pins P8, P9, P10, and P11. It is connected to the four I / O pins U1-7, U1-12, U1-13, and U1-14 of STM8S003F3U in turn through the SPI-A bus. The corresponding relationship between signals and pins is as follow...

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 mini embedded controller device and method for simulating an SPI interface through an I/O port and relates to the embedded type technical field. The mini embedded controller device comprises a control center module, an SPI-A interface module, an SPI-B interface module and an on-line simulation debugging interface module, and the size of the mini embedded controller device is only 12 mm * 10 mm. According to the mini embedded controller device, a chip small in size, high in integration and small in pin number is adopted by the mini embedded controller device. The method comprises the steps of sequentially calling an SPI timing sequence initialization module and an SPI timing sequence analogue module when the device is used as a main device, and an SPI timing sequence initialization module and an SPI timing sequence analog module based on the interrupt processing technology when the device is used as a slave device. According to the device and the method, on the premise of meeting the requirements for the number of interfaces and the overall dimension, simulating of the SPI interface through the I/O port is realized with the low cost; when the mini embedded controller device is used as the main device or the slave device, full-duplex communication timing sequences under an SPI working mode can be realized; the interrupt processing technology is adopted, and therefore the reliability and the real-time property of communication can be improved.

Description

technical field [0001] The invention relates to the field of embedded technology, and relates to a mini-sized embedded controller device and method. Background technique [0002] The research and development of some embedded products often requires the combination of several sub-products to achieve a complete function. Some embedded controllers with multiple SPI interfaces (hereinafter referred to as interface controllers) may be needed in the middle, and are responsible for the related two sub-products. For connection or control, the interface controller needs to have two or more SPI interfaces. There are generally two solutions for this kind of project. One solution is to directly purchase a finished embedded controller development board with multiple SPI interfaces. However, such development boards on the market often have relatively complete functions. 2 C, UART, LED lights and other sub-interfaces or other functional modules, so the resource waste problem of the embedd...

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): G05B19/042
Inventor 黄德颖郭戈
Owner DALIAN UNIV OF TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products