CN114860648A - Chip and control method of external equipment - Google Patents

Chip and control method of external equipment Download PDF

Info

Publication number
CN114860648A
CN114860648A CN202210381097.XA CN202210381097A CN114860648A CN 114860648 A CN114860648 A CN 114860648A CN 202210381097 A CN202210381097 A CN 202210381097A CN 114860648 A CN114860648 A CN 114860648A
Authority
CN
China
Prior art keywords
chip
sdio
soc
wcn
service data
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202210381097.XA
Other languages
Chinese (zh)
Inventor
柳春阳
候建军
王海强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Ziguang Zhanrui Communication Technology Co Ltd
Original Assignee
Beijing Ziguang Zhanrui Communication Technology Co Ltd
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 Beijing Ziguang Zhanrui Communication Technology Co Ltd filed Critical Beijing Ziguang Zhanrui Communication Technology Co Ltd
Priority to CN202210381097.XA priority Critical patent/CN114860648A/en
Publication of CN114860648A publication Critical patent/CN114860648A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • 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/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/24Handling requests for interconnection or transfer for access to input/output bus using interrupt
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The present application relates to the field of chip expansion technologies, and in particular, to a method for controlling a chip and an external device. A chip, comprising: the system level chip SOC is connected with the WCN chip through an SDIO interface; the WCN chip is integrated with a USB expansion port USB HUB, and the USB HUB is used for connecting external equipment; the WCN chip is used for acquiring the connection state information of the external equipment and sending the connection state information to the SOC through the SDIO interface; and the SOC is used for driving the external equipment according to the connection state information and realizing business data interaction with the WCN chip through the SDIO interface so as to control the external equipment. The SOC realizes the identification connection and control of the external equipment in the USB HUB, and meanwhile, the WCN chip is utilized to realize the WiFi/BT function.

Description

