Semiconductor device, communication system, control method for semiconductor device, and control program

The semiconductor device enhances signal accuracy by converting differential signals to pulse waveforms and adjusting pulse width based on edge detection and test data, effectively mitigating noise interference.

JP2024123789AInactive Publication Date: 2024-09-12RENESAS ELECTRONICS CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023031461
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-02
Publication Date
2024-09-12
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing communication devices face challenges in suppressing noise interference and achieving high accuracy in signal reception, particularly when using Manchester encoded differential signals.

Method used

A semiconductor device with a receiving circuit that converts differential signals into pulse waveforms, utilizing edge detection and one-shot pulse generation with adjustable pulse width to enhance signal accuracy, and a control method that adjusts pulse width based on test data comparison.

Benefits of technology

The solution effectively suppresses noise-induced pulse collisions, enabling high-precision signal reception by adjusting pulse width to prevent adjacent pulse interference.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024123789000001
    Figure 2024123789000001
Patent Text Reader

Abstract

To provide a semiconductor device, a communication system, a control method for the semiconductor device, and a control program that can receive signals with high accuracy by suppressing the effects of noise.SOLUTION: A semiconductor device includes a receiving circuit that receives a differential signal and converts it into a received signal in which logical values are expressed by pulse waveforms, and a control circuit that performs a predetermined process based on the received signal. The receiving circuit includes an edge detection circuit that detects edges of the differential signal, a pulse generation circuit that generates a one-shot pulse of a predetermined width at the timing at which an edge is detected by the edge detection circuit and outputs it as a received signal, and a pulse adjustment circuit that adjusts the predetermined width of the one-shot pulse generated by the pulse generation circuit.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a semiconductor device, a communication system, a control method for a semiconductor device, and a control program, and more particularly to a semiconductor device, a communication system, a control method for a semiconductor device, and a control program suitable for suppressing the effects of noise and receiving signals with high accuracy. [Background technology]

[0002] Patent Document 1 discloses a communication device that communicates with an external device using a Manchester encoded signal. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2010-193085 A Summary of the Invention [Problem to be solved by the invention]

[0004] Further noise countermeasures are required for communication devices such as that disclosed in Patent Document 1. Other problems and novel features will become apparent from the description of this specification and the accompanying drawings. [Means for solving the problem]

[0005] A semiconductor device according to the present disclosure includes a receiving circuit that receives a differential signal and converts it into a received signal whose logical value is expressed by a pulse waveform, and a control circuit that performs predetermined processing based on the received signal, wherein the receiving circuit has an edge detection circuit that detects edges of the differential signal, a pulse generation circuit that generates a one-shot pulse of a predetermined width at the timing when the edge is detected by the edge detection circuit and outputs it as the received signal, and a pulse adjustment circuit that adjusts the predetermined width of the one-shot pulse generated by the pulse generation circuit.

[0006] A control method for a semiconductor device according to the present disclosure is a control method for a semiconductor device including a transmitting circuit, a receiving circuit that receives a differential signal and converts it into a received signal whose logical value is expressed by a pulse waveform, and a control circuit that performs a predetermined processing based on the received signal, wherein when the operating mode is a test mode, test data is generated from the control circuit, a differential signal corresponding to the test data is output from the transmitting circuit, an edge of the differential signal output from the transmitting circuit is detected in the receiving circuit, a one-shot pulse of a predetermined width is generated in the receiving circuit at the timing when the edge is detected and output as a received signal, and the predetermined width of the one-shot pulse is adjusted in the receiving circuit based on a comparison result between the test data and the received signal corresponding to the test data.

[0007] A control program according to the present disclosure is a control program that causes a computer to execute processing in a semiconductor device including a transmitting circuit, a receiving circuit that receives a differential signal and converts it into a received signal whose logical value is expressed by a pulse waveform, and a control circuit that performs predetermined processing based on the received signal, and when the operating mode is a test mode, causes the computer to execute the following processing: generating test data from the control circuit; outputting a differential signal corresponding to the test data from the transmitting circuit; detecting, in the receiving circuit, an edge of the differential signal output from the transmitting circuit; generating, in the receiving circuit, a one-shot pulse of a predetermined width at the timing when the edge is detected, and outputting it as a received signal; and adjusting, in the receiving circuit, the predetermined width of the one-shot pulse based on a comparison result between the test data and the received signal corresponding to the test data. Effect of the Invention

