Circuit for connecting multiple slave devices based on extended eSPI

By introducing bridge eSPI slave devices into the eSPI system to isolate and copy data, the problem of reduced signal integrity and bandwidth of eSPI slave devices in harsh environments is solved, enabling the access of more slave devices and improving signal integrity.

CN117971732BActive Publication Date: 2024-10-22BEIJING ZHONGKE TENGYUE TECH DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410223840.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-28
Publication Date
2024-10-22
Estimated Expiration
2044-02-28

AI Technical Summary

Technical Problem

eSPI slave devices are prone to bit errors and reduced bandwidth in harsh electromagnetic environments. When the number of slave devices exceeds the number supported by the master device, more slave devices cannot be connected, and signal integrity and driving capabilities are affected.

Method used

Design a circuit based on extended eSPI connection, which isolates the main eSPI bus from the external extended eSPI bus through a bridge eSPI slave device. The bridge eSPI slave device copies and merges data, reconstructs the upstream data, ensures signal integrity and EMC performance, and supports multiple An external expansion eSPI bus to connect more slave devices.

Benefits of technology

It effectively improves the signal integrity and EMC performance of the eSPI bus, allows more slave devices to be connected, improves the bandwidth and drive capabilities of the system, and simplifies the function expansion of slave devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117971732B_ABST
    Figure CN117971732B_ABST
Patent Text Reader

Abstract

The present application relates to a circuit for connecting multiple slave devices based on extended eSPI, the circuit comprising a bridge eSPI slave device, an eSPI master device, a main eSPI bus, at least one external extended eSPI bus and at least one external eSPI slave device; the bridge eSPI slave device is connected to the eSPI master device through the main eSPI bus, the bridge eSPI slave device is connected to the external eSPI slave device through the external extended eSPI bus, and one external extended eSPI bus can connect one or more external eSPI slave devices. The present application isolates the main eSPI bus from the external extended eSPI bus, ensures the signal integrity and EMC performance of the main eSPI bus, and can effectively improve the signal integrity and EMC performance of each extended eSPI bus when multiple external extended eSPI buses are set, thereby connecting more eSPI slave devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of circuit control technology, and in particular to a circuit for connecting multiple slave devices based on extended eSPI. Background Art

[0002] eSPI (Enhanced Serial Peripheral Interface) is used to replace the original LPC bus under the X86 architecture. In addition to being fully compatible with the role and function of the LPC bus, the eSPI bus also converts the OOB SMBUS and Side-Band GPIO to In Band Message that can be transmitted on eSPI. Among them, eSPI allows a master device to connect to multiple slave devices, and each slave device is selected by a chip select signal. Not only that, eSPI also supports multiple virtual channels, namely Channel0 (peripheral channel), Channel1 (virtual interface), Channel2 (tunnel SMBUS), Channel3 (Flash access), and Channel Independent (configuration).

[0003] It should be noted that the connection method natively supported by the eSPI protocol requires each eSPI slave device to support the complete eSPI protocol. Therefore, if the eSPI slave device only needs to support some functions, it is not economical to use the complete eSPI protocol; if the eSPI bus is in a harsh electromagnetic environment such as a backplane bus, it is easy to have bit errors, which will cause the eSPI to automatically enter the low-speed (lowest clock rate and minimum number of IO) mode and reduce the bandwidth; if the number of eSPI slave devices exceeds the number supported by the eSPI master device (the number of chip select CS), more eSPI slave devices cannot be connected. Even if an eSPI bus is shared, it is affected by the driving capability and signal integrity, and too many eSPI slave devices cannot be connected. Summary of the invention

[0004] In view of this, the present application proposes a circuit for connecting multiple slave devices based on extended eSPI to solve the above problems.

[0005] According to one aspect of the present application, a circuit for connecting multiple slave devices based on extended eSPI is provided, comprising:

[0006] Bridge eSPI slave device, eSPI master device, main eSPI bus, at least one external extended eSPI bus and at least one external eSPI slave device;

[0007] The bridge eSPI slave device is connected to the eSPI master device via the master eSPI bus, the bridge eSPI slave device is connected to the external eSPI slave device via the external extended eSPI bus, and one external extended eSPI bus can connect to one or more external eSPI slave devices.

[0008] In one possible implementation, the bridge eSPI slave device includes an internal extended eSPI bus and an internal eSPI slave device;

[0009] The downlink data received by the main eSPI bus is copied to the corresponding external extended eSPI bus and the internal extended eSPI bus respectively;

[0010] The uplink data received by the external extended eSPI bus is reconstructed accordingly by the bridge eSPI slave device, and then merged with the uplink data of the internal eSPI slave device received by the internal extended eSPI bus into the main eSPI bus.

[0011] In a possible implementation, the bridge eSPI slave device is a standard eSPI slave device that supports access to ChannelIndpendent and Channel 1.

[0012] In a possible implementation, both the external eSPI slave device and the internal eSPI slave device are partially functional eSPI slave devices that support access to Channel 0.

[0013] In a possible implementation, the external eSPI slave device is further provided with an interrupt line;

[0014] The interrupt lines are all connected to the bridge eSPI slave device, and the interrupt signal is reported to the eSPI master device through the bridge eSPI slave device.

[0015] In a possible implementation manner, when the bridge eSPI slave device reports an interrupt signal to the eSPI master device, it is implemented based on Channel 1.

[0016] Beneficial effects of this application:

[0017] The bridge eSPI slave device is connected to the eSPI master device through the main eSPI bus, and the bridge eSPI slave device can be connected to one or more external eSPI slave devices through one or more external extension eSPI buses. Thus, the main eSPI bus and the external extension eSPI bus are isolated to ensure the signal integrity and EMC performance of the main eSPI bus, and when multiple external extension eSPI buses are set, the signal integrity and EMC performance of each extension eSPI bus can be effectively improved, thereby connecting more eSPI slave devices. In addition, when multiple eSPI slave devices are connected to the bridge eSPI slave device, it can be selected according to the specific application whether to hang multiple eSPI slave devices on the same external extension eSPI bus or on different external extension eSPI buses, thereby simplifying the function of extending the eSPI slave device.

[0018] Other features and aspects of the present application will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the present application and, together with the description, serve to explain the principles of the present application.

[0020] Figure 1 A schematic diagram of a circuit for connecting multiple slave devices based on extended eSPI according to an embodiment of the present application is shown;

[0021] Figure 2 Another circuit schematic diagram of connecting multiple slave devices based on extended eSPI according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0022] Various exemplary embodiments, features and aspects of the present application will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.

[0023] Among them, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application or simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.

[0024] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0025] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.

[0026] In addition, in order to better illustrate the present application, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present application can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present application.

[0027] like Figure 1 As shown, a circuit for connecting multiple slave devices based on extended eSPI is provided, and the circuit includes:

[0028] Bridge eSPI slave device, eSPI master device, main eSPI bus, at least one external extended eSPI bus and at least one external eSPI slave device;

[0029] The bridge eSPI slave device is connected to the eSPI master device via the master eSPI bus, the bridge eSPI slave device is connected to the external eSPI slave device via the external extended eSPI bus, and one external extended eSPI bus can connect to one or more external eSPI slave devices.

[0030] In this embodiment, the bridge eSPI slave device is connected to the eSPI master device through the main eSPI bus, and the bridge eSPI slave device can be connected to one or more external eSPI slave devices through one or more external extension eSPI buses. Thus, the main eSPI bus and the external extension eSPI bus are isolated to ensure the signal integrity and EMC performance of the main eSPI bus, and when multiple external extension eSPI buses are set, the signal integrity and EMC performance of each extension eSPI bus can be effectively improved, thereby connecting more eSPI slave devices. Not only that, when multiple eSPI slave devices are connected to the bridge eSPI slave device, it can be selected according to the specific application whether to hang multiple eSPI slave devices on the same external extension eSPI bus or on different external extension eSPI buses, so as to simplify the function of extending the eSPI slave device.

[0031] In one possible implementation, the bridge eSPI slave device includes an internal extended eSPI bus and an internal eSPI slave device;

[0032] The downlink data received by the main eSPI bus is copied to the corresponding external extended eSPI bus and the internal extended eSPI bus respectively;

