WO2020220798A1 - Control chip, control chip-based control method, and system - Google Patents

Control chip, control chip-based control method, and system Download PDF

Info

Publication number
WO2020220798A1
WO2020220798A1 PCT/CN2020/075850 CN2020075850W WO2020220798A1 WO 2020220798 A1 WO2020220798 A1 WO 2020220798A1 CN 2020075850 W CN2020075850 W CN 2020075850W WO 2020220798 A1 WO2020220798 A1 WO 2020220798A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal line
chip
signal
target device
devices
Prior art date
Application number
PCT/CN2020/075850
Other languages
French (fr)
Chinese (zh)
Inventor
容其贵
赵留帅
Original Assignee
京东方科技集团股份有限公司
高创(苏州)电子有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 京东方科技集团股份有限公司, 高创(苏州)电子有限公司 filed Critical 京东方科技集团股份有限公司
Publication of WO2020220798A1 publication Critical patent/WO2020220798A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/12Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
    • G06F13/124Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine
    • G06F13/126Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine and has means for transferring I/O instructions and statuses between control unit and main processor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/78Architectures of general purpose stored program computers comprising a single central processing unit
    • G06F15/7807System on chip, i.e. computer system on a single chip; System in package, i.e. computer system on one or more chips in a single package

Definitions

  • Control chips such as MCU (Microcontroller Unit) and SoC (System on Chip) can be connected to different devices with SPI through SPI (Serial Peripheral Interface).
  • SPI Serial Peripheral Interface
  • the control chip needs to connect multiple devices with SPI, there needs to be multiple corresponding SPIs, which are connected to multiple devices in a one-to-one correspondence.
  • a control chip including one or more SPIs, where the SPI has multiple chip signal lines capable of realizing different functions, and each of the chip signal lines and multiple devices have The device signal line of the corresponding function is connected; the control chip is configured to operate the target device by activating the signal connection of each chip signal line of the SPI and each device signal line of the target device, and the target device is One of the multiple devices.
  • control chip further includes a plurality of selection interfaces, the plurality of selection interfaces are respectively connected to the selection signal lines of the plurality of devices one-to-one, and the selection signal lines are used to transmit pairs Selecting signals of the multiple devices so that the control chip selects the target device through the selection signals.
  • the device is a device with SPI; the function includes at least one of a read function, a write function, or a clock function.
  • control chip includes an SPI; the multiple devices are connected to the control chip through the SPI.
  • the signal communication between each chip signal line for activating the SPI and each device signal line of the target device includes: activating each of the SPI by setting the selection signal of the target device to be valid.
  • the chip signal line is connected with the signal of each device signal line of the target device; each chip of the SPI is disconnected by setting the selection signal of the other devices in the plurality of devices except the target device to be invalid
  • the signal line communicates with the signal of each device signal line of the other device.
  • a control method based on a control chip is provided, which is executed by a processor.
  • the control chip includes one or more SPIs, where the SPI has multiple chip signal lines that can implement different functions.
  • Each of the chip signal lines is connected to the device signal lines of the multiple devices with corresponding functions;
  • the control method includes: the processor activates the signal lines between each chip signal line and each device signal line of the target device. The signal is connected to operate the target device, and the target device is one of the multiple devices.
  • control chip includes a plurality of selection interfaces, and the plurality of selection interfaces are respectively connected to the selection signal lines of the plurality of devices one-to-one; the control method further includes: passing the selection signal The line sends a selection signal of the plurality of devices to the selection signal line of the device connected thereto, so as to select the target device through the selection signal.
  • the function includes at least one of a read function, a write function, or a clock function.
  • control chip includes an SPI, and the multiple devices access the control chip through the SPI.
  • activating the signal communication between each chip signal line and each device signal line of the target device includes: activating each chip signal of the SPI by setting the selection signal of the target device to be valid.
  • the signal line is connected with the signal of each device signal line of the target device; the selection signals of other devices in the plurality of devices except the target device are set to be invalid to disconnect the signal lines of each chip of the SPI The signal of each device signal line of the other device is connected.
  • a control chip including one or more SPIs, wherein the SPI has a plurality of chip signal lines capable of realizing different functions, and each of the chip signal lines and the plurality of devices
  • the control chip further includes: a memory; and a processor coupled to the memory, and the processor is configured to execute the following based on instructions stored in the memory device Step: Operate the target device by activating the signal connection between each chip signal line and each device signal line of the target device, and the target device is one of the multiple devices.
  • control chip further includes a plurality of selection interfaces, and the plurality of selection interfaces are respectively connected to the selection signal lines of the plurality of devices one-to-one;
  • the processor is configured to be stored based on The instructions in the memory device execute the following steps: send selection signals for the plurality of devices to the selection signal lines of the devices connected to the selection signal line to select the target device through the selection signal .
  • the function includes at least one of a read function, a write function, or a clock function.
  • activating the signal communication between each chip signal line and each device signal line of the target device includes: activating each chip signal of the SPI by setting the selection signal of the target device to be valid.
  • the signal line is connected with the signal of each device signal line of the target device; the selection signals of other devices in the plurality of devices except the target device are set to be invalid to disconnect the signal lines of each chip of the SPI The signal of each device signal line of the other device is connected.
  • a non-volatile computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the control method as described in any of the foregoing embodiments is implemented.
  • a control system including: a plurality of devices having a plurality of device signal lines capable of realizing different functions, each of the device signal lines and a chip with corresponding functions of the control chip Signal line connection; the control chip described in any of the above embodiments.
  • Fig. 1 shows a block diagram of a control chip according to an embodiment of the present disclosure
  • Figure 2 shows a block diagram of a control chip according to another embodiment of the present disclosure
  • Figure 3 shows a block diagram of a control system according to an embodiment of the present disclosure
  • Fig. 4 shows a flowchart of a control method based on a control chip according to an embodiment of the present disclosure
  • Fig. 5 shows a block diagram of a control chip according to another embodiment of the present disclosure
  • Fig. 6 shows a block diagram of a control chip according to still another embodiment of the present disclosure.
  • Fig. 1 shows a block diagram of a control chip according to an embodiment of the present disclosure.
  • the chip 1 includes one or more interfaces 11, the interface 11 has multiple chip signal lines that can realize different functions, and each chip signal line is connected to the device 21, device 22 and other devices with corresponding functions.
  • Device signal line connection
  • the chip 1 may be a control chip
  • the interface 11 may be SPI
  • the device may be a device with SPI.
  • the bus of the interface 11 includes a signal line 111, a signal line 112, and a signal line 113 with different functions.
  • the device 21 has a signal line 211, a signal line 212, and a signal line 213 with different functions.
  • the device 22 has a signal line 221, a signal line 222, and a signal line 223 with different functions.
  • the signal line 111 of the interface 11 and the signal line 211 of the device 21 and the signal line 221 of the device 22 have the same functions (such as read function, write function, clock function, etc.). Both the signal line 211 and the signal line 221 can be connected to the chip 1 through the signal line 111 to achieve corresponding functions. Similarly, the signal line 212 and the signal line 222 with the same function can be connected to the chip 1 through the signal line 112; the signal line 213 and the signal line 223 with the same function can be connected to the chip 1 through the signal line 113.
  • the chip 1 activates the connection (signal connection) between each chip signal line of the interface 11 and the target device (devices connected with the interface signal) of the multiple devices to operate the target device.
  • the chip 1 wants to perform operations (such as read and write operations) on the device 21, that is, the device 21 is a target device.
  • the selection signal of the device 21 can be set to be valid, and the connection of the signal line 111, the signal line 112, the signal line 113 and the signal line 211, the signal line 212, and the signal line 213 can be activated respectively.
  • the chip 1 can connect each chip signal line of the interface with each device signal line of the target device by setting the selection signal of the target device to be valid.
  • the chip 1 can set the selection signals of other devices among the multiple devices to be invalid except for the target device to disconnect the signal lines of each chip of the interface 11 and the signal lines of other devices.
  • the chip 1 has an interface 11, and all devices that the chip 1 wants to operate are connected to the chip 1 through the interface 11.
  • the chip 1 can simultaneously mount multiple devices through one interface 11. Compared with related technologies, the number of signal lines of the chip is reduced, and the system complexity is reduced.
  • the chip of the present disclosure may be configured through the embodiment of FIG. 2.
  • Fig. 2 shows a block diagram of a chip according to another embodiment of the present disclosure.
  • the chip 1' also includes a plurality of selection interfaces, such as a selection interface 12 and a selection interface 13.
  • the multiple selection interfaces are respectively connected to the selection signal lines of multiple devices one-to-one.
  • the selection signal line is used to transmit selection signals for multiple devices, so that the chip selects the target device through the selection signal.
  • the signal line 214 of the device 21 is a selection signal line, and the selection interface 12 of the chip 1'is connected to the signal line 214 through the signal line 121.
  • the signal line 224 of the device 22 is a selection signal line, and the selection interface 13 of the chip 1'is connected to the signal line 224 through the signal line 131.
  • the chip 1' is the master
  • the devices 21 and 22 are the slaves
  • the interface 11 may be SPI.
  • the signal line 111 of the interface 11 can be a MISO (Master Output Slave Input) signal line
  • the signal line 112 can be a MOSI (Master Input Slave Output) signal line.
  • the signal line 113 can be SCK (Synchronous Clock) signal line.
  • Each signal line of the interface 11 is connected to the MISO signal line, MOSI signal line and SCK signal line corresponding to the device 21 and the device 22 respectively.
  • the selection interface 12 and the selection interface 13 may be IO (Input Output) interfaces, and the signal line 121 and the signal line 131 may be the SS (Slave Select, slave selection) signal line of the chip 1'or CS (Chip Select) signal line.
  • the signal line 121 and the signal line 131 are respectively connected to the SS signal line or the CS signal line corresponding to the device 21 and the device 22.
  • the three signal lines MISO, MOSI, and SCK of all devices are connected to the corresponding functional signal lines of SPI. All devices are connected to the control chip via SPI.
  • the SS or CS signal line of each device is individually connected to the different IO interfaces of the control chip as the selection signal line. When the chip needs to access a specific device, make the selection signal of the device valid and invalid the selection signals of other devices. In this way, the chip can access the device normally when other devices do not respond.
  • the chip can be connected to multiple devices through one SPI, and adding one device only needs to add one selection signal line. In this way, when multiple devices need to be connected, signal lines can be saved, and no additional chips need to be added, thereby reducing the complexity of the system, reducing the amount of software code, and reducing the cost.
  • Fig. 3 shows a block diagram of a control system according to an embodiment of the present disclosure.
  • control system 3 includes a plurality of devices (device 32, device 33, etc.), and the chip 31 in any of the above embodiments.
  • the chip 31 can operate multiple devices.
  • Fig. 4 shows a flowchart of a control method based on a control chip according to an embodiment of the present disclosure.
  • the method includes: step 410, activating the connection of the target device with the signal line of the chip; and step 420, operating the target device.
  • the method can be executed by a processor.
  • step 410 the connection between each chip signal line and each device signal line of the target device is activated.
  • the chip control chip
  • the SPI has multiple chip signal lines that can implement different functions.
  • Each chip signal line is connected to a device signal line of a plurality of devices with corresponding functions.
  • the chip includes multiple selection interfaces, which are respectively connected to the selection signal lines of multiple devices one-to-one.
  • the chip transmits selection signals to multiple devices through the selection signal line.
  • the chip determines the target device through the selection signal.
  • the selection signal of the target device is set to be valid to connect the signal lines of each chip of the SPI and the signal lines of each device of the target device (signal connection);
  • the selection signals of other devices are set to invalid to disconnect the signal lines of each chip of the SPI and the signal lines of each device of other devices.
  • the function includes at least one of a read function, a write function, or a clock function.
  • the chip includes an SPI, and all devices connect to the chip through the SPI.
  • step 420 the target device is operated.
  • Fig. 5 shows a block diagram of a control chip according to another embodiment of the present disclosure.
  • control chip 5 of this embodiment includes one or more SPI 53.
  • SPI 53 has multiple chip signal lines that can realize different functions. Each chip signal line is connected to the device signal line of multiple devices with corresponding functions.
  • the memory 51 and a processor 52 coupled to the memory 51 are configured to execute the control method in any embodiment of the present disclosure based on instructions stored in the memory 51.
  • the memory 51 may include, for example, a system memory, a fixed non-volatile storage medium, and the like.
  • the system memory stores, for example, an operating system, an application program, a boot loader (Boot Loader), a database, and other programs.
  • the processor 52 is configured to perform the following steps based on the instructions stored in the memory device: by activating the signal connection between each chip signal line and each device signal line of the target device to perform the target device Operation, the target device is one of multiple devices.
  • the function includes at least one of a read function, a write function, or a clock function.
  • the selection signal of the target device For example, by setting the selection signal of the target device to be active, the signal connection of each chip signal line of the SPI 53 and each device signal line of the target device is activated; by selecting a device other than the target device among multiple devices The signal is set to invalid to disconnect the signal connection between the signal lines of each chip of SPI53 and the signal lines of other devices.
  • control chip 5 further includes multiple selection interfaces, and the multiple selection interfaces are respectively connected to the selection signal lines of multiple devices one-to-one.
  • the processor 52 is configured to perform the following steps based on the instructions stored in the memory device: send selection signals for multiple devices to the selection signal line of the device connected to the selection signal line to select the target device through the selection signal.
  • control chip 5 includes an SPI 53; multiple devices access the control chip through the SPI 53.
  • a control system including: a plurality of devices having a plurality of device signal lines capable of realizing different functions, and each device signal line is connected to a chip signal line with a corresponding function of the control chip ;
  • the control chip described in any of the above embodiments.
  • a non-volatile computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the control method as described in any of the foregoing embodiments is implemented.
  • Fig. 6 shows a block diagram of a control chip according to still another embodiment of the present disclosure.
  • control device 6 of this embodiment includes: a memory 610 and a processor 620 coupled to the memory 610.
  • the processor 620 is configured to execute any one of the foregoing embodiments based on instructions stored in the memory 610. Control methods in.
  • the memory 610 may include, for example, a system memory, a fixed non-volatile storage medium, and the like.
  • the system memory for example, stores an operating system, an application program, a boot loader (Boot Loader), and other programs.
  • the control device 6 may also include an input and output interface 630, a network interface 640, a storage interface 650, and the like. These interfaces 630, 640, 650, and the memory 610 and the processor 620 may be connected via a bus 660, for example.
  • the input and output interface 630 provides connection interfaces for input and output devices such as a display, a mouse, a keyboard, and a touch screen.
  • the network interface 640 provides a connection interface for various networked devices.
  • the storage interface 650 provides a connection interface for external storage devices such as SD cards and U disks.
  • the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable non-transitory storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. .
  • control chip So far, the control chip, the control method based on the control chip, the control system, and the non-volatile computer-readable storage medium according to the present disclosure have been described in detail. In order to avoid obscuring the concept of the present disclosure, some details known in the art are not described. Based on the above description, those skilled in the art can fully understand how to implement the technical solutions disclosed herein.
  • the method and system of the present disclosure may be implemented in many ways.
  • the method and system of the present disclosure can be implemented by software, hardware, firmware or any combination of software, hardware, and firmware.
  • the above-mentioned order of the steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above, unless specifically stated otherwise.
  • the present disclosure may also be implemented as programs recorded in a recording medium, and these programs include machine-readable instructions for implementing the method according to the present disclosure.
  • the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Information Transfer Systems (AREA)

