OPTICAL MODULE AND TRANSMITTING DATA IN OPTICAL MODULE
20170337153 · 2017-11-23
Assignee
- HISENSE BROADBAND MULTIMEDIA TECHNOLOGIES CO., LTD. (Qingdao, CN)
- Hisense Broadband Multimedia Technologies. Ltd. (Tortola, VG)
Inventors
Cpc classification
International classification
Abstract
An optical module and a method of transmitting data in the optical module are provided in the present disclosure. According to an example, the optical module may comprise a micro controller unit (MCU) and N number of first driving chips having a same chip address. The MCU may be configured with a serial data (SDA) bus interface and N number of first serial clock (SCL) bus interfaces. Each of the N number of first driving chips may be configured with a SDA bus interface which is configured to be connected with the SDA bus interface on the MCU and a SCL bus interface which is configured to be connected with one of the N number of first SCL bus interfaces on the MCU.
Claims
1. An optical module, comprising: a micro controller unit (MCU) configured with a serial data (SDA) bus interface and N number of first serial clock (SCL) bus interfaces, wherein N is an integer greater than or equal to 2; and N number of first driving chips having a same chip address, each of the N number of first driving chips is configured with a SDA bus interface which is configured to be connected with the SDA bus interface on the MCU; and a SCL bus interface which is configured to be connected with one of the N number of first SCL bus interfaces on the MCU.
2. The optical module according to claim 1, wherein the MCU is configured to store chip addresses of the N first driving chips.
3. The optical module according to claim 1, wherein the MCU is configured to identify any one of the first driving chips according to an identifier of a first SCL bus interface on the MCU connected with the first driving chip.
4. The optical module according to claim 3, wherein the identifier is a serial number of pin for the first SCL bus interface.
5. The optical module according to claim 1, wherein the optical module further comprises M number of second driving chips having chip addresses different from each other and different from the chip address of the N number of first driving chips, M is an integer greater than or equal to 1; each of the M number of second driving chips is configured with a SDA bus interface which is configured to be connected with the SDA bus interface on the MCU, and a SCL bus interface which is configured to be connected with a second SCL bus interface further provided on the MCU.
6. The optical module according to claim 5, wherein the MCU is further configured to store a chip address of each of the M number of second driving chips.
7. The optical module according to claim 5, wherein the MCU is further configured to identify any one of the second driving chips according to chip address of the second driving chip.
8. The optical module according to claim 1, wherein at least one of the N number of first driving chips is configured to be connected with a laser.
9. The optical module according to claim 5, wherein at least one of the M number of second driving chips is configured to be connected with a laser.
10. A method of transmitting data in an optical module, wherein the optical module comprises: a micro controller unit (MCU) configured with a serial data (SDA) bus interface and N number of first serial clock (SCL) bus interfaces, wherein N is an integer greater than or equal to 2; and N number of first driving chips having a same chip address, each of the N number of first driving chips is configured with a SDA bus interface which is configured to be connected with the SDA bus interface on the MCU, and a SCL bus interface which is configured to be connected with one of the N number of first SCL bus interfaces on the MCU; the method comprises: transmitting, by the MCU, a clock signal to a target first driving chip via a target first SCL bus interface on the MCU, wherein the target first driving chip is one of the N number of first driving chips, and the target first SCL bus interface is connected with a SCL bus interface of the target first driving chip; transmitting, by the MCU, a data signal to the N number of first driving chips via the SDA bus interface on the MCU; transmitting, by the target first driving chip, a response message to the MCU in response to receiving the clock signal and the data signal; and communicating, by the MCU, with the target first driving chip according to the response message.
11. The method according to claim 10, wherein receiving the clock signal and data signal comprises any one of: simultaneously receiving the data signal and the clock signal by the target first driving chip; firstly receiving the clock signal and then receiving the data signal within a duration of the clock signal by the target first driving chip.
12. The method according to claim 10, further comprises: determining, by the MCU, whether a response message transmitted by the target first driving chip is received within a preset time period from the transmission of the data signal; and retransmitting, by the MCU, the clock signal to the target first driving chip via the target first SCL bus interface and the data signal to the N number of first driving chips via the SDA bus interface on the MCU if the preset time period is past but none response message is received from the target first driving chip.
13. The method according to claim 12, wherein the preset time period is nine cycle of the clock signal.
14. The method according to claim 10, wherein the optical module further comprises M number of second driving chips having chip addresses different from each other and different from the chip address of the N number of first driving chips, M is an integer greater than or equal to 1, each of the M number of second driving chips is configured with a SDA bus interface which is configured to be connected with the SDA bus interface on the MCU, and a SCL bus interface which is configured to be connected with a second SCL bus interface further provided on the MCU; the method further comprises: transmitting, by the MCU, a clock signal to the M number of second driving chips via the second SCL bus interface; transmitting, by the MCU, a data signal to the N number of first driving chips and the M number of second driving chips via the SDA bus interface on the MCU; transmitting, by a target second driving chip, a response message to the MCU in response to receiving the clock signal and the data signal, wherein the target second driving chip is one of the M number of second driving chips of which a chip address is the same as a target chip address comprised in the data signal; and communicating, by the MCU, with the target second driving chip according to the response message.
15. The method according to claim 14, wherein the data signal comprises the target chip address and a read/write control signal.
16. The method according to claim 15, wherein the read/write control signal comprises any one or more of: a read control signal; a write control signal.
17. The method according to claim 14, wherein transmitting a response message to the MCU in response to receiving the clock signal and the data signal comprises: comparing, by each of the second driving chips, a chip address of the second driving chip with the target chip address comprised in the data signal upon receiving the clock signal and the data signal; and transmitting, by the target second driving chip, a response message to the MCU upon determining the chip address of itself is the same as the target chip address comprised in the data signal.
18. The method according to claim 14, wherein the method further comprises: determining, by the MCU, whether a response message transmitted by the target second driving chip is received within a preset time period from the transmission of the data signal, wherein the preset time period is nine cycle of the clock signal; and retransmitting, by the MCU, the clock signal to the M number of second driving chips via the second SCL bus interface and the data signal to the N number of first driving chips and the M number of second driving chips via the SDA bus interface on the MCU if the preset time period is past but none response message is received from the target second driving chip.
Description
BRIEF DESCRIPTION OF DRAWINGS
[0017] The details of one or more embodiments of the subject matter described in the present disclosure are set forth in the accompanying drawings and description below. Other features, aspects, and advantages of the subject matter will become apparent from the description, the drawings, and the claims. Features of the present disclosure are illustrated by way of example and not limited in the following figures, in which like numerals indicate like elements.
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
DETAILED DESCRIPTION
[0024] As shown in
[0025]
[0026]
[0027] The MCU 310 may be configured with a serial data (SDA) bus interface and N number of first serial clock (SCL) bus interfaces, while each of the N number of first driving chips 321-32N may be configured with a SDA bus interface and a SCL bus interface. Where, the SDA bus interface on the MCU 310 may be connected with the SDA bus interfaces on the first driving chips 321-32N, and each of the N number of first SCL bus interfaces on the MCU 310 may be connected with the SCL bus interface on one and only one of the first driving chips 321-32N.
[0028] In summary, in the optical module in accordance with an example of the present disclosure, the MCU 310 may be configured with N number of first SCL bus interfaces, and each of the N number of first SCL bus interfaces may connect with one and only one of the N number of first driving chips 321-32N via a SCL bus. When communication with a target first driving chip, e.g., the first driving chip 321, in the N number of first driving chips is required, the MCU 310 may transmit a clock signal to the target first driving chip 321 via a first SCL bus interface connecting with the target first driving chip 321 (hereinafter, may also referred to as “target first SCL bus interface” and transmit a data signal to all the N number of first driving chips 321-32N via the SDA bus interface on the MCU 310. Then, upon receiving the data signal and the clock signal, the target first driving chip 321 may transmit a response message to the MCU 310 and thereby start communication with the MCU 310. It may be noted that the data signal and the clock signal may be received by the first driving chip 321 simultaneously, or the clock signal may be received firstly and then the data signal may be received by the first driving chip 321 within duration of the clock signal. The optical module provided by the present disclosure may have a simple structure, and communication between the MCU 310 and a plurality of driving chips having a same chip address may be realized without an auxiliary device.
[0029] In an example in accordance with the present disclosure, the MCU 310 in the optical module may transmit a clock signal to the target first driving chip via the target first SCL bus interface, and transmit a data signal to all the N number of first driving chips 321-32N comprising the target first driving chip via the SDA bus interface. The target first SCL bus interface on the MCU may be connected with a SCL bus interface of the target first driving chip.
[0030] One of the first driving chips 321-32N, e.g., the target first driving chip 322, in the optical module may receive the data signal and the clock signal transmitted by the MCU 310. And the target first driving chip, upon receiving the data signal and the clock signal transmitted by the MCU 310, may transmit a response message to the MCU 310 via the SDA bus interface on the first driving chip 322.
[0031]
[0032] With reference to
[0033] In an example in accordance with the present disclosure, the MCU 410 may be configured to store chip addresses of the first driving chips 421-42N and the second driving chips 431-43M. Since the second driving chips 431-43M have chip addresses different from each other, the MCU 410 may identify any one of the second driving chips 431-43M according to its chip address. With respect to the first driving chips 421-42N having the same chip address, the MCU 410 may be configured to identify any one of the first driving chips 421-42N according to an identifier (e.g., a serial number of pin) of a first SCL bus interface on the MCU 410 connected with the first driving chip.
[0034] For example, as shown in
[0035] For example, with reference to
[0036] The first driving chips 421-42N only receive the data signal, but do not receive the clock signal. Therefore, it may be determined that the first driving chips 421-42N are not the communication object for the MCU 410. Since the second driving chips 431-43M have chip addresses different from each other, after receiving the clock signal and the data signal, each of the second driving chips 431-43M may compare its own chip address with the target chip address comprised in the data signal, so as to find whose chip address is the same as the target chip address in the data signal. For example, the chip address of the second driving chip 431 is the same as the target chip address comprised in the data signal. The second driving chip 431 may transmit a response message to the MCU 410. Therefore, the communication between the MCU 410 and the second driving chips 431-43M having different chip addresses may be realized in the present disclosure.
[0037]
[0038] In summary, in an optical module in accordance with an example of the present disclosure, a MCU may be configured with N number of first SCL bus interfaces, and each of the N number of first SCL bus interfaces may connect with the SCL bus interface on one and only one of N number of first driving chips having a same chip address via a SCL bus. When communication with a target first driving chip in the N number of first driving chips is required, the MCU may transmit a clock signal to the target first driving chip via a first SCL bus interface connected with the target first driving chip, and transmit a data signal to all the first driving chips via the SDA bus interface. Upon receiving the data signal and the clock signal, the target first driving chip may transmit a response message to the MCU and thereby start a communication with the MCU. The optical module provided by in an example of the present disclosure has a simple structure, and a communication between the MCU and a plurality of driving chips having a same chip address may be realized without an auxiliary device. Furthermore, the influence of an auxiliary device on the communication accuracy between devices may be avoided, thereby effectively improving data transmission reliability between the MCU and the plurality of driving chips.
[0039]
[0040] At block 601, a clock signal may be transmitted by the MCU 310 to a target first driving chip via a target first SCL bus interface, where the target first SCL bus interface may be connected with the SCL bus interface of the target first driving chip, and the target first driving chip may be one of the N number of first driving chips.
[0041] At block 602, a data signal may be transmitted by the MCU 310 to all the first driving chips via the SDA bus interface on the MCU.
[0042] At block 603, a response message may be transmitted by the target first driving chip to the MCU 310 in response to receiving the clock signal and the data signal.
[0043] At block 604, the MCU 310 may communicate with the target first driving chip according to the response message.
[0044] In an example in accordance with the present disclosure, whether the response message transmitted by the target first driving chip is received in a preset time period from the transmission of the data signal may be determined by the MCU 310. If the preset time period is past but none response message is received from the target first driving chip, then the clock signal may be retransmitted by the MCU 310 to the target first driving chip via the target first SCL bus interface and the data signal may be retransmitted by the MCU 310 to the N number of first driving chips via the SDA bus interface on the MCU 310.
[0045] In an example in accordance with the present disclosure, according to
[0046] In summary, a method of transmitting data in an optical module may be provided in the present disclosure. When communication with a target first driving chip, e.g., the first driving chip 321, in the N number of first driving chips is required, the MCU 310 may transmit a clock signal to the first driving chip 321 to be communicated via the first SCL bus interface SCL1, and transmit a data signal to all the first driving chips 321-32N via the SDA bus interface on the MCU 310. Then, upon receiving the data signal and the clock signal, the first driving chip 321 may transmit a response message to the MCU 310, and communicate with the MCU 310. When the MCU 310 communicates with the first driving chips 321-32N having the same chip address with the above method, the first driving chips 321-32N may be identified without an auxiliary device, thereby the influence of the auxiliary device on the communication accuracy between devices may be avoided, and the data transmission reliability between the MCU 310 and the first driving chips 321-32N may be effectively improved.
[0047] It may be noted that in practical application, the block 601 and the block 602 may be executed simultaneously. For example, the MCU 310 may transmit the clock signal and the data signal at a same time. The execution sequence of the block 601 and the block 602 is not defined in examples of the present disclosure.
[0048] In an example in accordance with the present disclosure, after the MCU 310 transmits the clock signal to the target first driving chip via the target SCL bus interface and transmits the data signal to all the first driving chips 321-32N comprising the target first driving chip via the SDA bus interface on the MCU 310, the MCU 310 may further determine whether the response message transmitted by the target first driving chip is received within the preset time period from the transmission of data signal.
[0049] If the preset time period is past but none response message is received from the target first driving chip, the MCU 310 may retransmit the clock signal to the target first driving chip via the target SCL bus interface, and retransmit the data signal to all of the first driving chips 321-32N comprising the target first driving chip via the SDA bus interface on the MCU 310.
[0050] In an example in accordance with the present disclosure, the preset time period may be nine cycle of the clock signal. For example, as shown in
[0051] A method of transmitting data in an optical module is provided in the present disclosure. When communication with a target first driving chip, e.g., the first driving chip 321, in the N number of first driving chips having the same chip address is required, a clock signal may be transmitted by the MCU 310 to the first driving chip 321 via a first SCL bus interface SCL1, and a data signal may be transmitted by the MCU 310 to all the first driving chips 321-32N via the SDA bus interface thereof. Upon receiving the data signal and the clock signal, the first driving chip 321 may transmit a response message to the MCU 310. Then the first driving chip 321 may communicate with the MCU 310. When the MCU 310 communicates with the first driving chips 321-32N having the same chip address with the above method, the first driving chips 321-32N may be identified without an auxiliary device, thereby the influence of the auxiliary device on the communication between devices may be avoided and the data transmission reliability between the MCU 310 and the first driving chips 321-32N may be effectively improved.
[0052] The figures are only illustrations of an example, where the procedure shown in the figures may be not necessarily essential for implementing the present disclosure. Although the flowcharts described show a specific order of execution, the order of execution may differ from that which is depicted. For example, the order of execution of two or more blocks may be changed relative to the order shown. Also, two or more blocks shown in succession may be executed concurrently or with partial concurrence. All such variations are within the scope of the present disclosure.
[0053] Throughout the present disclosure, the word “comprise”, or variations such as “comprises” or “comprising”, will be understood to imply the inclusion of a stated element, integer or step, or group of elements, integers or steps, but not the exclusion of any other element, integer or step, or group of elements, integers or steps.
[0054] It will be appreciated by persons skilled in the art that numerous variations and/or modifications may be made to the above-described embodiments, without departing from the broad general scope of the present disclosure. The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive.