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

Method for realizing rapid communication between a plurality of slave devices and SPI master device

A communication method and master device technology, applied in the electronic field, can solve problems such as increasing communication time, achieve the effect of reducing setting time and speeding up communication response speed

Active Publication Date: 2019-11-19
广芯微电子(广州)股份有限公司
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the prior art, there is only one set of CPHA / CPOL / Endian / BandRate setting registers. Before the master device communicates with multiple slave devices supporting different configurations, software needs to change the configuration of these registers, which increases the communication time.

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
  • Method for realizing rapid communication between a plurality of slave devices and SPI master device
  • Method for realizing rapid communication between a plurality of slave devices and SPI master device
  • Method for realizing rapid communication between a plurality of slave devices and SPI master device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0021] See figure 2 , figure 2 It is a schematic flowchart of an embodiment of a method for realizing fast communication between multiple slave devices and an SPI master device provided by the present invention. Such as figure 2 As shown, the authentication method includes steps S1 to S3, and each step is specifically as follows:

[0022] S1. Obtain the first device information of the first slave device, and send the first device information to a preset regis...

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 a method for realizing rapid communication between a plurality of slave devices and an SPI master device. The method comprises the steps of obtaining first device information of a first slave device, sending the first device information to a preset register set configuration module to control the preset register set configuration module to generate multiple parts of configuration information according to the first device information, and sending the multiple parts of configuration information to a selector module; acquiring a first signal of a first slave device, and sending the first signal to the selector module to control the selector module to select a corresponding first configuration register group according to the plurality of parts of configuration information; the corresponding parameter information is sent to the SPI master control logic module through the first configuration register set, so that the SPI master control logic module uses the parameterinformation as parameter configuration of current communication, the setting time of direct communication between the master device and the slave device can be shortened, and the communication response speed of the master device and the slave device is increased.

Description

technical field [0001] The invention relates to the field of electronic technology, in particular to a method for realizing fast communication between a plurality of slave devices and an SPI master device. Background technique [0002] With the rapid development of IoT technology, more and more IoT devices are rapidly entering people's lives. As one of the standard communication interfaces between microcontroller chips (MCUs), sensor chips, and radio frequency chips in the Internet of Things, SPI has attracted more and more attention. The MCU is usually the main control chip in the Internet of Things. In the application, it is often necessary to connect multiple sensor chips and radio frequency chips through the SPI interface. How to quickly communicate with multiple slave devices with different configurations through an SPI master module has become one of the core technical points in the current MCU chip design. [0003] In the technology of existing SPI master device des...

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
IPC IPC(8): G06F13/42G06F13/14
CPCG06F13/14G06F13/4282
Inventor 张良臣李岳峥王锐
Owner 广芯微电子(广州)股份有限公司