Abstract

The present disclosure relates to a control chip, a control chip-based control method, a system, and a non-volatile computer readable storage medium. The control chip comprises one or more SPIs, the SPIs having a plurality of chip signal lines which can realize different functions, and each chip signal line being connected to device signal lines, having corresponding functions, of a plurality of devices; and the control chip is configured to operate a target device by activating signal connections between the chip signal lines of the SPIs and the device signal lines of the target device, the target device being one of the plurality of devices.

Description

控制芯片、基于控制芯片的控制方法和系统Control chip, control method and system based on control chip
相关申请的交叉引用Cross references to related applications
本申请是以CN申请号为201910359405.7,申请日为2019年4月30日的申请为基础,并主张其优先权,该CN申请的公开内容在此作为整体引入本申请中。This application is based on the application whose CN application number is 201910359405.7 and the application date is April 30, 2019, and claims its priority. The disclosure of the CN application is hereby incorporated into this application as a whole.
技术领域Technical field
本公开涉及控制技术领域,特别涉及一种控制芯片、基于控制芯片的控制方法、控制系统、非易失性计算机可读存储介质。The present disclosure relates to the field of control technology, and in particular to a control chip, a control method based on a control chip, a control system, and a non-volatile computer-readable storage medium.
背景技术Background technique
MCU(Microcontroller Unit,微控制单元)、SoC(System on Chip,芯片级系统)等控制芯片可以通过SPI(Serial Peripheral Interface,串行外设接口)接入不同的具有SPI的器件。在相关技术中,在控制芯片需要接多个具有SPI的器件的情况下,需要有对应的多个SPI,与多个器件一一对应连接。Control chips such as MCU (Microcontroller Unit) and SoC (System on Chip) can be connected to different devices with SPI through SPI (Serial Peripheral Interface). In the related art, when the control chip needs to connect multiple devices with SPI, there needs to be multiple corresponding SPIs, which are connected to multiple devices in a one-to-one correspondence.
发明内容Summary of the invention
根据本公开的一些实施例,提供了一种控制芯片,包括一个或多个SPI,其中,SPI具有多根能够实现不同功能的芯片信号线,每根所述芯片信号线与多个器件的具有相应功能的器件信号线连接;所述控制芯片配置成通过激活所述SPI的各芯片信号线与目标器件的各器件信号线的信号连通,来对所述目标器件进行操作,所述目标器件是所述多个器件中的一个。According to some embodiments of the present disclosure, there is provided a control chip, including one or more SPIs, where the SPI has multiple chip signal lines capable of realizing different functions, and each of the chip signal lines and multiple devices have The device signal line of the corresponding function is connected; the control chip is configured to operate the target device by activating the signal connection of each chip signal line of the SPI and each device signal line of the target device, and the target device is One of the multiple devices.
在一些实施例中,所述的控制芯片,还包括多个选择接口,所述多个选择接口分别与所述多个器件的选择信号线一对一连接,所述选择信号线用于传输对所述多个器件的选择信号,以便所述控制芯片通过所述选择信号选择所述目标器件。In some embodiments, the control chip further includes a plurality of selection interfaces, the plurality of selection interfaces are respectively connected to the selection signal lines of the plurality of devices one-to-one, and the selection signal lines are used to transmit pairs Selecting signals of the multiple devices so that the control chip selects the target device through the selection signals.
在一些实施例中,所述器件为具有SPI的器件;所述功能包括读功能、写功能或时钟功能中的至少一种。In some embodiments, the device is a device with SPI; the function includes at least one of a read function, a write function, or a clock function.
在一些实施例中,所述控制芯片包括一个SPI;所述多个器件通过该SPI接入所述控制芯片。In some embodiments, the control chip includes an SPI; the multiple devices are connected to the control chip through the SPI.
在一些实施例中,所述激活所述SPI的各芯片信号线与目标器件的各器件信号线 的信号连通包括:通过将所述目标器件的选择信号设置为有效,来激活所述SPI的各芯片信号线与所述目标器件的各器件信号线的信号连通;通过将所述多个器件中除了所述目标器件以外的其他器件的选择信号设置为无效,来断开所述SPI的各芯片信号线与所述其他器件的各器件信号线的信号连通。In some embodiments, the signal communication between each chip signal line for activating the SPI and each device signal line of the target device includes: activating each of the SPI by setting the selection signal of the target device to be valid. The chip signal line is connected with the signal of each device signal line of the target device; each chip of the SPI is disconnected by setting the selection signal of the other devices in the plurality of devices except the target device to be invalid The signal line communicates with the signal of each device signal line of the other device.
根据本公开的另一些实施例,提供一种基于控制芯片的控制方法,由处理器执行,所述控制芯片包括一个或多个SPI,其中,SPI具有多根能够实现不同功能的芯片信号线,每根所述芯片信号线与所述多个器件的具有相应功能的器件信号线连接;所述控制方法包括:所述处理器通过激活各芯片信号线与目标器件的各器件信号线之间的信号连通,来对所述目标器件进行操作,所述目标器件是所述多个器件中的一个。According to other embodiments of the present disclosure, a control method based on a control chip is provided, which is executed by a processor. The control chip includes one or more SPIs, where the SPI has multiple chip signal lines that can implement different functions. Each of the chip signal lines is connected to the device signal lines of the multiple devices with corresponding functions; the control method includes: the processor activates the signal lines between each chip signal line and each device signal line of the target device. The signal is connected to operate the target device, and the target device is one of the multiple devices.
在一些实施例中,所述控制芯片包括多个选择接口,所述多个选择接口分别与所述多个器件的选择信号线一对一连接;所述控制方法还包括:通过所述选择信号线向与之连接的器件的选择信号线发送对所述多个器件的选择信号,以通过所述选择信号选择所述目标器件。In some embodiments, the control chip includes a plurality of selection interfaces, and the plurality of selection interfaces are respectively connected to the selection signal lines of the plurality of devices one-to-one; the control method further includes: passing the selection signal The line sends a selection signal of the plurality of devices to the selection signal line of the device connected thereto, so as to select the target device through the selection signal.
在一些实施例中,所述功能包括读功能、写功能或时钟功能中的至少一种。In some embodiments, the function includes at least one of a read function, a write function, or a clock function.
在一些实施例中,所述控制芯片包括一个SPI,所述多个器件通过该SPI接入所述控制芯片。In some embodiments, the control chip includes an SPI, and the multiple devices access the control chip through the SPI.
在一些实施例中,所述激活各芯片信号线与目标器件的各器件信号线之间的信号连通包括:通过将所述目标器件的选择信号设置为有效,来激活所述SPI的各芯片信号线与所述目标器件的各器件信号线的信号连通;将所述多个器件中除了所述目标器件以外的其他器件的选择信号设置为无效,以断开所述SPI的各芯片信号线与所述其他器件的各器件信号线的信号连通。In some embodiments, activating the signal communication between each chip signal line and each device signal line of the target device includes: activating each chip signal of the SPI by setting the selection signal of the target device to be valid. The signal line is connected with the signal of each device signal line of the target device; the selection signals of other devices in the plurality of devices except the target device are set to be invalid to disconnect the signal lines of each chip of the SPI The signal of each device signal line of the other device is connected.
根据本公开的又一些实施例,提供一种控制芯片,包括一个或多个SPI,其中,SPI具有多根能够实现不同功能的芯片信号线,每根所述芯片信号线与所述多个器件的具有相应功能的器件信号线连接;所述控制芯片还包括:存储器;和耦接至所述存储器的处理器,所述处理器被配置为基于存储在所述存储器装置中的指令,执行如下步骤:通过激活各芯片信号线与目标器件的各器件信号线之间的信号连通,来对所述目标器件进行操作,所述目标器件是所述多个器件中的一个。According to still other embodiments of the present disclosure, there is provided a control chip including one or more SPIs, wherein the SPI has a plurality of chip signal lines capable of realizing different functions, and each of the chip signal lines and the plurality of devices The control chip further includes: a memory; and a processor coupled to the memory, and the processor is configured to execute the following based on instructions stored in the memory device Step: Operate the target device by activating the signal connection between each chip signal line and each device signal line of the target device, and the target device is one of the multiple devices.
在一些实施例中,所述控制芯片,还包括多个选择接口,所述多个选择接口分别与所述多个器件的选择信号线一对一连接;所述处理器被配置为基于存储在所述存储器装置中的指令,执行如下步骤:通过所述选择信号线向与之连接的器件的选择信号 线发送对所述多个器件的选择信号,以通过所述选择信号选择所述目标器件。In some embodiments, the control chip further includes a plurality of selection interfaces, and the plurality of selection interfaces are respectively connected to the selection signal lines of the plurality of devices one-to-one; the processor is configured to be stored based on The instructions in the memory device execute the following steps: send selection signals for the plurality of devices to the selection signal lines of the devices connected to the selection signal line to select the target device through the selection signal .
在一些实施例中,所述功能包括读功能、写功能或时钟功能中的至少一种。In some embodiments, the function includes at least one of a read function, a write function, or a clock function.
在一些实施例中,所述激活各芯片信号线与目标器件的各器件信号线之间的信号连通包括:通过将所述目标器件的选择信号设置为有效,来激活所述SPI的各芯片信号线与所述目标器件的各器件信号线的信号连通;将所述多个器件中除了所述目标器件以外的其他器件的选择信号设置为无效,以断开所述SPI的各芯片信号线与所述其他器件的各器件信号线的信号连通。In some embodiments, activating the signal communication between each chip signal line and each device signal line of the target device includes: activating each chip signal of the SPI by setting the selection signal of the target device to be valid. The signal line is connected with the signal of each device signal line of the target device; the selection signals of other devices in the plurality of devices except the target device are set to be invalid to disconnect the signal lines of each chip of the SPI The signal of each device signal line of the other device is connected.
根据本公开的再一些实施例,提供了一种非易失性计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如前述任一个实施例所述的控制方法。According to still other embodiments of the present disclosure, there is provided a non-volatile computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the control method as described in any of the foregoing embodiments is implemented.
根据本公开的再一些实施例,提供了一种控制系统,包括:多个器件,具有多根能够实现不同功能的器件信号线,每根所述器件信号线与控制芯片的具有相应功能的芯片信号线连接;上述任一个实施例所述的控制芯片。According to still other embodiments of the present disclosure, a control system is provided, including: a plurality of devices having a plurality of device signal lines capable of realizing different functions, each of the device signal lines and a chip with corresponding functions of the control chip Signal line connection; the control chip described in any of the above embodiments.
通过以下参照附图对本公开的示例性实施例的详细描述,本公开的其它特征及其优点将会变得清楚。Through the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings, other features and advantages of the present disclosure will become clear.
附图说明Description of the drawings
此处所说明的附图用来提供对本公开的进一步理解,构成本申请的一部分,本公开的示意性实施例及其说明用于解释本公开,并不构成对本公开的不当限定。在附图中:The drawings described here are used to provide a further understanding of the present disclosure and constitute a part of the present application. The exemplary embodiments of the present disclosure and their descriptions are used to explain the present disclosure, and do not constitute an improper limitation of the present disclosure. In the attached picture:
图1示出根据本公开一个实施例的控制芯片的框图;Fig. 1 shows a block diagram of a control chip according to an embodiment of the present disclosure;
图2示出根据本公开另一个实施例的控制芯片的框图;Figure 2 shows a block diagram of a control chip according to another embodiment of the present disclosure;
图3示出根据本公开一个实施例的控制系统的框图;Figure 3 shows a block diagram of a control system according to an embodiment of the present disclosure;
图4示出根据本公开一个实施例的基于控制芯片的控制方法的流程图;Fig. 4 shows a flowchart of a control method based on a control chip according to an embodiment of the present disclosure;
图5示出根据本公开又一个实施例的控制芯片的框图;Fig. 5 shows a block diagram of a control chip according to another embodiment of the present disclosure;
图6示出根据本公开再一个实施例的控制芯片的框图。Fig. 6 shows a block diagram of a control chip according to still another embodiment of the present disclosure.
应当明白,附图中所示出的各个部分的尺寸并不是按照实际的比例关系绘制的。此外,相同或类似的参考标号表示相同或类似的构件。It should be understood that the sizes of the various parts shown in the drawings are not drawn in accordance with the actual proportional relationship. In addition, the same or similar reference numerals indicate the same or similar components.
具体实施方式Detailed ways
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完 整地描述,显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。以下对至少一个示例性实施例的描述实际上仅仅是说明性的,决不作为对本公开及其应用或使用的任何限制。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The technical solutions in the embodiments of the present disclosure will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all the embodiments. The following description of at least one exemplary embodiment is actually only illustrative, and in no way serves as any limitation to the present disclosure and its application or use. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present disclosure.
除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对布置、数字表达式和数值不限制本公开的范围。同时,应当明白,为了便于描述,附图中所示出的各个部分的尺寸并不是按照实际的比例关系绘制的。对于相关领域普通技术人员已知的技术、方法和设备可能不作详细讨论,但在适当情况下,所述技术、方法和设备应当被视为授权说明书的一部分。在这里示出和讨论的所有示例中,任何具体值应被解释为仅仅是示例性的,而不是作为限制。因此,示例性实施例的其它示例可以具有不同的值。应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步讨论。Unless specifically stated otherwise, the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure. At the same time, it should be understood that, for ease of description, the sizes of the various parts shown in the drawings are not drawn in accordance with actual proportional relationships. The technologies, methods, and equipment known to those of ordinary skill in the relevant fields may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be regarded as part of the authorization specification. In all examples shown and discussed here, any specific value should be interpreted as merely exemplary, rather than as a limitation. Therefore, other examples of the exemplary embodiment may have different values. It should be noted that similar reference numerals and letters indicate similar items in the following drawings, so once a certain item is defined in one drawing, it does not need to be further discussed in subsequent drawings.
图1示出根据本公开一个实施例的控制芯片的框图。Fig. 1 shows a block diagram of a control chip according to an embodiment of the present disclosure.
如图1所示,芯片1包括一个或多个接口11,接口11具有多根能够实现不同功能的芯片信号线,每根芯片信号线与器件21、器件22等多个器件的具有相应功能的器件信号线连接。例如,芯片1可以为控制芯片,接口11可以为SPI,器件为具有SPI的器件。As shown in Figure 1, the chip 1 includes one or more interfaces 11, the interface 11 has multiple chip signal lines that can realize different functions, and each chip signal line is connected to the device 21, device 22 and other devices with corresponding functions. Device signal line connection. For example, the chip 1 may be a control chip, the interface 11 may be SPI, and the device may be a device with SPI.
在一些实施例中,接口11的总线包含具有不同功能的信号线111、信号线112、信号线113。器件21具有不同功能的信号线211、信号线212、信号线213。器件22具有不同功能的信号线221、信号线222、信号线223。In some embodiments, the bus of the interface 11 includes a signal line 111, a signal line 112, and a signal line 113 with different functions. The device 21 has a signal line 211, a signal line 212, and a signal line 213 with different functions. The device 22 has a signal line 221, a signal line 222, and a signal line 223 with different functions.
例如,接口11的信号线111与器件21的信号线211和器件22的信号线221具有相同的功能(如读功能、写功能、时钟功能等)。信号线211和信号线221都可以通过信号线111接入芯片1,以实现相应的功能。类似地,具有相同功能的信号线212和信号线222都可以通过信号线112接入芯片1;具有相同功能的信号线213和信号线223都可以通过信号线113接入芯片1。For example, the signal line 111 of the interface 11 and the signal line 211 of the device 21 and the signal line 221 of the device 22 have the same functions (such as read function, write function, clock function, etc.). Both the signal line 211 and the signal line 221 can be connected to the chip 1 through the signal line 111 to achieve corresponding functions. Similarly, the signal line 212 and the signal line 222 with the same function can be connected to the chip 1 through the signal line 112; the signal line 213 and the signal line 223 with the same function can be connected to the chip 1 through the signal line 113.
芯片1激活接口11的各芯片信号线与多个器件中的目标器件(需要激活与接口信号连通的器件)的各器件信号线的连接(信号连通),以便对目标器件进行操作。The chip 1 activates the connection (signal connection) between each chip signal line of the interface 11 and the target device (devices connected with the interface signal) of the multiple devices to operate the target device.
例如,芯片1想要对器件21进行操作(如读写操作),即器件21为目标器件。可以将器件21的选择信号设置为有效,并分别激活信号线111、信号线112、信号线113与信号线211、信号线212、信号线213的连接。For example, the chip 1 wants to perform operations (such as read and write operations) on the device 21, that is, the device 21 is a target device. The selection signal of the device 21 can be set to be valid, and the connection of the signal line 111, the signal line 112, the signal line 113 and the signal line 211, the signal line 212, and the signal line 213 can be activated respectively.
在一些实施例中,芯片1可以通过将目标器件的选择信号设置为有效,来接通接口的各芯片信号线与目标器件的各器件信号线的连接。芯片1可以将多个器件中除了目标器件以外的其他器件的选择信号设置为无效,来断开接口11的各芯片信号线与其他器件的各器件信号线的连接。In some embodiments, the chip 1 can connect each chip signal line of the interface with each device signal line of the target device by setting the selection signal of the target device to be valid. The chip 1 can set the selection signals of other devices among the multiple devices to be invalid except for the target device to disconnect the signal lines of each chip of the interface 11 and the signal lines of other devices.
例如,器件21为目标器件,芯片1可以将器件22的选择信号设置为无效,并断开信号线111、信号线112、信号线113与信号线221、信号线222、信号线223的连接。For example, if the device 21 is a target device, the chip 1 can set the selection signal of the device 22 to be invalid, and disconnect the signal lines 111, 112, and 113 from the signal lines 221, 222, and 223.
在一些实施例中,芯片1具有一个接口11,所有芯片1想要进行操作的器件通过接口11接入芯片1。In some embodiments, the chip 1 has an interface 11, and all devices that the chip 1 wants to operate are connected to the chip 1 through the interface 11.
在上述实施例中,芯片1通过一个接口11可以同时挂载多个器件。相比于相关技术减少了芯片的信号线数量,降低了系统复杂性。In the above embodiment, the chip 1 can simultaneously mount multiple devices through one interface 11. Compared with related technologies, the number of signal lines of the chip is reduced, and the system complexity is reduced.
在一些实施例中,可以通过图2的实施例配置本公开的芯片。In some embodiments, the chip of the present disclosure may be configured through the embodiment of FIG. 2.
图2示出根据本公开另一个实施例的芯片的框图。Fig. 2 shows a block diagram of a chip according to another embodiment of the present disclosure.
如图2所示,相比于图1,芯片1’还包括多个选择接口,如选择接口12和选择接口13。多个选择接口分别与多个器件的选择信号线一对一连接。选择信号线用于传输对多个器件的选择信号,以便芯片通过选择信号选择目标器件。As shown in Fig. 2, compared with Fig. 1, the chip 1'also includes a plurality of selection interfaces, such as a selection interface 12 and a selection interface 13. The multiple selection interfaces are respectively connected to the selection signal lines of multiple devices one-to-one. The selection signal line is used to transmit selection signals for multiple devices, so that the chip selects the target device through the selection signal.
例如,器件21的信号线214为选择信号线,芯片1’的选择接口12通过信号线121与信号线214连接。器件22的信号线224为选择信号线,芯片1’的选择接口13通过信号线131与信号线224连接。For example, the signal line 214 of the device 21 is a selection signal line, and the selection interface 12 of the chip 1'is connected to the signal line 214 through the signal line 121. The signal line 224 of the device 22 is a selection signal line, and the selection interface 13 of the chip 1'is connected to the signal line 224 through the signal line 131.
在一些实施例中,芯片1’为主机,器件21、器件22为从机,接口11可以为SPI。接口11的信号线111可以为MISO(Master Output Slave Input,主机输入从机输出)信号线,信号线112可以为MOSI(Master Input Slave Output,主机输出从机输入)信号线,信号线113可以为SCK(Synchronous Clock,同步时钟)信号线。接口11的各信号线分别与器件21、器件22相应的MISO信号线、MOSI信号线和SCK信号线连接。In some embodiments, the chip 1'is the master, the devices 21 and 22 are the slaves, and the interface 11 may be SPI. The signal line 111 of the interface 11 can be a MISO (Master Output Slave Input) signal line, and the signal line 112 can be a MOSI (Master Input Slave Output) signal line. The signal line 113 can be SCK (Synchronous Clock) signal line. Each signal line of the interface 11 is connected to the MISO signal line, MOSI signal line and SCK signal line corresponding to the device 21 and the device 22 respectively.
在一些实施例中,选择接口12和选择接口13可以为IO(Input Output,输入输出)接口,信号线121、信号线131可以为芯片1’的SS(Slave Select,从机选择)信号线或CS(Chip Select,芯片选择)信号线。信号线121、信号线131分别与器件21、器件22相应的SS信号线或CS信号线连接。In some embodiments, the selection interface 12 and the selection interface 13 may be IO (Input Output) interfaces, and the signal line 121 and the signal line 131 may be the SS (Slave Select, slave selection) signal line of the chip 1'or CS (Chip Select) signal line. The signal line 121 and the signal line 131 are respectively connected to the SS signal line or the CS signal line corresponding to the device 21 and the device 22.
在一些实施例中,所有器件的MISO、MOSI、SCK三根信号线分别与SPI的相 应功能信号线连接在一起。所有器件通过SPI连接到控制芯片。每一个器件的SS或CS信号线单独接到控制芯片的不同IO接口,作为选择信号线。芯片需要访问特定的器件时,令该器件的选择信号有效,其他器件的选择信号无效。这样,芯片可以在其他器件不响应的情况下,正常访问该器件。In some embodiments, the three signal lines MISO, MOSI, and SCK of all devices are connected to the corresponding functional signal lines of SPI. All devices are connected to the control chip via SPI. The SS or CS signal line of each device is individually connected to the different IO interfaces of the control chip as the selection signal line. When the chip needs to access a specific device, make the selection signal of the device valid and invalid the selection signals of other devices. In this way, the chip can access the device normally when other devices do not respond.
在上述实施例中,芯片通过一个SPI可以接入多个器件,增加一个器件只需增加一根选择信号线。这样,在需要接入多个器件的情况下,可以节省信号线,并且不需要增加额外的芯片,从而降低了系统的复杂性、缩小了软件代码量、降低了成本。In the above embodiment, the chip can be connected to multiple devices through one SPI, and adding one device only needs to add one selection signal line. In this way, when multiple devices need to be connected, signal lines can be saved, and no additional chips need to be added, thereby reducing the complexity of the system, reducing the amount of software code, and reducing the cost.
图3示出根据本公开一个实施例的控制系统的框图。Fig. 3 shows a block diagram of a control system according to an embodiment of the present disclosure.
如图3所示,控制系统3包括多个器件(器件32、器件33等)、上述任一个实施例中的芯片31。芯片31能够对多个器件进行操作。As shown in FIG. 3, the control system 3 includes a plurality of devices (device 32, device 33, etc.), and the chip 31 in any of the above embodiments. The chip 31 can operate multiple devices.
图4示出根据本公开一个实施例的基于控制芯片的控制方法的流程图。Fig. 4 shows a flowchart of a control method based on a control chip according to an embodiment of the present disclosure.
如图4所示,该方法包括:步骤410,激活目标器件与芯片的信号线连接;和步骤420,对目标器件进行操作。例如,该方法可以由处理器执行。As shown in FIG. 4, the method includes: step 410, activating the connection of the target device with the signal line of the chip; and step 420, operating the target device. For example, the method can be executed by a processor.
在步骤410中,激活各芯片信号线与目标器件的各器件信号线之间的连接。例如,芯片(控制芯片)包括一个或多个接口(SPI),SPI具有多根能够实现不同功能的芯片信号线。每根芯片信号线与多个器件的具有相应功能的器件信号线连接。In step 410, the connection between each chip signal line and each device signal line of the target device is activated. For example, the chip (control chip) includes one or more interfaces (SPI), and the SPI has multiple chip signal lines that can implement different functions. Each chip signal line is connected to a device signal line of a plurality of devices with corresponding functions.
在一些实施例中,芯片包括多个选择接口,分别与多个器件的选择信号线一对一连接。芯片通过选择信号线传输对多个器件的选择信号。芯片通过选择信号确定目标器件。In some embodiments, the chip includes multiple selection interfaces, which are respectively connected to the selection signal lines of multiple devices one-to-one. The chip transmits selection signals to multiple devices through the selection signal line. The chip determines the target device through the selection signal.
在一些实施例中,将目标器件的选择信号设置为有效,以接通SPI的各芯片信号线与目标器件的各器件信号线的连接(信号连接);将多个器件中除了目标器件以外的其他器件的选择信号设置为无效,以断开SPI的各芯片信号线与其他器件的各器件信号线的连接。In some embodiments, the selection signal of the target device is set to be valid to connect the signal lines of each chip of the SPI and the signal lines of each device of the target device (signal connection); The selection signals of other devices are set to invalid to disconnect the signal lines of each chip of the SPI and the signal lines of each device of other devices.
在一些实施例中,功能包括读功能、写功能或时钟功能中的至少一种。In some embodiments, the function includes at least one of a read function, a write function, or a clock function.
在一些实施例中,芯片包括一个SPI,所有的器件都通过该SPI接入芯片。In some embodiments, the chip includes an SPI, and all devices connect to the chip through the SPI.
在步骤420中,对目标器件进行操作。In step 420, the target device is operated.
图5示出根据本公开又一个实施例的控制芯片的框图。Fig. 5 shows a block diagram of a control chip according to another embodiment of the present disclosure.
如图5所示,该实施例的控制芯片5包括一个或多个SPI 53。SPI 53具有多根能够实现不同功能的芯片信号线。每根芯片信号线与多个器件的具有相应功能的器件信号线连接.As shown in FIG. 5, the control chip 5 of this embodiment includes one or more SPI 53. SPI 53 has multiple chip signal lines that can realize different functions. Each chip signal line is connected to the device signal line of multiple devices with corresponding functions.
存储器51以及耦接至该存储器51的处理器52,处理器52被配置为基于存储在存储器51中的指令,执行本公开中任意一个实施例中的控制方法。The memory 51 and a processor 52 coupled to the memory 51 are configured to execute the control method in any embodiment of the present disclosure based on instructions stored in the memory 51.
其中,存储器51例如可以包括系统存储器、固定非易失性存储介质等。系统存储器例如存储有操作系统、应用程序、引导装载程序(Boot Loader)、数据库以及其他程序等。Among them, the memory 51 may include, for example, a system memory, a fixed non-volatile storage medium, and the like. The system memory stores, for example, an operating system, an application program, a boot loader (Boot Loader), a database, and other programs.
在一些实施例中,处理器52被配置为基于存储在存储器装置中的指令,执行如下步骤:通过激活各芯片信号线与目标器件的各器件信号线之间的信号连通,来对目标器件进行操作,目标器件是多个器件中的一个。例如,功能包括读功能、写功能或时钟功能中的至少一种。In some embodiments, the processor 52 is configured to perform the following steps based on the instructions stored in the memory device: by activating the signal connection between each chip signal line and each device signal line of the target device to perform the target device Operation, the target device is one of multiple devices. For example, the function includes at least one of a read function, a write function, or a clock function.
例如,通过将目标器件的选择信号设置为有效,来激活SPI 53的各芯片信号线与目标器件的各器件信号线的信号连通;通过将多个器件中所述目标器件以外的其他器件的选择信号设置为无效,来断开SPI 53的各芯片信号线与其他器件的各器件信号线的信号连通。For example, by setting the selection signal of the target device to be active, the signal connection of each chip signal line of the SPI 53 and each device signal line of the target device is activated; by selecting a device other than the target device among multiple devices The signal is set to invalid to disconnect the signal connection between the signal lines of each chip of SPI53 and the signal lines of other devices.
在一些实施例中,控制芯片5还包括多个选择接口,多个选择接口分别与多个器件的选择信号线一对一连接。处理器52被配置为基于存储在存储器装置中的指令,执行如下步骤:通过选择信号线向与之连接的器件的选择信号线发送对多个器件的选择信号,以通过选择信号选择目标器件。In some embodiments, the control chip 5 further includes multiple selection interfaces, and the multiple selection interfaces are respectively connected to the selection signal lines of multiple devices one-to-one. The processor 52 is configured to perform the following steps based on the instructions stored in the memory device: send selection signals for multiple devices to the selection signal line of the device connected to the selection signal line to select the target device through the selection signal.
在一些实施例中,控制芯片5包括一个SPI 53;多个器件通过SPI 53接入控制芯片。In some embodiments, the control chip 5 includes an SPI 53; multiple devices access the control chip through the SPI 53.
根据本公开的再一些实施例,提供了一种控制系统包括:多个器件,具有多根能够实现不同功能的器件信号线,每根器件信号线与控制芯片的具有相应功能的芯片信号线连接;上述任一个实施例所述的控制芯片。According to still other embodiments of the present disclosure, there is provided a control system including: a plurality of devices having a plurality of device signal lines capable of realizing different functions, and each device signal line is connected to a chip signal line with a corresponding function of the control chip ; The control chip described in any of the above embodiments.
根据本公开的再一些实施例,提供了一种非易失性计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如前述任一个实施例所述的控制方法。According to still other embodiments of the present disclosure, there is provided a non-volatile computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the control method as described in any of the foregoing embodiments is implemented.
图6示出根据本公开再一个实施例的控制芯片的框图。Fig. 6 shows a block diagram of a control chip according to still another embodiment of the present disclosure.
如图6所示,该实施例的控制装置6包括:存储器610以及耦接至该存储器610的处理器620,处理器620被配置为基于存储在存储器610中的指令,执行前述任意一个实施例中的控制方法。As shown in FIG. 6, the control device 6 of this embodiment includes: a memory 610 and a processor 620 coupled to the memory 610. The processor 620 is configured to execute any one of the foregoing embodiments based on instructions stored in the memory 610. Control methods in.
存储器610例如可以包括系统存储器、固定非易失性存储介质等。系统存储器例如存储有操作系统、应用程序、引导装载程序(Boot Loader)以及其他程序等。The memory 610 may include, for example, a system memory, a fixed non-volatile storage medium, and the like. The system memory, for example, stores an operating system, an application program, a boot loader (Boot Loader), and other programs.
控制装置6还可以包括输入输出接口630、网络接口640、存储接口650等。这些接口630、640、650以及存储器610和处理器620之间例如可以通过总线660连接。其中,输入输出接口630为显示器、鼠标、键盘、触摸屏等输入输出设备提供连接接口。网络接口640为各种联网设备提供连接接口。存储接口650为SD卡、U盘等外置存储设备提供连接接口。The control device 6 may also include an input and output interface 630, a network interface 640, a storage interface 650, and the like. These interfaces 630, 640, 650, and the memory 610 and the processor 620 may be connected via a bus 660, for example. Among them, the input and output interface 630 provides connection interfaces for input and output devices such as a display, a mouse, a keyboard, and a touch screen. The network interface 640 provides a connection interface for various networked devices. The storage interface 650 provides a connection interface for external storage devices such as SD cards and U disks.
本领域内的技术人员应当明白,本公开的实施例可提供为方法、系统、或计算机程序产品。因此,本公开可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用非瞬时性存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable non-transitory storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. .
至此,已经详细描述了根据本公开的控制芯片、基于控制芯片的控制方法、控制系统、非易失性计算机可读存储介质。为了避免遮蔽本公开的构思,没有描述本领域所公知的一些细节。本领域技术人员根据上面的描述,完全可以明白如何实施这里公开的技术方案。So far, the control chip, the control method based on the control chip, the control system, and the non-volatile computer-readable storage medium according to the present disclosure have been described in detail. In order to avoid obscuring the concept of the present disclosure, some details known in the art are not described. Based on the above description, those skilled in the art can fully understand how to implement the technical solutions disclosed herein.
可能以许多方式来实现本公开的方法和系统。例如,可通过软件、硬件、固件或者软件、硬件、固件的任何组合来实现本公开的方法和系统。用于所述方法的步骤的上述顺序仅是为了进行说明,本公开的方法的步骤不限于以上具体描述的顺序,除非以其它方式特别说明。此外,在一些实施例中,还可将本公开实施为记录在记录介质中的程序,这些程序包括用于实现根据本公开的方法的机器可读指令。因而,本公开还覆盖存储用于执行根据本公开的方法的程序的记录介质。The method and system of the present disclosure may be implemented in many ways. For example, the method and system of the present disclosure can be implemented by software, hardware, firmware or any combination of software, hardware, and firmware. The above-mentioned order of the steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above, unless specifically stated otherwise. In addition, in some embodiments, the present disclosure may also be implemented as programs recorded in a recording medium, and these programs include machine-readable instructions for implementing the method according to the present disclosure. Thus, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.
虽然已经通过示例对本公开的一些特定实施例进行了详细说明,但是本领域的技术人员应该理解,以上示例仅是为了进行说明,而不是为了限制本公开的范围。本领域的技术人员应该理解,可在不脱离本公开的范围和精神的情况下,对以上实施例进行修改。本公开的范围由所附权利要求来限定。Although some specific embodiments of the present disclosure have been described in detail through examples, those skilled in the art should understand that the above examples are only for illustration and not for limiting the scope of the present disclosure. Those skilled in the art should understand that the above embodiments can be modified without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.

Claims (16)

  1. 一种控制芯片,包括一个或多个串行外设接口SPI,其中,A control chip including one or more serial peripheral interfaces SPI, among which,
    SPI具有多根能够实现不同功能的芯片信号线,每根所述芯片信号线与多个器件的具有相应功能的器件信号线连接;The SPI has multiple chip signal lines that can realize different functions, and each of the chip signal lines is connected to a device signal line with corresponding functions of multiple devices;
    所述控制芯片配置成通过激活所述SPI的各芯片信号线与目标器件的各器件信号线的信号连通,来对所述目标器件进行操作,所述目标器件是所述多个器件中的一个。The control chip is configured to operate the target device by activating the signal communication of each chip signal line of the SPI and each device signal line of the target device, and the target device is one of the multiple devices .
  2. 根据权利要求1所述的控制芯片,还包括:The control chip according to claim 1, further comprising:
    多个选择接口,所述多个选择接口分别与所述多个器件的选择信号线一对一连接,所述选择信号线用于传输对所述多个器件的选择信号,以便所述控制芯片通过所述选择信号选择所述目标器件。A plurality of selection interfaces, the plurality of selection interfaces are respectively connected to the selection signal lines of the plurality of devices one-to-one, and the selection signal lines are used to transmit selection signals to the plurality of devices so that the control chip The target device is selected by the selection signal.
  3. 根据权利要求1所述的控制芯片,其中:The control chip according to claim 1, wherein:
    所述器件为具有SPI的器件;The device is a device with SPI;
    所述功能包括读功能、写功能或时钟功能中的至少一种。The function includes at least one of a read function, a write function, or a clock function.
  4. 根据权利要求1-3任一项所述的控制芯片,其中,The control chip according to any one of claims 1-3, wherein:
    所述控制芯片包括一个SPI;The control chip includes an SPI;
    所述多个器件通过该SPI接入所述控制芯片。The multiple devices access the control chip through the SPI.
  5. 根据权利要求1-3任一项所述的控制芯片,其中,所述激活所述SPI的各芯片信号线与目标器件的各器件信号线的信号连通包括:The control chip according to any one of claims 1-3, wherein the signal communication between each chip signal line that activates the SPI and each device signal line of the target device comprises:
    通过将所述目标器件的选择信号设置为有效,来激活所述SPI的各芯片信号线与所述目标器件的各器件信号线的信号连通;By setting the selection signal of the target device to be active, the signal connection of each chip signal line of the SPI and each device signal line of the target device is activated;
    通过将所述多个器件中除了所述目标器件以外的其他器件的选择信号设置为无效,来断开所述SPI的各芯片信号线与所述其他器件的各器件信号线的信号连通。The signal connection of each chip signal line of the SPI and each device signal line of the other device is disconnected by setting the selection signals of the other devices except the target device in the plurality of devices to be invalid.
  6. 一种基于控制芯片的控制方法,由处理器执行,所述控制芯片包括一个或多个串行外设接口SPI,其中,SPI具有多根能够实现不同功能的芯片信号线,每根所述芯 片信号线与多个器件的具有相应功能的器件信号线连接;A control method based on a control chip, which is executed by a processor. The control chip includes one or more serial peripheral interfaces SPI, where the SPI has multiple chip signal lines that can realize different functions, and each chip The signal line is connected to the signal line of a plurality of devices with corresponding functions;
    所述控制方法包括:所述处理器通过激活各芯片信号线与目标器件的各器件信号线之间的信号连通,来对所述目标器件进行操作,所述目标器件是所述多个器件中的一个。The control method includes: the processor operates the target device by activating signal communication between each chip signal line and each device signal line of the target device, and the target device is one of the plurality of devices. one of.
  7. 根据权利要求6所述的控制方法,其中,The control method according to claim 6, wherein:
    所述控制芯片包括多个选择接口,所述多个选择接口分别与所述多个器件的选择信号线一对一连接;The control chip includes a plurality of selection interfaces, and the plurality of selection interfaces are respectively connected to the selection signal lines of the plurality of devices one-to-one;
    所述控制方法还包括:The control method further includes:
    通过所述选择信号线向与之连接的器件的选择信号线发送对所述多个器件的选择信号,以通过所述选择信号选择所述目标器件。The selection signal for the plurality of devices is sent to the selection signal line of the device connected thereto through the selection signal line, so as to select the target device by the selection signal.
  8. 根据权利要求6所述的控制方法,其中,The control method according to claim 6, wherein:
    所述功能包括读功能、写功能或时钟功能中的至少一种。The function includes at least one of a read function, a write function, or a clock function.
  9. 根据权利要求6-8任一项所述的控制方法,其中,所述激活各芯片信号线与目标器件的各器件信号线之间的信号连通包括:8. The control method according to any one of claims 6-8, wherein said activating signal communication between each chip signal line and each device signal line of the target device comprises:
    通过将所述目标器件的选择信号设置为有效,来激活所述SPI的各芯片信号线与所述目标器件的各器件信号线的信号连通;By setting the selection signal of the target device to be active, the signal connection of each chip signal line of the SPI and each device signal line of the target device is activated;
    将所述多个器件中除了所述目标器件以外的其他器件的选择信号设置为无效,以断开所述SPI的各芯片信号线与所述其他器件的各器件信号线的信号连通。The selection signals of the other devices among the plurality of devices except the target device are set to be invalid, so as to disconnect the signal communication between the chip signal lines of the SPI and the signal lines of the other devices.
  10. 一种控制芯片,包括一个或多个串行外设接口SPI,其中,SPI具有多根能够实现不同功能的芯片信号线,每根所述芯片信号线与多个器件的具有相应功能的器件信号线连接;A control chip includes one or more serial peripheral interfaces SPI, where the SPI has multiple chip signal lines capable of realizing different functions, and each of the chip signal lines is connected to a device signal of a plurality of devices with corresponding functions Wire connection
    所述控制芯片还包括:The control chip also includes:
    存储器;和Memory; and
    耦接至所述存储器的处理器,所述处理器被配置为基于存储在所述存储器装置中的指令,执行如下步骤:A processor coupled to the memory, and the processor is configured to perform the following steps based on instructions stored in the memory device:
    通过激活各芯片信号线与目标器件的各器件信号线之间的信号连通,来对所述目 标器件进行操作,所述目标器件是所述多个器件中的一个。The target device is operated by activating the signal connection between each chip signal line and each device signal line of the target device, and the target device is one of the plurality of devices.
  11. 根据权利要求10所述的控制芯片,还包括多个选择接口,所述多个选择接口分别与所述多个器件的选择信号线一对一连接;The control chip according to claim 10, further comprising a plurality of selection interfaces, the plurality of selection interfaces are respectively connected to the selection signal lines of the plurality of devices one-to-one;
    所述处理器被配置为基于存储在所述存储器装置中的指令,执行如下步骤:The processor is configured to perform the following steps based on the instructions stored in the memory device:
    通过所述选择信号线向与之连接的器件的选择信号线发送对所述多个器件的选择信号,以通过所述选择信号选择所述目标器件。The selection signal for the plurality of devices is sent to the selection signal line of the device connected thereto through the selection signal line, so as to select the target device by the selection signal.
  12. 根据权利要求10所述的控制芯片,其中,The control chip according to claim 10, wherein:
    所述功能包括读功能、写功能或时钟功能中的至少一种。The function includes at least one of a read function, a write function, or a clock function.
  13. 根据权利要求10-12任一项所述的控制芯片,其中,The control chip according to any one of claims 10-12, wherein:
    所述控制芯片包括一个SPI;The control chip includes an SPI;
    所述多个器件通过该SPI接入所述控制芯片。The multiple devices access the control chip through the SPI.
  14. 根据权利要求10-12任一项所述的控制芯片,其中,所述激活所述SPI的各芯片信号线与目标器件的各器件信号线的信号连通包括:The control chip according to any one of claims 10-12, wherein the signal communication between each chip signal line that activates the SPI and each device signal line of the target device comprises:
    通过将所述目标器件的选择信号设置为有效,来激活所述SPI的各芯片信号线与所述目标器件的各器件信号线的信号连通;By setting the selection signal of the target device to be valid, the signal connection of each chip signal line of the SPI and each device signal line of the target device is activated;
    通过将所述多个器件中除了所述目标器件以外的其他器件的选择信号设置为无效,来断开所述SPI的各芯片信号线与所述其他器件的各器件信号线的信号连通。The signal connection of each chip signal line of the SPI and each device signal line of the other device is disconnected by setting the selection signals of the other devices except the target device in the plurality of devices to be invalid.
  15. 一种非易失性计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如权利要求6-9任一项所述的控制方法。A non-volatile computer-readable storage medium with a computer program stored thereon, which when executed by a processor realizes the control method according to any one of claims 6-9.
  16. 一种控制系统,包括:A control system including:
    权利要求1-5、10-14任一项所述的控制芯片;The control chip according to any one of claims 1-5 and 10-14;
    多个器件,具有多根能够实现不同功能的器件信号线,每根所述器件信号线与控制芯片的具有相应功能的芯片信号线连接。The multiple devices have multiple device signal lines capable of realizing different functions, and each of the device signal lines is connected to a chip signal line with corresponding functions of the control chip.
PCT/CN2020/075850 2019-04-30 2020-02-19 Control chip, control chip-based control method, and system WO2020220798A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910359405.7A CN110083572A (en) 2019-04-30 2019-04-30 Chip, the control method based on chip and system, computer readable storage medium
CN201910359405.7 2019-04-30

Publications (1)

Publication Number Publication Date
WO2020220798A1 true WO2020220798A1 (en) 2020-11-05

Family

ID=67417955

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/075850 WO2020220798A1 (en) 2019-04-30 2020-02-19 Control chip, control chip-based control method, and system

Country Status (2)

Country Link
CN (1) CN110083572A (en)
WO (1) WO2020220798A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110083572A (en) * 2019-04-30 2019-08-02 京东方科技集团股份有限公司 Chip, the control method based on chip and system, computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751364A (en) * 2010-01-25 2010-06-23 成都优博创技术有限公司 Firmware ISP writer and writing method for SPI bus interface
CN101820460A (en) * 2010-03-29 2010-09-01 上海华勤通讯技术有限公司 Module for realizing SPI interface
KR20140089799A (en) * 2013-01-07 2014-07-16 엘지전자 주식회사 Apparatus for Serial Peripheral Interface
CN106569973A (en) * 2016-10-25 2017-04-19 深圳市科陆精密仪器有限公司 Serial peripheral interface multiplexing method and communication system
US20180293192A1 (en) * 2017-04-11 2018-10-11 Lyontek Inc. Multi-Memory Collaboration Structure Based on SPI Interface
CN110083572A (en) * 2019-04-30 2019-08-02 京东方科技集团股份有限公司 Chip, the control method based on chip and system, computer readable storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101859288A (en) * 2010-03-18 2010-10-13 成都优博创技术有限公司 PCB jointed board of onboard ISP memory chip and burning method thereof
CN109684255A (en) * 2018-12-12 2019-04-26 杭州迪普科技股份有限公司 A kind of FPGA pin multiplexing circuit and control method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751364A (en) * 2010-01-25 2010-06-23 成都优博创技术有限公司 Firmware ISP writer and writing method for SPI bus interface
CN101820460A (en) * 2010-03-29 2010-09-01 上海华勤通讯技术有限公司 Module for realizing SPI interface
KR20140089799A (en) * 2013-01-07 2014-07-16 엘지전자 주식회사 Apparatus for Serial Peripheral Interface
CN106569973A (en) * 2016-10-25 2017-04-19 深圳市科陆精密仪器有限公司 Serial peripheral interface multiplexing method and communication system
US20180293192A1 (en) * 2017-04-11 2018-10-11 Lyontek Inc. Multi-Memory Collaboration Structure Based on SPI Interface
CN110083572A (en) * 2019-04-30 2019-08-02 京东方科技集团股份有限公司 Chip, the control method based on chip and system, computer readable storage medium

Also Published As

Publication number Publication date
CN110083572A (en) 2019-08-02

Similar Documents

Publication Publication Date Title
US9141571B2 (en) PCI express switch with logical device capability
KR101114011B1 (en) Virtual peripheral component interconnect multiple-function device
US20050228924A1 (en) Expander device capable of persistent reservations and persistent affiliations
EP2711845B1 (en) PCI express switch with logical device capability
US20040111485A1 (en) Connecting device of storage device and computer system including the same connecting device
US10423294B2 (en) Synchronizing a cursor from a managed system with a cursor from a remote system
TW594548B (en) Multimode non-standard universal serial bus computer input device
US11995019B2 (en) PCIe device with changeable function types and operating method thereof
US11983136B2 (en) PCIe device and operating method thereof
US20170177538A1 (en) Communication system with serial ports for automatically identifying device types and communication protocols and method thereof
WO2019000557A1 (en) Dual-screen asynchronous touch and asynchronous display method, apparatus and computer-readable storage medium
WO2020220798A1 (en) Control chip, control chip-based control method, and system
US7734868B2 (en) Universal RAID class driver
US20130138866A1 (en) Methods, systems, and computer readable media for providing basic input/output system (bios) data and non-bios data on the same non-volatile memory
EP3111334B1 (en) Computing system control
CN105488009A (en) FRU read/write method and read/write system
CN104536932B (en) The universal communication method of dedicated low-speed USB devices
US20080178103A1 (en) Copying data between computer systems
US20170131926A1 (en) System, electronic apparatus and method
TWI678624B (en) Modularized computer system and computing core board thereof
US11593052B1 (en) Keyboard/video/monitor switch for servers without integrated video controller
US20140298360A1 (en) System and Method for Matching Drivers to Devices
TW463093B (en) Method for arbitrarily adjusting PCI compatible device access sequence
EP3772236A1 (en) Digital led controller
JP6592139B1 (en) Data processing apparatus, user terminal, data processing system, data processing program, and user terminal program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20799537

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20799537

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20799537

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 03.05.2022)

122 Ep: pct application non-entry in european phase

Ref document number: 20799537

Country of ref document: EP

Kind code of ref document: A1