[0033] The uplink data received by the external extended eSPI bus is reconstructed accordingly by the bridge eSPI slave device, and then merged with the uplink data of the internal eSPI slave device received by the internal extended eSPI bus into the main eSPI bus.

[0034] Here, it should be noted that the downlink is data initiated by the eSPI master device, and the uplink is data initiated by the eSPI slave device. Therefore, the downlink data received by the main eSPI bus is data initiated by the eSPI master device. After passing through the main eSPI bus, the downlink data is copied to the external device eSPI bus and the internal extended eSPI bus via the full-function bridge eSPI slave device (standard eSPI slave device). Among them, when the number of external eSPI buses is more than one, each external eSPI bus receives downlink data.

[0035] Further, the uplink data of the external extended eSPI bus is the data initiated by the corresponding external eSPI slave device. For example, when multiple external extended eSPI buses are connected to the bridge eSPI slave device, and each external extended eSPI bus is connected to a corresponding partially functional eSPI slave device (non-standard eSPI slave device), the uplink data on the external extended eSPI bus is the data initiated by the corresponding partially functional eSPI slave device. After each external extended eSPI bus receives the uplink data, the corresponding uplink data and the uplink data on other extended buses are merged into the main eSPI bus. If there is an error in the uplink data on the external extended eSPI bus, the uplink data of the external eSPI bus is reconstructed via the bridge eSPI slave device, and then merged with the uplink data on other extended buses into the main eSPI bus, thereby ensuring the isolation of errors on the extended bus and protecting the main eSPI bus.

[0036] In a possible implementation, the bridge eSPI slave device is a standard eSPI slave device that supports access to ChannelIndpendent and Channel 1.

[0037] Here, it should be noted that the bridge eSPI slave device is a full-featured bridge eSPI slave device, which is a standard eSPI slave device, that is, it uses the complete eSPI protocol, and the bridge eSPI slave device must support Channel Independent (configuration) and Channel 1 (virtual interface). The full-featured bridge eSPI slave device can provide one or more external extended eSPI buses and partial functional external eSPI slave device connections. The use of multiple extended eSPI buses can improve the signal integrity and EMC performance of the bus, thereby connecting more eSPI slave devices, effectively solving the problem that when the number of eSPI slave devices exceeds the number supported by the eSPI master device, more eSPI slave devices cannot be connected.

[0038] In a possible implementation, both the external eSPI slave device and the internal eSPI slave device are partially functional eSPI slave devices that support access to Channel 0.

[0039] That is, all eSPI slave devices in this application are partial-function eSPI slave devices that only support access to Channel 0 (peripheral), and all partial-function eSPI slave devices share the Channel 0 (peripheral) space without overlapping.

[0040] In a possible implementation, the external eSPI slave device is further provided with an interrupt line;

[0041] The interrupt lines are all connected to the bridge eSPI slave device, and the interrupt signal is reported to the eSPI master device through the bridge eSPI slave device.

[0042] In a possible implementation manner, when the bridge eSPI slave device reports an interrupt signal to the eSPI master device, it is implemented based on Channel 1.

[0043] That is, if there are multiple external eSPI slave devices, the interrupt line of each external eSPI slave device is connected to the bridge eSPI slave device, and the bridge eSPI slave device reports the interrupt signal to the eSPI master device through Channel 1 (virtual interface).

[0044] A specific embodiment will be provided below for further explanation.

[0045] like Figure 2 As shown, a circuit for connecting multiple slave devices based on extended eSPI includes an eSPI master device, a bridge eSPI slave device, a main eSPI bus, two external extended eSPI buses (external extended eSPI bus 1 and external extended eSPI bus 2), two eSPI slave devices with serial port functions, and two multi-function eSPI slave devices;

[0046] Among them, the main eSPI bus and the bridge eSPI slave device are connected through the main eSPI bus, and the bridge eSPI slave device is connected to two eSPI slave devices with serial port functions (eSPI SLAVE UART0, eSPI SLAVEUART1) through the external extended eSPI bus 1, and the bridge eSPI slave device is connected to two multi-function eSPI slave devices (eSPI SLAVEMC0, eSPI SLAVE MC1) through the external extended eSPI bus 2. The extended eSPI bus meets the requirements of the eSPI bus specification;

