A bridge chip, multi-chip communication method and system
By designing a bridge chip, integrating CANFD interface and adopting a multi-chip communication method, the problem of insufficient communication demand for DSP chips in the new energy vehicle field is solved, high-speed and stable communication and rapid design are achieved, market demand is met, and costs are reduced.
Patent Information
- Application Number
- CN202411090041.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2044-08-09
AI Technical Summary
The existing DSP chips lack communication speed, stability and computing power requirements in the field of new energy vehicles, especially the lack of CANFD modules limits its application, and the design cycle of the method to improve the performance of a single chip is long and difficult, making it difficult to quickly meet the market. need.
Design a bridge chip, adopts DSP architecture, integrates the CANFD interface, and communicates through multi-chip communication methods and systems, using the parallel bus interface HIC-EMIF, to realize high-speed and stable communication between multiple chips, and adds SPI, FSI and EMIF Interface, providing modular interface for rapid integration and upgrade.
Through the bridge chip, high-speed and stable communication between traditional and advanced DSPs are achieved, communication interfaces are expanded, multi-chip communication is simplified, design cycles and costs are reduced, the needs of the new energy vehicle field are met, and the CANFD module is allowed to be free of the original design stage. DSP chips continue to be used.
Smart Images

Figure CN118606259B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of chip technology, and in particular to a bridge chip, a multi-chip communication method and a system. Background Art
[0002] With the rapid development of science and technology, the demand for chip performance is greater, but the computing power and number of communication interfaces of DSP chips are not enough to meet the growing needs of customers.
[0003] Especially in recent years, with the rise of new energy vehicles, the demand for communication speed, stability and computing power is greater and increasing. Nowadays, CANFD communication is widely used in the communication of various automotive components. CANFD (Controller Area Network Flexible Data-Rate) is a communication standard based on the CAN (Controller Area Network) protocol, which aims to improve the data transmission rate and capacity of the vehicle network. CAN FD is an expansion of the traditional CAN protocol to support higher data transmission speeds and larger data frames; and the lack of a CANFD module in the original DSP chip design stage has greatly limited the application of the original DSP in the field of new energy vehicles.
[0004] There are currently two common methods: the first method is to improve the performance of a single DSP chip and integrate CANFD peripherals into a single chip; the second method is for multiple DSP chips to collaborate to process transactions.
[0005] However, in the existing technology, the method of improving the performance of a single DSP chip has the disadvantages of a long chip design to mass production cycle, great difficulty in performance improvement design, and rapid growth in chip demand on the application side, making it difficult to quickly meet the market demand; and in order to meet automotive use, how to enable DSP chips that do not have CANFD modules in the original design stage to continue to be used in the field of new energy vehicles is an urgent problem to be solved. Summary of the invention
[0006] In order to overcome the deficiencies in the background technology, the present invention discloses a bridge chip, a multi-chip communication method and a system.
[0007] In order to achieve the above-mentioned invention object, the present invention adopts the following technical scheme:
[0008] In the first aspect, the present invention discloses a bridge chip, which is based on a DSP architecture and includes a DSP core, a bus BUS, a HIC controller, an XBAR unit, a DMA controller, a first preset number of SPI interfaces, a second preset number of FSI interfaces, an EMIF interface and a third preset number of CANFD interfaces; the HIC controller includes an HIC interface; the DSP core is connected to the bus BUS through the DMA controller, and the DSP core is directly connected to the bus BUS; the HIC controller is used to control a fourth preset number of peripheral frames FP; one SPI interface and one FSI interface are jointly connected to one peripheral frame FP; the EMIF interface is connected to one peripheral frame FP; every 4 CANDFD interfaces are connected to one peripheral frame FP; the HIC interface, the SPI interface, the FSI interface, the EMIF interface and the CANFD interface are all connected to the GPIO interface through the XBAR unit; the peripheral frames are all connected to the bus BUS; the XBAR unit is used to map each peripheral GPIO to a different physical position of the bridge chip.
[0009] Specifically, the DSP core or the HIC controller can act as a host to control the bus BUS through a bus interface.
[0010] Specifically, the HIC controller has two GPIO port mappings, one of which is used for HIC interface communication.
[0011] Specifically, the EMIF interface and the HIC interface are parallel interfaces and are master-slave interfaces to each other.
[0012] Specifically, the first preset number is equal to the second preset number and is greater than 0; the third preset number is a multiple of 4 and is greater than 0; and the fourth preset number is the sum of the first preset number and the third preset number.
[0013] In a second aspect, the present invention discloses a multi-chip communication method, comprising the first bridge chip and the second bridge chip of the bridge chip type as described above, wherein the first bridge chip and the second bridge chip communicate via a parallel bus interface HIC-EMIF.
[0014] Specifically, the first bridge chip and the second bridge chip communicate through the parallel bus interface HIC-EMIF as follows: the first bridge chip acts as a host, the second bridge chip acts as a slave, the EMIF interface of the first bridge chip acts as a host interface to actively control the HIC controller of the second bridge chip, the first bridge chip actively sends read and write commands to the second bridge chip, and the second bridge chip receives the commands of the first bridge chip through the HIC interface to write data or read data to the first bridge chip.
[0015] In a third aspect, the present invention discloses a multi-chip communication method, including the bridge chip as described above, a first host DSP1 having an EMIF interface and a second host DSP2 having an EMIF interface, wherein the first host DSP1 and the second host DSP2 are connected to the bridge chip HIC through the EMIF interface for communication.
[0016] In a fourth aspect, the present invention discloses a multi-chip communication system, comprising: a central bridge chip and multiple DSP chips are packaged into a packaged chip, and the DSP chips are connected by connecting the GPIO of the selected interconnection communication interface to the pin of the central bridge chip, and other GPIOs are bound to the PAD pins of the packaged chip for use as the GPIO of the packaged chip; the central bridge chip is the bridge chip described above.
[0017] Specifically, the central bridge chip is a bridge chipset in which multiple bridge chips are connected via a parallel bus interface HIC-EMIF; the multiple DSP chips are a combination of one or more DSP chips including SPI, FSI, EMIF and HIC peripheral interfaces.
[0018] The bridge chip provided by the present invention is in accordance with the requirements for high-speed and stable communication between the traditional DSP and the advanced DSP. It integrates multiple SPI and FSI serial interfaces and integrates one HIC interface and one EMIF parallel interface as a bridge chip to connect multiple external DSP host controls. A CANFD communication module is added to the bridge chip, which solves the problem that the DSP chip without a CANFD module in the original design stage can continue to be used in the field of new energy vehicles. In addition, a variety of communication interfaces are expanded. The bridge chip makes communication between multiple chips simple and fast.
[0019] In addition, since the EMIF interface and HIC interface in the bridge chip are parallel interfaces, their communication rates are many times that of the serial interfaces SPI and FSI, and the bridge chip integrates not only the HIC interface but also the EMIF interface. When there is no external host or slave bridge chip, multi-chip communication can still be performed through the characteristics of the bridge chip itself.
[0020] The multi-chip communication method provided by the present invention can perform multi-chip collaborative processing communication through a bridge chip, and can quickly meet the market demand for chip performance, reduce the design cycle and application design cycle, speed up product launch into the market, and effectively reduce costs.
[0021] The multi-chip communication system provided by the present invention adopts a modular and standardized interface in its design. When the packaged chip needs to be upgraded or a new function needs to be added, there is no need to redesign the entire packaged chip. Designers can select appropriate functional modules as needed, and only need to replace or upgrade the corresponding interface in the bridge chip and add or replace the corresponding functional chip or module in the packaged system, so that it can be quickly integrated into the existing system, which greatly reduces the technical difficulty and cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0023] Figure 1 is a schematic diagram of a bridge chip structure provided according to an embodiment of the present invention;
[0024] Figure 2 is a schematic diagram of connection between a bridge chip and multiple chips provided in an embodiment of the present invention;
[0025] Figure 3 is a schematic diagram of interconnection and communication between two bridge chips provided according to an embodiment of the present invention;
[0026] Figure 4 It is a schematic diagram of two EMIF hosts communicating with each other through a bridge chip according to an embodiment of the present invention;
[0027] Figure 5 is a schematic diagram of interconnection and communication of multiple bridge chips provided according to an embodiment of the present invention;
[0028] Figure 6 Schematic diagram of a multi-chip sealing system provided according to an embodiment of the present invention. DETAILED DESCRIPTION
[0029] The present invention can be explained in detail through the following embodiments. The purpose of disclosing the present invention is to protect all technical improvements within the scope of the present invention. In the description of the present invention, it should be understood that if there are terms such as "upper", "lower", "front", "back", "left", "right", etc. indicating directions or positional relationships, they only correspond to the drawings of the present application for the convenience of describing the present invention, and do not indicate or imply that the device or element referred to must have a specific direction.
[0030] The following explains some terms involved in this embodiment:
[0031] (1) DSP
[0032] DSP (Digital Signal Processor) is a digital processor, a microprocessor designed specifically for digital signal processing tasks. They usually contain one or more Harvard architecture central processing units (CPUs), arithmetic logic units (ALUs) specifically for processing digital signals, fast memory, and interfaces for input / output (I / O) operations.
[0033] (2) HIC
[0034] HIC (Host Interface Controller) is a hardware component that allows a computer host to communicate with external devices or networks. HIC can take many forms, depending on its design and purpose, but it is generally responsible for managing data transfer, signal conversion, and protocol processing to ensure effective communication between the host and external devices.
[0035] (2) EMIF
[0036] EMIF (External Memory Interface) is an external memory interface that allows a microprocessor or microcontroller to communicate with external memory devices such as dynamic random access memory (DRAM), static random access memory (SRAM), flash memory, etc. EMIF is often used in embedded systems to expand the system's storage capacity or provide access to large-capacity memory.
[0037] (4) GPIO
[0038] GPIO (General-Purpose Input / Output) is an interface used in electronics and computer engineering that allows users to control electrical signals on hardware devices. GPIO interfaces are commonly used in microcontrollers, expansion cards, and various other electronic devices to read input signals or send control signals to external devices.
[0039] (5) SPI
[0040] SPI (Serial Peripheral Interface) is a commonly used serial communication protocol used for communication between microcontrollers, microprocessors and peripheral devices. The SPI interface usually consists of four signal lines:
[0041] (6) FSI
[0042] FSI (Fast Serial Interface) is a fast serial interface used for high-speed data transmission between chips or devices.
[0043] (7) DMA
[0044] A DMA (Direct Memory Access) controller is a hardware component that manages all aspects of data transfer, including the source and destination addresses of the data transfer, the amount of data transferred, and the actions after the transfer is complete. When a DMA transfer is complete, the DMA controller may notify the CPU through an interrupt. The DMA controller allows peripherals to directly access system memory without intervention from the CPU. In this way, DMA can significantly increase the efficiency and speed of data transfers because it reduces the burden on the CPU, allowing the CPU to handle other tasks while data transfers proceed in the background.
[0045] (8) BUS
[0046] In a DSP chip, BUS refers to the data path used to connect different components inside the chip. These components may include CPU, memory, peripheral interface, ALU (arithmetic logic unit), registers, etc. The existence of the bus allows efficient data transmission and communication between these components.
[0047] Embodiment 1
[0048] refer to Figure 1 The present embodiment provides a bridge chip, which is based on a DSP architecture and includes a DSP core, a bus BUS, a HIC controller, an XBAR unit, a DMA controller, a first preset number of SPI interfaces, a second preset number of FSI interfaces, an EMIF interface and a third preset number of CANFD interfaces; the HIC controller includes an HIC interface; the DSP core is connected to the bus BUS through the DMA controller, and the DSP core is directly connected to the bus BUS; the HIC controller is used to control a fourth preset number of peripheral frames FP; one SPI interface and one FSI interface are jointly connected to one peripheral frame FP; the EMIF interface is connected to one peripheral frame FP; every four CANDFD interfaces are connected to one peripheral frame FP; the HIC interface, the SPI interface, the FSI interface, the EMIF interface and the CANFD interface are all connected to the GPIO interface through the XBAR unit; the peripheral frames are all connected to the bus BUS; the XBAR unit is used to map each peripheral GPIO to a different physical position of the bridge chip.
[0049] Specifically, the DSP core or HIC controller can act as a host to control the bus BUS through the bus interface;
[0050] Specifically, the HIC controller has two GPIO port mappings, one of which is used for HIC interface communication and the other GPIO can be used for other functions. The HIC controller of this embodiment can realize DSP bus bridging other peripheral frames by controlling the peripheral frames.
[0051] When multi-chip communication uses SPI interface and FSI interface, since the peripherals in the same peripheral frame (PF) in DSP cannot be accessed by different host buses at the same time, for example, when the bridge chip core accesses the SPI of peripheral frame 1, the SPI in peripheral frame 2 or peripheral frame 3 can be accessed by DMA or HIC host at the same time. Therefore, the SPI and FSI in the bridge DSP are designed to be in the same peripheral frame, so that when the FSI is used to connect the external bridge DSP, the blocking of the bus in the peripheral frame can be reduced-when the host sends a command to a peripheral frame, only one peripheral can be operated at the same time. The HIC of this embodiment can control the peripheral frame, thereby realizing the access to the SPI and FSI interfaces.
[0052] Specifically, the first preset number and the second preset number are equal to each other and greater than 0;
[0053] The values of the first preset number and the second preset number can be set according to actual needs. Preferably, in this embodiment, the values of the first preset number and the second preset number are both 4.
[0054] Specifically, the third preset number is a multiple of 4 and greater than 0;
[0055] The third preset number value can be set according to actual needs. Preferably, the third preset number value in this embodiment is 8.
[0056] Specifically, the fourth preset number is the sum of the first preset number and the third preset number.
[0057] Specifically, the EMIF interface and the HIC interface are parallel interfaces and are master-slave interfaces to each other.
[0058] Specifically, the bridge chip also includes an internal register and a memory.
[0059] As a digital signal processing chip, DSP generally integrates one or more SPI interfaces for communication. The SPI interface communication speed can reach up to 20MHz, so the SPI interface can be used as a communication interface between the bridge chip and the DSP. Secondly, current advanced DSP products not only have a slow communication interface SPI, but also a high-speed interface FSI with a speed of up to 100MHz or a parallel processing interface HIC and EMIF.
[0060] The bridge chip provided in this embodiment is redesigned based on the DSP architecture, and peripheral interfaces such as SPI, FSI, EMIF and HIC are added to serve as a communication bridge between hosts. Since it is used as a multi-chip package bridge, the package positions of each DSP need to be adjusted, so an XBAR unit is added to the chip to map each peripheral GPIO to different physical positions of the bridge DSP chip, so as to facilitate the interconnection and packaging of multiple chips.
[0061] The bridge chip includes the following features:
[0062] 1) A HIC controller can have two GPIO mapping options. The design uses a bridge chip to connect two DSP chips with integrated EMIF interfaces through the HIC interface. The interrupt signal can be used to select which EMIF DSP the bridge chip communicates with at a certain moment. For example: the HIC controller can control peripheral frames FP1, FP2, FP3, FP4, FP5, FP6, 7.
[0063] 2) One EMIF interface of the bridge chip can connect the DSP of the external HIC interface to the host DSP of the bridge chip to control the writing and reading of external DSP data. Secondly, a multi-core chip interconnection communication system can be formed through the bridge DSP chip's own HIC.
[0064] 3) SPI interface is used for traditional DSP chip interconnection. The external DSP chip is connected to the SPI interface in the bridge chip, and data is moved between multiple DSPs through a custom data frame format.
[0065] This embodiment provides a custom data frame format. The data in this format can be divided into three parts. The first part uses 16-bit data as the read and write command, the second part uses 16-bit data as the read and write start address, and the third part starts with the read and write data.
[0066] In actual applications, the format of data frames will be customized according to specific needs and designs, and factors such as data integrity, transmission efficiency, error detection and correction need to be considered during the design. When implementing a custom data frame format, both the sender and the receiver must strictly follow the same protocol to ensure correct data transmission.
[0067] 4) The FSI high-speed interface is used for interconnecting newer DSP chips. The external DSP chip is connected to the FSI interface in the bridge chip, and the data frame format is also customized to move data between multiple DSPs.
[0068] 5) XBAR is used as the PAD mapping of each peripheral module or interface module. This module can map the peripheral interface to any physical location of the DSP. Since the number of external pins of the bridge DSP chip is large and complex when communicating with multiple chips, the XBAR function can make the connection of multiple chips flexible. XBAR is similar to gpiomux. It can transmit the signal input by the PAD to all places inside the DSP through selection, and can also transmit the internal signal of the DSP to other places (all peripherals and DSP can be designed by yourself).
[0069] 6) The CANFD interface is used for external LAN communication, receiving multi-chip external data, storing the received data in the bridge chip, and then transmitting it to other packaged DSP chips through the SPI, FSI, HIC, and EMIF interfaces.
[0070] DSP chips basically contain a bus BUS, which includes a bus interface. The DSP core or HIC controller can act as a host to control the bus BUS through the bus interface, thereby achieving data transmission and communication between various components and peripherals.
[0071] Since the peripheral frame is a bus branch, that is, SPI and FSI belong to the same bus branch, when multi-chip communication uses the SPI interface and the FSI interface, since the SPI interface and the FSI interface are peripherals in the same peripheral frame (PF) in the DSP, they cannot be accessed by different host buses at the same time, so the bus cannot access two or more peripherals under the same branch at the same time.
[0072] For example, when the bridge chip core accesses the SPI in peripheral frame 1, the SPI in peripheral frame 2 or peripheral frame 3 can be accessed by the DMA or HIC host at the same time. Therefore, the SPI and FSI in the bridge chip are designed to be in the same peripheral frame, so that when the FSI is used to connect the external bridge DSP, the bus blocking in the peripheral frame can be reduced (when the host sends a command to a peripheral frame, only one peripheral can be operated at the same time).
[0073] The EMIF interface in the bridge chip can be used as a parallel host interface to control external storage or an external DSP with an integrated HIC interface. When the bridge chip needs to use EMIF to read the DSP with an external integrated HIC interface, it only needs to send read and write commands through the EMIF interface, and the DSP with the external HIC interface reads and writes itself according to the received instructions.
[0074] The HIC interface of the bridge chip can be used as a slave of the host DSP integrated with the EMIF interface, and communicate with the host DSP. It and the EMIF interface are master-slave interfaces. When the HIC is connected to the EMIF interface of the host DSP, the DSP host sends read and write instructions to the bridge HIC interface through the EMIF interface to operate the internal registers and memory of the bridge chip.
[0075] The bridge chip provided in this embodiment is in accordance with the requirements for high-speed and stable communication between traditional DSP and advanced DSP. It integrates 4 SPI and 4 FSI serial interfaces and integrates one HIC interface and one EMIF parallel interface as a bridge chip to connect multiple external DSP host controls. A CANFD communication module is added to the bridge chip, which solves the problem that the DSP chip without a CANFD module in the original design stage can continue to be used in the field of new energy vehicles, and expands a variety of communication interfaces. Through this bridge chip, communication between multiple chips becomes simple and fast.
[0076] like Figure 2 As can be seen from the structure diagram, a single bridge in the multi-chip interconnection of the bridge chip disclosed in this embodiment can interconnect 4 SPI host DSPs (DSP1-DSP4), 4 FSI host DSPs (DSP5-DSP8), one EMIF host DSP (DSP9), one HIC slave DSP (DSP10) and 8 CANFD, which can not only realize communication between multiple chips, but also receive CANFD communication data from the bridge.
[0077] In addition, since the EMIF interface and HIC interface in the bridge chip are parallel interfaces, their communication rates are many times that of the serial interfaces SPI and FSI, and the bridge chip integrates not only the HIC interface but also the EMIF interface. When there is no external host or slave bridge chip, multi-chip communication can still be performed through the characteristics of the bridge chip itself.
[0078] Embodiment 2
[0079] This embodiment provides a multi-chip communication method, including a first bridge chip and a second bridge chip of the bridge chip type described in Embodiment 1, wherein the first bridge chip and the second bridge chip communicate via a parallel bus interface HIC-EMIF.
[0080] Specifically, the first bridge chip acts as a host, the second bridge chip acts as a slave, the EMIF interface of the first bridge chip acts as a host interface to actively control the HIC controller of the second bridge chip, the first bridge chip actively sends read and write commands to the second bridge chip, and the second bridge chip receives the commands of the first bridge chip through the HIC interface to write data or read data to the first bridge chip.
[0081] Since the bridge chip design has its own HIC (host interface controller) bus and EMIF (external memory interface), the interconnection topology between the bridge chip DSPs can be realized through a high-speed parallel bus. As can be seen from the above bridge chip characteristics, the HIC controller can use two-way interface selection, so there are many ways for bridge chip interconnection communication.
[0082] When the processing power of a single bridge chip is insufficient and expanding to two bridge chip DSPs can meet the design requirements, it is only necessary to use two bridges to connect through the parallel bus interface HIC-EMIF to achieve interconnection and communication between the two bridge chip DSPs, thereby improving the processing power of the bridge chip.
[0083] refer to Figure 3 As shown, EMIF actively controls HIC as a host interface, so the bridge chip DSP1 is the host and actively sends read and write commands to the bridge chip DSP2. DSP2 receives the command of DSP1 through HIC to write data or read data to DSP1.
[0084] Specifically, Figure 3 The middle structure can also replace the bridge chip DSP1 with other DSPs with more powerful functions and integrated EMIF interface.
[0085] In this case, it is only necessary to configure the connected GPIOs as EMIF and HIC functions after DSP1 and DSP2 are powered on.
[0086] Embodiment 3
[0087] This embodiment is a variation of the second embodiment. When a single bridge chip is far from meeting the needs in an application, multiple bridge chips DSPs are required to collaborate in computing and processing. The HIC-EMIF topology structure in the bridge chip is used to meet the multi-chip interconnection. Figure 4 As shown, the structure can utilize the HIC and EMIF bridges of multiple bridge chips DSP to form a bridge chipset, thereby achieving higher processing capabilities and supporting more data transmission between DSPs.
[0088] Embodiment 4
[0089] This embodiment provides a multi-chip communication method, including a first host DSP1 with an EMIF interface, a second host DSP2 with an EMIF interface and a bridge chip. The first host DSP1 and the second host DSP2 are connected to the bridge chip HIC described in the first embodiment through the EMIF interface for communication.
[0090] Specifically, only one of the first host DSP1 and the second host DSP2 can communicate with the bridge chip at the same time.
[0091] refer to Figure 5When two hosts with EMIF interfaces need to communicate with each other, since the HIC controller in the bridge chip DSP can reuse two HIC interfaces, the bridge chip DSP can connect to two EMIF hosts at the same time, and only needs to transmit the reuse information to the host DSP. For example, when the host DSP1 wants to establish communication with the bridge chip DSP, it checks whether the host DSP2 is establishing communication with the bridge chip. If the host DSP2 is communicating, the host DSP1 will not establish communication with the bridge chip DSP temporarily, and wait until the host DSP2 completes the communication with the bridge chip before re-enabling the bridge chip HIC to reuse the host DSP1 end GPIO, so that the host DSP1 can communicate with the bridge chip DSP.
[0092] The multi-chip communication method described in Examples 2 to 4 can perform multi-chip collaborative processing communication through a bridge chip, and can quickly meet the market demand for chip performance, reduce the design cycle and application design cycle, speed up product launch, and effectively reduce costs.
[0093] Embodiment 5
[0094] This embodiment provides a multi-chip communication system, including: a central bridge chip and multiple DSP chips are packaged into a packaged chip, and the DSP chips are connected by connecting the GPIO of the selected interconnection communication interface to the pin of the central bridge chip, and other GPIOs are bound to the PAD pins of the packaged chip for use as the GPIO of the packaged chip.
[0095] The central bridge chip is the bridge chip described in the first embodiment.
[0096] The multiple DSP chips are a combination of one or more of DSP chips including SPI, FSI, EMIF and HIC peripheral interfaces;
[0097] The central bridge chip is a single bridge chip or a bridge chipset in which multiple bridge chips are connected via a parallel bus interface HIC-EMIF.
[0098] The multi-chip communication system provided in this embodiment adopts a modular and standardized interface design. When the packaged chip needs to be upgraded or new functions need to be added, there is no need to redesign the entire packaged chip. Designers can select appropriate functional modules as needed, and only need to replace or upgrade the corresponding interface in the bridge chip, and add or replace the corresponding functional chips or modules in the packaged system, so that it can be quickly integrated into the existing system, which greatly reduces the technical difficulty and cost.
[0099] When other DSP chips communicate with the bridge chip FSI interface through the FSI interface to transmit the required data, the bridge chip FSI interface receives the data and processes the received information and sends it to other external DSPs or chips containing the CANFD interface.
[0100] refer to Figure 6 For example, DSP1 transmits data to the bridge chip through SPI, the core of the bridge chip transmits the processed data to DSP2 connected to the FSI of the bridge chip, and DSP2 receives the data transmitted by the bridge chip through FSI.
[0101] Similarly, after the bridge chip receives the CANFD data transmitted by other chips through the CANFD interface, the bridge chip can move the data to the FSI interface through DMA, and then start the FSI interface to transmit it to the external DSP chip connected to the FSI.
[0102] In this embodiment, the DSP chip type is selected according to actual needs, and the multiple DSP chips are a combination of one or more DSP chips including SPI, FSI, EMIF and HIC peripheral interfaces.
[0103] In the multi-chip communication system provided by this embodiment, since the bridge chip adopts modular and standardized interfaces, when the packaged chip needs to be upgraded or new functions are added, it is not necessary to redesign the entire packaged chip. Designers can select appropriate functional modules as needed, and only need to replace or upgrade the corresponding interface in the bridge chip, and add or replace the corresponding functional chip or module in the packaged system, so that it can be quickly integrated into the existing system. This greatly reduces the technical difficulty and cost.
[0104] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 Processes Multiple processes and / or boxes Figure 1 A device that has the functions specified in one or more boxes.
[0105] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0106] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0107] The parts of the present invention that are not described in detail are prior art. It is obvious to those skilled in the art that the present invention is not limited to the details of the above-mentioned exemplary embodiments, and the present invention can be implemented in other specific forms without departing from the spirit or basic characteristics of the present invention; therefore, no matter from which point of view, the embodiments should be regarded as exemplary and non-restrictive, and it is intended that all changes that fall within the meaning and scope of equivalent elements are included in the present invention.
Claims
1. A bridge chip, characterized in that: The bridge chip is based on a DSP architecture and includes a DSP core, a bus BUS, a HIC controller, an XBAR unit, a DMA controller, a first preset number of SPI interfaces, a second preset number of FSI interfaces, an EMIF interface, and a third preset number of CANFD interfaces; the HIC controller includes an HIC interface; the DSP core is connected to the bus BUS via the DMA controller, and the DSP core is directly connected to the bus BUS; the HIC controller is used to control a fourth preset number of peripheral frames FP; one SPI interface and one FSI interface are commonly connected to one peripheral frame FP; The EMIF interface is connected to one peripheral frame FP; each of the four CANDFD interfaces is connected to one peripheral frame FP; the HIC interface, the SPI interface, the FSI interface, the EMIF interface, and the CANFD interface are all connected to the GPIO interface via an XBAR unit; the peripheral frames FP are all connected to a bus BUS; the XBAR unit is used to map each peripheral GPIO to a different physical location of the bridge chip; The first preset number is equal to the second preset number and is greater than 0; the third preset number is a multiple of 4 and is greater than 0; and the fourth preset number is the sum of the first preset number and the third preset number.
2. The bridge chip according to claim 1, wherein: The DSP core or HIC controller can act as a host to control the bus BUS through the bus interface.
3. The bridge chip according to claim 1, wherein: The HIC controller has two GPIO port mappings, one of which is used for HIC interface communication.
4. The bridge chip according to claim 1, wherein: The EMIF interface and the HIC interface are parallel interfaces and are master-slave interfaces to each other.
5. A multi-chip communication method, characterized in that: It comprises a first bridge chip and a second bridge chip, and the first bridge chip and the second bridge chip communicate with each other through a parallel bus interface HIC-EMIF; the first bridge chip and the second bridge chip are the bridge chips according to any one of claims 1 to 4.
6. The multi-chip communication method according to claim 5, characterized in that: The first bridge chip and the second bridge chip communicate through the parallel bus interface HIC-EMIF. Specifically, the first bridge chip acts as the host and the second bridge chip acts as the slave. The EMIF interface of the first bridge chip acts as the host interface to actively control the HIC controller of the second bridge chip. The first bridge chip actively sends read and write commands to the second bridge chip. The second bridge chip receives the commands of the first bridge chip through the HIC interface to write data or read data to the first bridge chip.
7. A multi-chip communication method, characterized in that: The method comprises the bridge chip according to any one of claims 1 to 4, a first host DSP1 having an EMIF interface, and a second host DSP2 having an EMIF interface, wherein the first host DSP1 and the second host DSP2 are respectively connected to the bridge chip HIC through the EMIF interface for communication.
8. A multi-chip communication system, characterized in that: include: A central bridge chip and multiple DSP chips are packaged together into a packaged chip, and the DSP chips are connected by connecting the GPIO of the selected interconnection communication interface to the pin of the central bridge chip, and the other GPIOs are bound to the PAD pins of the packaged chip for use as the GPIO of the packaged chip; the central bridge chip is the bridge chip described in any one of claims 1-4.
9. The multi-chip communication system according to claim 8, characterized in that: The central bridge chip is a bridge chipset in which multiple bridge chips are connected via a parallel bus interface HIC-EMIF; the multiple DSP chips are a combination of one or more DSP chips including SPI, FSI, EMIF and HIC peripheral interfaces.
Citation Information
Patent Citations
Method and apparatus for bridging a digital signal processor to a PCI bus
CA2282166A1
Bridge circuit for EMIF interface and AHB / APB time series and control method of bridge circuit
CN107085560A
Communication system, communication method and storage medium
CN117234974A
Baseband processing device based on PCI bus
CN1912859A
Method for controlling multiple can interfaces through single SPI bus
US20150089104A1