[0008] The present disclosure can provide a semiconductor device, a communication system, a control method for a semiconductor device, and a control program that are capable of suppressing the influence of noise and receiving a signal with high accuracy. [Brief description of the drawings]

[0009] [Figure 1] FIG. 1 is a block diagram illustrating a configuration example of a communication system including a semiconductor device according to a first embodiment. [Diagram 2] FIG. 2 is a block diagram of a configuration example of a receiving circuit provided in the semiconductor device according to the first embodiment. [Diagram 3] FIG. 3 is a timing chart showing an operation of the semiconductor device according to the first embodiment before pulse width adjustment. [Figure 4] FIG. 4 is a timing chart showing an operation of the semiconductor device according to the first embodiment before pulse width adjustment. [Diagram 5] FIG. 5 is a flowchart showing an operation of the semiconductor device according to the first embodiment in the test mode. [Figure 6] FIG. 6 is a timing chart showing the operation of the semiconductor device according to the first embodiment. [Figure 7] FIG. 7 is a block diagram showing a modification of the receiving circuit provided in the semiconductor device according to the first embodiment. [Figure 8] FIG. 8 is a circuit diagram showing an example of the configuration of the slew rate control unit. [Figure 9] FIG. 9 is a block diagram of a configuration example of a semiconductor device according to the second embodiment. As shown in FIG. [Figure 10] FIG. 10 is a circuit diagram showing an example of the configuration of a delay circuit. [Figure 11] FIG. 11 is a block diagram of a configuration example of a semiconductor device according to the third embodiment. As shown in FIG. [Figure 12] FIG. 12 is a timing chart showing an operation of the semiconductor device according to the third embodiment before pulse width adjustment. [Figure 13] FIG. 13 is a timing chart showing an operation of the semiconductor device according to the third embodiment after the pulse width is adjusted. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] Hereinafter, the embodiments will be described with reference to the drawings. Note that the drawings are simplified, and the technical scope of the embodiments should not be interpreted narrowly based on the description in the drawings. Also, the same elements are given the same reference numerals, and duplicated explanations will be omitted.

[0011] In the following embodiments, when necessary for convenience, the description will be divided into multiple sections or embodiments. However, unless otherwise specified, they are not unrelated to each other, and one is a partial or complete modification, application example, detailed explanation, supplementary explanation, etc. of the other. Furthermore, in the following embodiments, when the number of elements (including the number, numerical value, amount, range, etc.) is mentioned, it is not limited to the specific number, and may be more or less than the specific number, unless otherwise specified or when it is clearly limited to a specific number in principle.

[0012] Furthermore, in the following embodiments, the components (including operation steps, etc.) are not necessarily essential unless otherwise specified or considered to be clearly essential in principle. Similarly, in the following embodiments, when referring to the shape, positional relationship, etc. of the components, etc., it is intended to include those that are substantially similar or similar to the shape, etc., unless otherwise specified or considered to be clearly not essential in principle. The same applies to the above numbers, etc. (including numbers, values, amounts, ranges, etc.).

[0013] <Embodiment 1> 1 is a block diagram showing an example of the configuration of a communication system SYS1 including an ECU (semiconductor device) 1 according to a first embodiment. ECU is an abbreviation for Electronic Control Unit.

[0014] As shown in FIG. 1, the communication system SYS1 includes ECUs 1 to 4. The ECUs 1 to 4 communicate with each other via communication cables. For each of the ECUs 1 to 4, Ether 10base-t1s defined in IEEE802.2cg is adopted as an example. Therefore, a UTP cable, which is relatively susceptible to noise, is used for the communication cable. The ECUs 1 to 4 communicate with each other using Manchester-encoded differential signals. Each of the ECUs 1 to 4 converts the received differential signals into RZI (Return to Zero Inversion) encoded signals and performs a predetermined process. Here, the RZI encoded signals are easily affected by noise because logical values ​​are expressed by pulse waveforms. Therefore, the communication system SYS1 is required to receive signals with high accuracy by suppressing the effects of noise.

[0015] The ECU 1 includes an MCU (control circuit) 10 and a communication unit (communication circuit) 20. MCU is an abbreviation for Micro Controller Unit.

[0016] The MCU 10 is formed on a chip separate from the communication unit 20. The MCU 10 includes a CPU (Central Processing Unit) 11, a RAM (Random Access Memory) 12, an Ethernet controller 13, a multiplexer 14, and IOs 15 to 17. The Ethernet controller 13 includes a MAC unit 131, a PLCA / PCS / PMA 132, and an MDIO 133. MAC stands for Media Access Control. PLCA stands for Physical Layer Collision Avoidance. PCS stands for Physical Coding Sublayer. PMA stands for Physical Medium Attachment. MDIO stands for Management Data Input / Output.

[0017] The communication unit 20 includes a transmission circuit 21, a reception circuit 22, an MDIO 23, and a register 24.

[0018] In the MCU 10, the Ethernet controller 13 receives an instruction from the CPU 11, for example, and outputs the transmission data TX to the communication unit 20 via the multiplexer 14 and the IO 15. In the communication unit 20, the transmission circuit 21 converts the transmission data TX into a Manchester-encoded differential signal and transmits it to the ECUs 2 to 4, which are external devices, via a communication cable. In the communication unit 20, the reception circuit 22 receives the Manchester-encoded differential signal transmitted from one of the ECUs 2 to 4 via the communication cable, converts it into an RZI-encoded signal (reception signal) RX, and outputs it. Note that the pulse width of the pulse waveform included in the RZI-encoded signal RX is determined by a set value X in the initial state. The set value X is transferred from the MDIO 133 of the Ethernet controller 13 to the MDIO 23 of the communication unit 20 and stored in the register 24. The reception circuit 22 also outputs a signal ED, which indicates whether the amplitude of the received differential signal is equal to or greater than a predetermined value, together with the signal RX. In the MCU 10 , the Ethernet controller 13 receives the signal RX via the IO 16 and the multiplexer 14 , and also receives the signal ED via the IO 17 and the multiplexer 14 .

[0019] Here, if the signal ED indicates that the amplitude of the differential signal is equal to or greater than a predetermined value, the Ethernet controller 13 determines that the reliability of the received signal RX is high, and performs a predetermined process according to the received signal RX. On the other hand, if the signal ED indicates that the amplitude of the differential signal is less than the predetermined value, the Ethernet controller 13 determines that the reliability of the received signal RX is low, and does not perform the predetermined process according to the received signal RX.

[0020] <Configuration example of the receiving circuit 22> Fig. 2 is a block diagram showing a configuration example of the receiving circuit 22. As shown in Fig. 2, the receiving circuit 22 has a differential receiving section (differential receiving circuit) 221, an edge detecting section (edge ​​detecting circuit) 222, a one-shot pulse generating section (one-shot pulse generating circuit) 223, a pulse width adjusting section (pulse width adjusting circuit) 224, and a filter section (filter circuit) 225. The pulse width adjusting section 224 has a setting value receiving section 2241 that receives a setting value X stored in the register 24, and a decoding section 2242 that decodes the setting value X.

[0021] The differential receiver 221 receives a Manchester-encoded differential signal. The edge detector 222 detects an edge of the differential signal received by the differential receiver 221. The one-shot pulse generator 223 is, for example, a monostable multivibrator, and generates a one-shot pulse of a predetermined width set by the pulse width adjuster 224 at the timing when the edge is detected by the edge detector 222, and outputs the one-shot pulse as an RZI-encoded signal (received signal) RX. The pulse width adjuster 224 is configured to be able to adjust the pulse width of a pulse included in the received signal RX based on an instruction from the MCU 10. Note that a method of adjusting the pulse width using the pulse width adjuster 224 will be described later. The filter 225 passes only the maximum value of the two signals constituting the differential signal, thereby outputting a signal ED representing the amplitude of the differential signal.

[0022] <Operation before pulse width adjustment> Figures 3 and 4 are timing charts showing the operation of the ECU 1 before pulse width adjustment. Figure 3 shows an example in which no noise occurs, and Figure 4 shows an example in which noise occurs. In addition, for simplification, in the examples of Figures 3 and 4, only one signal of the two signals constituting the differential signal received by the receiving circuit 22 is shown.

[0023] Here, in a Manchester encoded signal, the voltage level switches from L level to H level or from H level to L level every predetermined period. If the voltage level changes again within a certain predetermined period, the logical value of the signal during that predetermined period represents 1, and if the voltage level does not change within a certain predetermined period, the logical value of the signal during that predetermined period represents 0.