[0047] Furthermore, the bridge eSPI slave device is a full-function bridge eSPI slave device, which is a standard eSPI slave device that supports Channel Indpendent and Channel 1, and the bridge eSPI slave device includes an internal extended eSPI bus and an internal eSPI slave device. The four eSPI slave devices on the two external extended eSPI buses and the internal eSPI slave device on the internal extended eSPI bus are all partially functional eSPI slave devices that only support access to Channel 0 (peripheral), and all eSPI slave devices share Channel 0 (peripheral) space and do not overlap. The reason is that the access space of all eSPI slave devices is different, so the eSPI slave devices that are not accessed will not occupy the eSPI bus.

[0048] Furthermore, the bridge eSPI slave device copies the downlink data of the main eSPI bus to two external extended eSPI buses and an internal extended eSPI bus. After receiving the uplink data, the external extended eSPI bus 1 merges the uplink data on other extended eSPI buses to the main eSPI bus. Here, it should be noted that other extended eSPI buses refer to all other eSPI extended buses except the extended eSPI bus and the main eSPI bus. After receiving the uplink data, the external extended eSPI bus 2 reconstructs the uplink data and merges the uplink data on other extended buses to the main eSPI bus, thereby isolating the errors on the external extended eSPI bus 2 and protecting the main eSPI bus. The downlink data is the data initiated by the eSPI master device, and the uplink data is the data initiated by the eSPI slave device. The uplink data on the internal extended eSPI bus and the uplink data on the external extended eSPI bus are merged to the main eSPI bus.

[0049] It should also be noted that the two serial port function eSPI slave devices and the two multi-function eSPI slave devices are connected to the bridge eSPI slave device through the interrupt line, so that the bridge eSPI slave device reports the interrupt signal to the eSPI master device through Channel 1.

[0050] In summary, the present application isolates the main eSPI bus and the extended eSPI bus to ensure the signal integrity and EMC performance of the main eSPI bus, and one or more external eSPI slave devices can be connected to the same extended eSPI bus, that is, eSPI slave devices with some functions can be hung on the same external extended eSPI bus, or on different external extended eSPI buses.

[0051] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A circuit for connecting multiple slave devices based on extended eSPI, characterized in that: include: Bridge eSPI slave device, eSPI master device, main eSPI bus, at least one external extended eSPI bus and at least one external eSPI slave device; The bridge eSPI slave device is connected to the eSPI master device via the master eSPI bus, the bridge eSPI slave device is connected to the external eSPI slave device via the external extended eSPI bus, and one external extended eSPI bus can be connected to one or more external eSPI slave devices; The bridge eSPI slave device includes an internal extended eSPI bus and an internal eSPI slave device; the external eSPI slave device and the internal eSPI slave device are both partially functional eSPI slave devices that support access to Channel 0; The downlink data received by the main eSPI bus is copied to the corresponding external extended eSPI bus and the internal extended eSPI bus respectively; The uplink data received by the external extended eSPI bus is reconstructed accordingly by the bridge eSPI slave device, and then merged with the uplink data of the internal eSPI slave device received by the internal extended eSPI bus into the main eSPI bus; If an error occurs in the uplink data on the external extended eSPI bus, the uplink data on the external extended eSPI bus is reconstructed via the bridge eSPI slave device, and then merged with the uplink data on other extended buses onto the main eSPI bus.

2. The circuit for connecting multiple slave devices based on extended eSPI according to claim 1, characterized in that: The bridge eSPI slave device is a standard eSPI slave device, supporting access to Channel Independent and Channel 1.

3. The circuit for connecting multiple slave devices based on extended eSPI according to any one of claims 1 to 2, characterized in that: The external eSPI slave device is also provided with an interrupt line; The interrupt lines are all connected to the bridge eSPI slave device, and the interrupt signal is reported to the eSPI master device through the bridge eSPI slave device.

4. The circuit for connecting multiple slave devices based on extended eSPI according to claim 3, characterized in that: When the bridge eSPI slave device reports an interrupt signal to the eSPI master device, it is implemented based on Channel 1.