Chip and control method of external equipment
[ technical field ] A method for producing a semiconductor device
The present application relates to the field of chip expansion technologies, and in particular, to a method for controlling a chip and an external device.
[ background of the invention ]
In the related art, a System On Chip (SOC) does not support a USB (Universal serial bus) Hub function, so that an external device cannot be identified and controlled. The conventional method is to connect a USB HUB chip externally for identifying the external device connected to the USB HUB. However, an external USB HUB chip needs to occupy a precious hardware interface of the SOC, and meanwhile, the scheme cost and the hardware design complexity are increased.
[ summary of the invention ]
In view of this, the embodiment of the present invention provides a chip and a method for controlling an external device. The SOC is connected with a Wireless Communication Network (WCN) chip, so that the identification connection and control of external equipment are realized, and meanwhile, the WCN chip can be used for realizing a WiFi/BT function.
In a first aspect, an embodiment of the present invention provides a chip, including: the system level chip SOC is connected with the WCN chip through an SDIO interface;
the WCN chip is integrated with a USB expansion port USB HUB, and the USB HUB is used for connecting external equipment;
the WCN chip is used for acquiring the connection state information of the external equipment and sending the connection state information to the SOC through the SDIO interface;
and the SOC is used for driving the external equipment according to the connection state information and realizing business data interaction with the WCN chip through the SDIO interface so as to control the external equipment.
Optionally, the SOC and the WCN chip are connected through an SDIO interface, including:
the SOC further includes: an application processor; the application processor is provided with a USB device driver, a USB core processing module, a USB host controller driver HCD and an SDIO controller;
the WCN chip also comprises: an application processor and a communication processor; the application processor is provided with a USB extensible host interface XHCI, and the XHCI is used for connecting a USB HUB; the communication processor is provided with an SDIO slave drive;
and the SDIO controller of the SOC is connected with the SDIO slave drive of the WCN chip through an SDIO interface.
Optionally, the SDIO controller of the SOC is connected to the SDIO slave of the WCN chip through an SDIO interface, including:
the SDIO interface provided by the SDIO controller of the SOC comprises: an SDIO status pin, an SDIO receiving pin and an SDIO sending pin;
the SDIO interface provided by the SDIO slave drive of the WCN chip comprises: an SDIO status pin, an SDIO receiving pin and an SDIO sending pin;
the SDIO status pin is used for interacting the connection status information, the SDIO receiving pin is used for receiving the service data, and the SDIO sending pin is used for sending the service data.
Optionally, the method includes:
the XHCI and the SDIO slave drive of the WCN chip are connected through interrupt communication;
the XHCI of the WCN chip is communicatively connected with the HCD of the SOC through an interrupt.
In a second aspect, an embodiment of the present invention provides a method for controlling an external device, including:
the SOC responds to a first interrupt triggered by a WCN chip, receives connection state information of external equipment from the WCN chip through an SDIO interface, and the external equipment is connected to a USB HUB of the WCN chip;
the SOC runs a driving program corresponding to the external equipment according to the connection state information so as to establish access connection with the external equipment through the driving program;
and the SOC performs service data interaction with the external equipment on the WCN chip through the SDIO interface.
Optionally, the SOC receives connection status information of an external device from the WCN chip through an SDIO interface, including:
the SOC receives a first communication protocol packet sent by the WCN chip through an SDIO status pin contained in the SDIO interface, wherein the first communication protocol packet contains connection status information of the external equipment;
and the SOC analyzes the first communication protocol packet to obtain the connection state information of the external equipment.
Optionally, the SOC performs service data interaction with the external device on the WCN chip through the SDIO interface, including:
the SOC sends first service data to the external equipment through the SDIO interface;
and/or the SOC receives second service data sent by the external equipment through the SDIO interface.
Optionally, the SOC sends the first service data to the external device through the SDIO interface, including:
the SOC constructs a first service data packet according to first service data to be sent;
the SOC sends the first service data packet to the WCN chip through an SDIO sending pin contained in the SDIO interface, and the WCN chip is used for analyzing the first service data packet and sending the first service data packet to the external equipment.
Optionally, the SOC receives second service data sent by the external device through the SDIO interface, and the method includes:
the SOC responds to a second interrupt triggered by the WCN chip;
the SOC establishes a second service data packet when confirming that second service data need to be received according to the second interrupt, wherein the second data packet comprises the information of the SOC on the requirement of the second service data;
the SOC sends the second service data packet to the WCN chip through an SDIO sending pin contained in the SDIO interface, and the second service data packet is used for being analyzed by the WCN chip and a third service data packet is constructed according to second service data to be sent by the external equipment;
the SOC receives the third service data packet sent by the WCN chip through an SDIO receiving pin contained in an SDIO interface;
and the SOC analyzes the third service data packet to obtain the second service data.
Optionally, the method further includes:
and the SOC receives WiFi/BT data generated by the WCN chip through the SDIO interface, and the WiFi/BT data is generated when the WCN chip executes a WiFi/BT function.
Through the technical scheme, the USB IP of the WCN chip is used for realizing the identification connection of the external equipment in the USB HUB.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a diagram of a hardware architecture of a chip according to an embodiment of the present invention;
FIG. 2 is a diagram of a software architecture of a chip according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for controlling an external device of a chip according to an embodiment of the present invention;
fig. 4 is a flowchart of information interaction between an SOC and an external device according to an embodiment of the present invention.
[ detailed description ] embodiments
For better understanding of the technical solutions of the present invention, the following detailed descriptions of the embodiments of the present invention are provided with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the embodiment of the invention, a Wireless Communication Network (WCN) chip is connected through a secure digital input/output (SDIO) interface of the SOC chip, the WCN chip is used for realizing the identification and control of the USB HUB external equipment, and the WCN chip is used for replacing the SOC to realize the WiFi/BT function.
The embodiment of the invention firstly provides a hardware architecture of a chip, and as shown in fig. 1, the chip comprises an SOC chip and a WCN chip.
The SOC internally comprises an application processor, a USB control module is not integrated, and external equipment on the USB HUB needs to be controlled through an SDIO pin external WCN chip.
And a USB HUB for connecting an external USB device is integrated on the WCN chip. The WCN chip internally comprises a communication processor and an application processor, wherein the communication processor of the WCN is used for replacing the SOC to execute WiFi/BT functions, and the application processor of the WCN chip is used for identifying external equipment connected to the USB HUB.
And the SOC in the chip is physically connected with the WCN chip through an SDIO interface. Specifically, the SDIO interface is used as a physical channel to realize the transmission of state information and service data between the SOC and the WCN chip. Meanwhile, the WCN chip is in communication connection with the SOC through interruption, and the WCN chip can trigger interruption when the connection state of external equipment is changed or service data interaction is needed, so that one-way notification of the SOC is realized.
Inside the WCN chip, the application processor and the communication processor are connected in a communication mode through interrupts. When the communication processor for receiving or sending information receives the message sent by the SOC chip, the application processor needs to be notified of the processing of the received message by triggering an interrupt. When the application processor finishes processing the message and needs to send the message to the SOC, an interrupt is also triggered to notify the communication processor of the message. After the communication processor or the application processor is triggered and interrupted, data exchange between the communication processor and the application processor can be realized through a shared memory in the WCN chip.
In some embodiments, the SOC may be a SharkL6 chip and the WCN chip may be a Marlin3E chip.
Referring to fig. 2, a software architecture of a chip provided in an embodiment of the present invention is shown in fig. 2, where an SOC in the chip is deployed with: the USB device Driver, the USB core processing module, the USB Host Controller Driver (HCD) and the SDIO Controller; the WCN chip in the chip is disposed with: SDIO slave drive and USB eXtensible Host Interface (XHCI).
And the XHCI and the SDIO slave drives of the WCN chip are respectively arranged on the application processor and the communication processor of the WCN chip, and the communication connection is realized through interruption. The XHCI of the WCN chip and the HCD of the SOC realize communication connection through interruption, and when the connection state of the external equipment of the WCN chip changes or service data interaction is needed, interruption is triggered to realize one-way notification of the SOC.
The SOC is also connected with an SDIO slave drive of the WCN chip through an SDIO controller, and information interaction between the SOC and the WCN chip is achieved.
Specifically, the USB device driver is configured to provide drivers for various external devices, realize driving of the external devices under the call of the USB core processing module, and establish access connection between the SOC and the external devices.
And the USB core processing module is used for providing a software interface between the USB core processing module and the USB device driving layer and calling a corresponding driving program in the USB device driving layer to identify the USB external device according to the connection state information of the external device. And simultaneously, the system is also used for processing the interactive service data between the SOC and the external equipment after the SOC establishes the connection with the external equipment.
And the HCD is used for providing a software interface with the USB core processing module and receiving the connection state information and the service information of the external equipment, which are sent by the WCN chip, through the SDIO controller layer. And meanwhile, the SDIO controller is used for controlling the SDIO controller to realize service data interaction with the external equipment after the SOC establishes connection with the external equipment.
And the SDIO controller is connected with an SDIO slave drive of the WCN chip and is used for realizing information interaction between the SOC chip and the WCN chip.
And the SDIO slave drive is connected with an SDIO controller layer of the SOC chip and used for realizing information interaction between the WCN chip and the SOC chip.
Specifically, an SDIO controller in the SOC is connected with an SDIO slave drive in the WCN chip through different SDIO pins in an SDIO interface, and interaction of connection state information and service data is achieved through channels established by the different pins.
The SDIO interface provided by the SDIO controller comprises: the SDIO interface that SDIO provided from the drive includes SDIO status pin, SDIO receiving pin and SDIO sending pin: an SDIO status pin, an SDIO receive pin, and an SDIO transmit pin.
The SDIO STATUS pin is generally an SDIO STATUS pin and is used for interacting the connection STATUS information; the SDIO receiving pin is generally an SDIO RX pin and is used for receiving the service data; the SDIO transmit pin is generally an SDIO TX pin and is used to transmit the traffic data.
The optional SDIO pin provided by the SDIO controller further includes an inquiry pin, generally an SDIO CMD pin, for the SOC to actively inquire the connection status information of the external device.
And the XHCI is used for acquiring the external equipment state of the USB external equipment connected through the expansion interface USB HUB and sending the connection state information of the external equipment to the SOC chip from the driver through the SDIO. And simultaneously, the SDIO controller is used for controlling the SDIO slave drive to realize the service data interaction between the SOC and the external equipment after the SOC establishes the connection with the external equipment.
In combination with the chip hardware architecture shown in fig. 1 and the chip software architecture shown in fig. 2, the embodiment of the present invention provides a method for controlling an external device of a chip. Based on the method, the SOC can control the USB external equipment. As shown in fig. 3, the method is applied to the SOC of the chip, and the processing steps of the method include:
101, the HCD obtains the connection status information of the WCN chip peripheral from the SDIO controller in response to a first interrupt triggered by XHCI in the WCN chip.
Specifically, when the XHCI in the WCN chip detects that the state of the external device connected to the USB HUB changes, a first interrupt is issued to notify the HCD in the SOC, and a first communication protocol packet is constructed. The XHCI notifies the SDIO slave drive to send the first communication protocol packet to the SDIO controller of the SOC through the SDIO STATUS pin by triggering an interrupt.
And after receiving the notification of the first interrupt, the HCD acquires a first communication protocol packet sent by the XHCI from the drive through the SDIO controller. Wherein the SDIO controller needs to receive through the SDIO STATUS channel when receiving the first communication protocol packet sent by the SDIO slave drive.
The first communication protocol packet contains the connection state information of the WCN chip external equipment, and the HCD analyzes the first communication protocol packet to obtain the connection state information of the external equipment connected on the USB HUB.
The connection status information of the external device may be that the USB HUB connects to a new device, or an existing device disconnects, or a rate of connecting to the device changes.
Referring to fig. 4, a flowchart of information interaction between an SOC and an external device according to an embodiment of the present invention is provided. Step 201 in the flowchart shown in fig. 4 is a process for acquiring connection status information of an external device according to an embodiment of the present invention.
102, the HCD calls a corresponding driver in the USB device driver through the USB core processing module according to the connection state information to establish access connection with the external device.
Specifically, when the HCD confirms that the new device is connected to the USB HUB according to the connection state information, the HCD determines the type of the connected new device according to the connection state information of the external device, and calls a driver program matched with the new device in the USB driver device through the USB core processing module to implement connection and control with the new device.
The types of the new equipment include but are not limited to USB external equipment such as a mouse, a keyboard, a USB flash disk and the like, and a driver program corresponding to the type of the external equipment is arranged in a USB equipment driver.
103, the HCD carries out data interaction with the WCN chip external equipment through the SDIO controller.
After the SOC establishes connection with the external equipment, service information interaction with the external equipment can be realized through the HCD. Specifically, the HCD in the SOC may receive first service data sent by the WCN external device through the SDIO controller, and/or send second service data to the WCN external device through the SDIO controller.
In some embodiments, the HCD may send the first traffic data to the WCN add-on device over the SDIO. Specifically, the HCD first constructs a first service data packet containing first service data, and sends the first service data packet to the SDIO slave drive of the WCN chip through the SDIO controller. And after the SDIO slave driver deployed on the WCN chip communication processor receives the first service data packet, triggering an interrupt to inform XHCI deployed on the WCN application processor to analyze the first service data packet. And the XHCI sends the first service data obtained after analysis to the external equipment to realize service data interaction.
When the first service data packet is sent to the SDIO slave drive through the SDIO pin, the SDIO controller needs to send the first service data packet through an SDIO TX channel.
Referring to fig. 4, step 202 in the flowchart shown in fig. 4 is a flow for sending the first service data according to the embodiment of the present invention.
In some embodiments, the HCD may receive second traffic data sent by the WCN external device through the SDIO. Specifically, when the external device needs to send the second service data, the HCD is notified by triggering a second interrupt through the XHCI. And the HCD responds to the second terminal triggered by the XHCI and constructs a second service data packet, wherein the second service data packet comprises the information of the HCD on the requirement of the second service data. The HCD sends a second traffic data packet to the SDIO slave drive through the SDIO controller. And the SDIO slave drive triggers interruption after receiving the second service data packet and informs the XHCI to analyze the second service data packet. And after the XHCI analyzes the second service data packet, acquiring the acquisition requirement of the HCD on the second service data, and constructing a third service data packet, wherein the third service data packet comprises the second service data. And after the XHCI completes the construction of the third service data packet, triggering an interrupt to inform the SDIO slave drive to send the third service data packet, and sending the SDIO slave drive to the SDIO controller. And the HCD analyzes the third service data packet after receiving the third service data packet through the SDIO controller, and sends the second service data obtained by analysis to the USB core processing module for processing, so that service data interaction is realized.
The SDIO controller needs to transmit through an SDIO TX channel when transmitting the second service data packet to the SDIO slave drive through the SDIO pin, and needs to receive through an SDIO RX channel when receiving the third service data packet transmitted by the SDIO slave drive.
Referring to fig. 4, step 203 in the flowchart shown in fig. 4 is a flow for receiving the second service data according to the embodiment of the present invention.
According to the embodiment of the invention, the external WCN chip is connected to the SOC, so that the external equipment connected to the USB HUB can be identified and controlled under the condition that the SOC hardware interface is not occupied.
In some embodiments, the chip can realize the WiFi/BT function through the WCN chip or directly realize the WiFi/BT function through the SOC chip. When the chip realizes the WiFi/BT function through the communication processor on the WCN chip, the SOC receives WiFi/BT data generated when the WCN chip executes the WiFi/BT function through the SDIO pin.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present specification, "a plurality" means at least two, e.g., two, three, etc., unless explicitly defined otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present description in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present description.
The word "if," as used herein, may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection," depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
It should be noted that the terminal referred to in the embodiments of the present disclosure may include, but is not limited to, a Personal Computer (Personal Computer; hereinafter, referred to as PC), a Personal Digital Assistant (Personal Digital Assistant; hereinafter, referred to as PDA), a wireless handheld device, a Tablet Computer (Tablet Computer), a mobile phone, an MP3 player, an MP4 player, and the like.
In the embodiments provided in the present specification, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions in actual implementation, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
In addition, functional units in the embodiments of the present description may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a Processor (Processor) to execute some steps of the methods described in the embodiments of the present disclosure.
The above description is only a preferred embodiment of the present disclosure, and should not be taken as limiting the present disclosure, and any modifications, equivalents, improvements, etc. made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (10)