[0024] For example, in a predetermined period T1 from time t51 to t52, the input signal (Manchester-encoded signal) of the receiving circuit 22 falls at time t51a within the predetermined period T1, so the logical value of the input signal of the receiving circuit 22 in the predetermined period T1 represents 1. Similarly, in a predetermined period T3 from time t53 to t54, the input signal of the receiving circuit 22 rises at time t53a within the predetermined period T3, so the logical value of the input signal of the receiving circuit 22 in the predetermined period T3 represents 1. In contrast, in a predetermined period T2 from time t52 to t53, the input signal of the receiving circuit 22 does not change within the predetermined period T2, so the logical value of the input signal of the receiving circuit 22 in the predetermined period T2 represents 0.

[0025] First, in the example of Fig. 3, since no noise occurs, adjacent pulses included in the output signal (signal RX) of the receiving circuit 22 do not collide. In contrast, in the example of Fig. 4, since the waveform of the input signal is distorted due to the occurrence of noise, the receiving circuit 22 detects an edge at a timing (time t51b) delayed from the original timing of change of the input signal (time t51a), and generates a one-shot pulse with a pulse width W as an output signal. As a result, in the example of Fig. 4, adjacent pulses included in the output signal (signal RX) of the receiving circuit 22 collide (around time t52). In this case, the receiving circuit 22 cannot obtain accurate data from the received differential signal (input signal).

[0026] Therefore, the ECU 1 in this embodiment uses the pulse width adjustment unit 224 to adjust the pulse width W to be as short as possible, thereby preventing collision of adjacent pulses and making it possible to receive differential signals with high accuracy even when noise occurs.

[0027] <Pulse width adjustment method> A method for adjusting the pulse width W will be described below with reference to Fig. 5. Fig. 5 is a flow chart showing the operation of the ECU 1 in the test mode.

[0028] First, the operation mode is set to the test mode out of the normal operation mode and the test mode (step S101). When the operation mode is set to the test mode, first, the CPU 11 generates test data TX. Also, the pulse width W is set to the maximum value. Furthermore, the communication unit 20 is set to the loopback mode. In the loopback mode, the transmission circuit 21 provided in the communication unit 20 transmits the transmission data (test data) TX to the reception circuit 22 instead of transmitting it to the outside.

[0029] Thereafter, the CPU 11 writes the test data TX to the RAM 12. The CPU 11 also issues a transmission request for the test data TX to the MAC unit 131 of the Ethernet controller 13. The Ethernet controller 13 outputs the test data TX from the MAC unit 131 to the communication unit 20 via the PLCA / PCS / PMA 132, the multiplexer 14, and the IO 15 (step S102).

[0030] In the communication unit 20, the transmission circuit 21 converts the test data TX into a Manchester-encoded differential signal. Then, the transmission circuit 21 transmits the differential signal to a reception circuit 22 provided in the communication unit 20, rather than transmitting the differential signal to the outside. The reception circuit 22 converts the differential signal, which is the test data TX, into an RZI-encoded signal, and outputs it as a reception signal RX. Specifically, the reception circuit 22 detects an edge of the differential signal, which is the test data TX, generates a one-shot pulse with a pulse width W at the timing of detecting the edge, and outputs it as a reception signal RX.

[0031] After that, the CPU 11 judges whether the test data TX and the corresponding received signal RX match (step S103). For example, if it is judged that the test data TX and the corresponding received signal RX match (YES in step S103), the pulse width W is adjusted to be one step shorter (step S104), and then the test data TX is transmitted again, and it is judged whether the test data TX and the corresponding received signal RX match.

[0032] If it is determined that the test data TX and the corresponding received signal RX do not match (NO in step S103), the previously set pulse width W is set as the pulse width W used in the normal operation mode, since it is the shortest pulse width capable of receiving a differential signal accurately (step S105). As described above, the shorter the pulse width W, the lower the possibility of adjacent pulses colliding even if noise occurs, and therefore the ECU1 can receive a differential signal with high accuracy.

[0033] This adjustment of the pulse width W may be performed only once, for example, when the ECU 1 is assembled. This shortens the power-on time compared to when the pulse width W is adjusted every time the power is turned on. Alternatively, this adjustment of the pulse width W may be performed every time the power is turned on. This allows the adjustment of the pulse width W to be performed taking into account external factors such as temperature and power supply voltage.

[0034] Fig. 6 is a timing chart showing the operation of the ECU 1 after the pulse width adjustment. Fig. 6 also shows a timing chart of the output signal of the receiving circuit 22 before the pulse width adjustment. For simplification, the example of Fig. 6 shows only one of the two signals constituting the differential signal received by the receiving circuit 22.

[0035] In the example of Fig. 6, since the waveform of the input signal is distorted due to the occurrence of noise, the receiving circuit 22 detects an edge at a timing (time t11b) delayed from the original timing of change of the input signal (time t11a), and generates a one-shot pulse with a pulse width W as an output signal. Here, before the pulse width adjustment, the pulse width W of the one-shot pulse is long, so adjacent pulses included in the output signal of the receiving circuit 22 collide (around time t12). In contrast, after the pulse width adjustment, the pulse width W of the one-shot pulse is short, so adjacent pulses included in the receiving circuit 22 do not collide (around time t12). Therefore, the receiving circuit 22 can obtain accurate data from the received differential signal.

[0036] In this way, the ECU 1 according to this embodiment uses the pulse width adjustment unit 224 to adjust the pulse width W to be as short as possible, thereby preventing collision of adjacent pulses and enabling accurate reception of differential signals even when noise occurs.

[0037] In the present embodiment, the case where the ECU1 adjusts the pulse width W by actually operating using test data has been described as an example, but the present invention is not limited thereto. For example, before the ECU1 is assembled, tests necessary for determining the pulse width W may be performed individually by the MCU10 and the communication unit 20, which are components of the ECU1. In this case, when the ECU1 is assembled, the test results are stored as device characteristic information in each of the MCU10 and the communication unit 20. Therefore, the ECU1 can determine the pulse width W without performing tests in the test mode by referring to the device characteristic information of the MCU10 and the communication unit 20, respectively.

[0038] <Modifications of the Receiving Circuit 22> 7 is a block diagram showing a modified example of the receiving circuit 22 as a receiving circuit 22a. Compared with the receiving circuit 22, the receiving circuit 22a further includes a slew rate control unit 226. The slew rate control unit 226 makes the falling edge of the one-shot pulse included in the RZI encoded signal even steeper. This further improves the reception accuracy of the differential signal. The other configurations of the receiving circuit 22a are the same as those of the receiving circuit 22, so the description thereof will be omitted.

[0039] Fig. 8 is a circuit diagram showing a configuration example of slew rate control unit 226. Slew rate control unit 226 is composed of a plurality of CMOS transistors and a plurality of logic circuits. Note that slew rate control unit 226 is not limited to the circuit configuration shown in Fig. 8, and can be changed as appropriate to another circuit configuration that can realize an equivalent operation.

[0040] <Embodiment 2> 9 is a block diagram showing a configuration example of an ECU 1b according to the second embodiment. Compared to the ECU 1, the ECU 1b includes an MCU 10b instead of the MCU 10. Compared to the MCU 10, the MCU 10b further includes a delay circuit 19. The delay circuit 19 widens the pulse width of a pulse included in the RZI-encoded signal RX received from the communication unit 20 in the MCU 10b. This further improves the reception accuracy of the differential signal. Other configurations of the ECU 1b are similar to those of the ECU 1, and therefore will not be described.

[0041] Fig. 10 is a circuit diagram showing a configuration example of the delay circuit 19. As shown in Fig. 10, the delay circuit 19 includes a plurality of serially connected buffers 191, the first stage of which is supplied with an input signal, an OR circuit 192 which outputs a logical sum of the output of the final stage of the plurality of buffers 191 and an enable signal EN, and an AND circuit 193 which outputs a logical product of the output of the OR circuit 192 and the input signal of the delay circuit 19. Note that the delay circuit 19 is not limited to the circuit configuration shown in Fig. 10, and can be changed as appropriate to another circuit configuration that can realize an equivalent operation.

[0042] <Embodiment 3> 11 is a block diagram showing a configuration example of an ECU1c according to a third embodiment. Compared to the ECU1, the ECU1c includes an MCU10c instead of the MCU10. Compared to the MCU10, the MCU10c further includes an IO18. The IO18 is disposed close to the IO16 through which the reception signal RX propagates. More preferably, the IO18 is disposed adjacent to the IO16 through which the reception signal RX propagates.

[0043] In the test mode, the ECU 1c controls so that dummy data DM is propagated to an IO 18 and a PAD (not shown) adjacent to an IO 16 and a PAD (not shown) through which the received signal RX is propagated. This enables the ECU 1c to adjust the pulse width W of the pulse contained in the received signal RX so that a part of the received signal RX is not damaged by the influence of the dummy data DM.

[0044] Fig. 12 is a timing chart showing the operation of the ECU 1c before the pulse width adjustment. Fig. 13 is a timing chart showing the operation of the ECU 1c after the pulse width adjustment. In the examples of Fig. 12 and Fig. 13, for simplification, only one of the two signals constituting the differential signal received by the receiving circuit 22 is shown.

[0045] 12, the pulse width W is not adjusted in consideration of the effect of the signal change of the dummy data DM. Therefore, some of the pulses included in the output signal of the receiving circuit 22 are affected by the signal change of the dummy data DM and do not reach the L level (time t21a and time t23a). In this case, the receiving circuit 22 cannot obtain accurate data from the received differential signal.

[0046] 13, the pulse width W is adjusted in consideration of the effect of the signal change of the dummy data DM. Therefore, all of the multiple pulses included in the output signal of the receiving circuit 22 reach the L level without being affected by the signal change of the dummy data DM. In this case, the receiving circuit 22 can obtain accurate data from the received differential signal.

[0047] In this way, the ECU 1c according to the present embodiment can prevent collision of adjacent pulses and receive differential signals with high accuracy even when noise occurs by adjusting the pulse width W to be as short as possible using the pulse width adjustment unit 224. Furthermore, the ECU 1c according to the present embodiment can receive differential signals with high accuracy without being affected by adjacent signals by adjusting the pulse width W taking into account the effects of adjacent signals.

[0048] The invention made by the inventor has been specifically described above based on the embodiments, but it goes without saying that the present invention is not limited to the embodiments already described, and various modifications are possible without departing from the gist of the invention.

[0049] Furthermore, in the present disclosure, a part or all of the processing of the ECU (semiconductor device) 1 can be realized by causing the CPU to execute a computer program.

[0050] The above-mentioned program includes a set of instructions (or software code) for making the computer perform one or more functions described in the embodiment when the program is loaded into the computer. The program may be stored in a non-transitory computer-readable medium or a tangible storage medium. By way of example and not limitation, the computer-readable medium or the tangible storage medium includes a random-access memory (RAM), a read-only memory (ROM), a flash memory, a solid-state drive (SSD) or other memory technology, a CD-ROM, a digital versatile disc (DVD), a Blu-ray® disk or other optical disk storage, a magnetic cassette, a magnetic tape, a magnetic disk storage or other magnetic storage device. The program may be transmitted on a transitory computer-readable medium or a communication medium. By way of example and not limitation, the transitory computer-readable medium or the communication medium includes an electrical, optical, acoustic, or other form of propagating signal. [Explanation of symbols]

[0051] SYS1 Communication System 1 ECU 1b ECU 1c ECU 2~4 ECU 10 MCU 10b MCU 10c MCU 11 CPU 12 RAM 13 Ethernet Controller 14 Multiplexer 15~18 IO 19 Delay Circuit 20 Communications Department 21 Transmitting circuit 22 Receiving circuit 22a Receiver circuit 23 MDIO 24 Registers 131 MAC section 132 PLCA / PCS / PMA 133 MDIO 191 Buffer 192 OR Circuit 193 AND Circuit 221 Differential receiver 222 Edge detection unit 223 One-shot pulse generator 224 Pulse width adjustment unit 225 Filter section 226 Slew rate control section 2241 Setting value receiver 2242 Decoder

Claims

1. a receiving circuit that receives the differential signal and converts it into a received signal whose logical value is represented by a pulse waveform; A control circuit that performs a predetermined process based on the received signal; Equipped with The receiving circuit includes: an edge detection circuit for detecting an edge of the differential signal; a pulse generating circuit that generates a one-shot pulse of a predetermined width at the timing when the edge is detected by the edge detection circuit and outputs the one-shot pulse as the received signal; a pulse adjustment circuit for adjusting a predetermined width of the one-shot pulse generated by the pulse generation circuit; The semiconductor device has

2. A transmitter circuit is further provided. the control circuit generates transmission data when the operation mode is a normal operation mode, and generates test data when the operation mode is a test mode; when the operation mode is a normal operation mode, the transmission circuit generates a differential signal according to the transmission data and transmits it to an external device, and when the operation mode is a test mode, the transmission circuit generates a differential signal according to the test data and outputs it to the reception circuit; When the operation mode is a normal operation mode, the receiving circuit receives a differential signal supplied from an external source and converts it into the receiving signal, and when the operation mode is a test mode, the receiving circuit receives a differential signal output from the transmitting circuit and converts it into the receiving signal. The semiconductor device according to claim 1 .

3. When the operation mode is a test mode, the control circuit controls the pulse adjustment circuit to adjust the predetermined width of the one-shot pulse based on a comparison result between the test data and the received signal corresponding to the test data. The semiconductor device according to claim 2 .

4. When the operation mode is a test mode, the control circuit controls the pulse adjustment circuit to adjust the predetermined width of the one-shot pulse to be the smallest within a range in which the test data and the received signal corresponding to the test data match. The semiconductor device according to claim 3 .

5. When the operation mode is a test mode, the control circuit controls so that a dummy signal is propagated to a signal line adjacent to a signal line through which the received signal is propagated. The semiconductor device according to claim 2 .

6. The one-shot pulse further includes a slew rate adjustment circuit for making the slew rate of the one-shot pulse shorter than a reference slew rate. The semiconductor device according to claim 1 .

7. the control circuit is mounted on a chip separate from the receiving circuit; The chip further includes a delay circuit for widening the predetermined width of the one-shot pulse included in the received signal. The semiconductor device according to claim 1 .

8. A semiconductor device according to claim 1 ; an external device that communicates with the semiconductor device using differential signals; A communication system comprising:

9. the differential signal is a Manchester encoded signal; The semiconductor device according to claim 1 .

10. The received signal output from the receiving circuit is an RZI (Return to Zero Inversion) encoded signal. The semiconductor device according to claim 1 .

11. The differential signal is a Manchester encoded signal, The received signal output from the receiving circuit is an RZI encoded signal. The semiconductor device according to claim 1 .

12. A transmission circuit; a receiving circuit that receives the differential signal and converts it into a received signal whose logical value is represented by a pulse waveform; A control circuit that performs a predetermined process based on the received signal; A method for controlling a semiconductor device, comprising: When the operation mode is test mode, generating test data from the control circuit; outputting a differential signal corresponding to the test data from the transmission circuit; detecting an edge of the differential signal output from the transmission circuit in the reception circuit; In the receiving circuit, a one-shot pulse of a predetermined width is generated at the timing when the edge is detected, and output as a receiving signal; in the receiving circuit, adjusting the predetermined width of the one-shot pulse based on a comparison result between the test data and the receiving signal corresponding to the test data; A method for controlling a semiconductor device.

13. In adjusting the predetermined width of the one-shot pulse, the predetermined width of the one-shot pulse is adjusted to be the smallest within a range in which the test data and the received signal corresponding to the test data match. The method for controlling a semiconductor device according to claim 12.

14. A transmission circuit; a receiving circuit that receives the differential signal and converts it into a received signal whose logical value is represented by a pulse waveform; A control circuit that performs a predetermined process based on the received signal; A control program for causing a computer to execute a process in a semiconductor device, comprising: When the operation mode is test mode, generating test data from the control circuit; outputting a differential signal corresponding to the test data from the transmission circuit; a process of detecting an edge of the differential signal output from the transmission circuit in the reception circuit; a process of generating a one-shot pulse of a predetermined width at a timing when the edge is detected in the receiving circuit and outputting the one-shot pulse as a receiving signal; a process of adjusting the predetermined width of the one-shot pulse based on a comparison result between the test data and the reception signal corresponding to the test data in the reception circuit; A control program that causes a computer to execute the above.

15. In the process of adjusting the predetermined width of the one-shot pulse, the predetermined width of the one-shot pulse is adjusted to be the smallest within a range in which the test data and the received signal corresponding to the test data match. The control program according to claim 14.

Citation Information

Patent Citations

  • Duty correction circuit

    JP2010193085A