Synchronous serial bus multiplexing method and device, terminal, and non-temporary computer readable storage medium

A synchronous serial and bus technology, applied in the field of embedded chips, can solve the problem of huge consumption of pin resources

CN110990319AActive Publication Date: 2020-04-10BEIJING THUNDERSTONE TECH CO LTD
6 Cites 1 Cited by

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
Publication Date
2020-04-10

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention relates to the field of embedded chips, and provides a synchronous serial bus multiplexing method and device, a terminal and a non-temporary computer readable storage medium. The invention aims to reduce the number of consumed pins when a main chip is connected with VGA and IC interfaces. The method comprises the following steps that an input / output pin driven by a multiplex drivingmodule is applied for as a pin, corresponding to a synchronous serial bus, of a main chip; the multiplexing driving module judges a driving module corresponding to a current application; if the driving module corresponding to the current application is a driving module of hardware equipment corresponding to a first interface, the input / output pin driven by the multiplexing driving module is applied to the first interface; and if the driving module corresponding to the current application is a driving module of hardware equipment corresponding to a second interface, the input / output pin drivenby the multiplexing driving module is applied to the second interface. According to the invention, pin resources of the main chip are saved, convenience is provided for adding other more functions tothe main chip, and multiplexing of the synchronous serial bus is realized on a software level.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of embedded chips, in particular to a synchronous serial bus multiplexing method, device, terminal and non-transitory computer-readable storage medium. Background technique

[0002] The I2C bus is a two-way two-wire synchronous serial bus. One of the two lines is a data transmission line and the other is a synchronous clock line. Information transfer between them; VGA is related to the I2C bus. The so-called VGA is a video interface, which is commonly seen in the blue 15-pin interface of a computer and is used for analog video signal transmission. There are 15 lines in this interface, 7 of which are connected to the CPU pins, and 5 of the 7 are used For analog signal transmission, 2 pins connected to the I2C bus are used to communicate with the display device to obtain the edid information of the display device. Similar to VGA, the IC interface (that is, the interface using the iso7861 transmission protocol) also ha...

Examples

Embodiment Construction

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

[0075] In this specification, adjectives such as first and second may only be used to distinguish one element or action from another without necessarily requiring or implying any actual such relationship or order. Reference to an element or component or step (etc.) should not be construed as being limited to only one of the element, component, or step, but may be one or more of the element, component, or step, etc., where the circumstances permit.

[0076] In ...