1. A chip, comprising: the system level chip SOC is connected with the WCN chip through an SDIO interface;
the WCN chip is integrated with a USB expansion port USB HUB, and the USB HUB is used for connecting external equipment;
the WCN chip is used for acquiring the connection state information of the external equipment and sending the connection state information to the SOC through the SDIO interface;
and the SOC is used for driving the external equipment according to the connection state information and realizing business data interaction with the WCN chip through the SDIO interface so as to control the external equipment.
2. The chip of claim 1, wherein the SOC and the WCN chip are connected via an SDIO interface, comprising:
the SOC further includes: an application processor; the application processor is provided with a USB device driver, a USB core processing module, a USB host controller driver HCD and an SDIO controller;
the WCN chip also comprises: an application processor and a communication processor; the application processor is provided with a USB extensible host interface XHCI, and the XHCI is used for connecting a USB HUB; the communication processor is provided with an SDIO slave drive;
and the SDIO controller of the SOC is connected with the SDIO slave drive of the WCN chip through an SDIO interface.
3. The chip of claim 2, wherein the SDIO controller of the SOC is connected with the SDIO slave drive of the WCN chip through an SDIO interface, comprising:
the SDIO interface provided by the SDIO controller of the SOC comprises: an SDIO status pin, an SDIO receiving pin and an SDIO sending pin;
the SDIO interface provided by the SDIO slave drive of the WCN chip comprises: an SDIO status pin, an SDIO receiving pin and an SDIO sending pin;
the SDIO status pin is used for interacting the connection status information, the SDIO receiving pin is used for receiving the service data, and the SDIO sending pin is used for sending the service data.
4. The chip of claim 2, comprising:
the XHCI and the SDIO slave drive of the WCN chip are connected through interrupt communication;
the XHCI of the WCN chip is communicatively connected with the HCD of the SOC through an interrupt.
5. A control method of an external device is characterized by comprising the following steps:
the SOC responds to a first interrupt triggered by a WCN chip, receives connection state information of external equipment from the WCN chip through an SDIO interface, and the external equipment is connected to a USB HUB of the WCN chip;
the SOC runs a driving program corresponding to the external equipment according to the connection state information so as to establish access connection with the external equipment through the driving program;
and the SOC performs service data interaction with the external equipment on the WCN chip through the SDIO interface.
6. The method of claim 5, wherein the SOC receives connection status information of an external device from the WCN chip through an SDIO interface, comprising:
the SOC receives a first communication protocol packet sent by the WCN chip through an SDIO status pin contained in the SDIO interface, wherein the first communication protocol packet contains connection status information of the external equipment;
and the SOC analyzes the first communication protocol packet to obtain the connection state information of the external equipment.
7. The method of claim 5, wherein the SOC performs traffic data interaction with the external device on the WCN chip through the SDIO interface, comprising:
the SOC sends first service data to the external equipment through the SDIO interface;
and/or the SOC receives second service data sent by the external equipment through the SDIO interface.
8. The method of claim 7, wherein the SOC sends first traffic data to the external device through the SDIO interface, comprising:
the SOC constructs a first service data packet according to first service data to be sent;
and the SOC sends the first service data packet to the WCN chip through an SDIO sending pin contained in the SDIO interface, and the WCN chip is used for analyzing the first service data packet and sending the first service data packet to the external equipment.
9. The method of claim 7, wherein the SOC receives second traffic data sent by the external device through the SDIO interface, and wherein the method comprises:
the SOC responds to a second interrupt triggered by the WCN chip;
the SOC establishes a second service data packet when confirming that second service data need to be received according to the second interrupt, wherein the second data packet comprises the information of the SOC on the requirement of the second service data;
the SOC sends the second service data packet to the WCN chip through an SDIO sending pin contained in the SDIO interface, and the second service data packet is used for being analyzed by the WCN chip and a third service data packet is constructed according to second service data to be sent by the external equipment;
the SOC receives the third service data packet sent by the WCN chip through an SDIO receiving pin contained in an SDIO interface;
and the SOC analyzes the third service data packet to obtain the second service data.
10. The method of claim 5, further comprising:
and the SOC receives WiFi/BT data generated by the WCN chip through the SDIO interface, and the WiFi/BT data is generated when the WCN chip executes a WiFi/BT function.
CN202210381097.XA 2022-04-12 2022-04-12 Chip and control method of external equipment Pending CN114860648A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210381097.XA CN114860648A (en) 2022-04-12 2022-04-12 Chip and control method of external equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210381097.XA CN114860648A (en) 2022-04-12 2022-04-12 Chip and control method of external equipment

Publications (1)

Publication Number Publication Date
CN114860648A true CN114860648A (en) 2022-08-05

Family

ID=82630994

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210381097.XA Pending CN114860648A (en) 2022-04-12 2022-04-12 Chip and control method of external equipment

Country Status (1)

Country Link
CN (1) CN114860648A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116560760A (en) * 2023-04-28 2023-08-08 东信和平科技股份有限公司 Cross-system peripheral operation method, device, equipment and medium based on external HUB

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116560760A (en) * 2023-04-28 2023-08-08 东信和平科技股份有限公司 Cross-system peripheral operation method, device, equipment and medium based on external HUB
CN116560760B (en) * 2023-04-28 2024-06-28 东信和平科技股份有限公司 Cross-system peripheral operation method, device, equipment and medium based on external HUB

Similar Documents

Publication Publication Date Title
US8346985B2 (en) Receiver configured to pair to multiple wireless devices
US6725302B1 (en) Universal serial bus (USB) with wireless communication hubs
EP1532776B1 (en) Bluetooth serial adapters
CN113505007A (en) Protocol stack data transmission method based on Linux system, computer equipment and storage medium
US20020147003A1 (en) Communication device and a method for controlling the communication device
US7945710B2 (en) Apparatus enabling the human interface device to provide a smart card interface and operating method therein
CN104541487B (en) Method and arrangement for multiple stack bluetooth controller
CN109344098A (en) Data operation method and device between master device and slave device
CN114860648A (en) Chip and control method of external equipment
CN115357535A (en) Virtual serial port design method and device
CN101650703B (en) Data transmission method, system and device
US7464133B1 (en) Server/client system
US10176133B2 (en) Smart device with no AP
JP5220871B2 (en) Techniques for distributed management of wireless devices with shared resources between wireless components
US20070129013A1 (en) Apparatus and methods for information handling system with streamlined communication setup
JP6140939B2 (en) Network device, communication method, communication program
CN102004716A (en) System and method for realizing device sharing
EP1577785B1 (en) Modem sharing device in a PDA phone
CN109189705A (en) A kind of usb expansion method, apparatus, equipment, storage medium and system
US11409683B2 (en) Systems and methods for single-wire multi-protocol discovery and assignment to protocol-aware purpose-built engines
EP2530995B1 (en) Method and apparatus for implementing network device function of wireless communication terminal
CN108322616B (en) Data processing method and voice data card
CN114051048B (en) Method and device for time-sharing multiplexing of AT instructions and readable storage medium
CN210954980U (en) Keyboard device with KVM
CN210954981U (en) Keyboard device with KVM

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination