Transmission device and transmission method

The transmission device and method address the lack of reproducibility in evaluating retransmission functions by inserting errors in packets based on set parameters, enhancing the reliability and consistency of error detection and retransmission processes within the A-PHY standard.

WO2024219211A1PCT designated stage expired Publication Date: 2024-10-24SONY SEMICON SOLUTIONS CORP

Patent Information

Application Number
PCT/JP2024/013542
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-17
Filing Date
2024-04-02
Publication Date
2024-10-24

AI Technical Summary

Technical Problem

Evaluating the retransmission function in the A-PHY standard for automotive use requires generating errors in packets, but existing methods lack reproducibility, making it difficult to consistently assess the performance of error insertion and retransmission processes.

Method used

A transmission device and method that insert errors at specific positions in packets based on set parameters, using a fault injection unit to modify CRC values or positions within A-packets, allowing for controlled and reproducible error generation and evaluation of retransmission functions.

Benefits of technology

Enables reproducible evaluation of retransmission functions by intentionally inserting errors at specified positions or frequencies, improving the reliability and consistency of error detection and retransmission processes within the A-PHY standard.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024013542_24102024_PF_FP_ABST
    Figure JP2024013542_24102024_PF_FP_ABST
Patent Text Reader

Abstract

The present disclosure relates to a transmission device and a transmission method that make it possible to perform reproducible evaluation. Provided is a transmission device comprising a transmission unit that transmits and receives a packet to and from another transmission device connected via an A-PHY interface defined by the MIPI standard, wherein the transmission unit has a first insertion unit that inserts an error at a specific position in a specific transmission packet among transmission packets to be transmitted to the other transmission device on the basis of a set first parameter. The present disclosure can be applied to, for example, a transmission device that is compliant with the MIPI standard.
Need to check novelty before this filing date? Find Prior Art

Description

Transmission device and transmission method

[0001] The present disclosure relates to a transmission device and a transmission method, and more particularly to a transmission device and a transmission method that enable reproducible evaluation.

[0002] One of the standards defined by the MIPI (Mobile Industry Processor Interface) Alliance is the A-PHY (Automotive PHY) standard. A-PHY is a standard related to the PHY layer of an in-vehicle SerDes (Serializer / Deserializer). A-PHY has a function for retransmitting packets that have failed to be received due to external noise, but in order to evaluate this retransmission function, it is necessary to generate errors in the packets. Various functions for intentionally generating errors have been proposed. For example, Patent Document 1 discloses an evaluation system for wireless communication devices that evaluates the Chase HARQ function.

[0003] Japanese Patent Application Laid-Open No. 2008-153729

[0004] When evaluating the packet retransmission function in A-PHY, it is necessary to generate errors in the packets, and a proposal for a reproducible evaluation was required.

[0005] The present disclosure has been made in light of these circumstances, and makes it possible to perform reproducible evaluation.

[0006] A transmission device according to one aspect of the present disclosure includes a transmission unit that transmits and receives packets to and from other transmission devices connected via an A-PHY I / F defined in the MIPI standard, and the transmission unit has a first insertion unit that inserts an error at a specific position in a specific transmission packet among the transmission packets to be transmitted to the other transmission device based on a set first parameter.

[0007] A transmission method according to one aspect of the present disclosure is a transmission method in which a transmission device transmits and receives packets to and from another transmission device connected via an A-PHY I / F defined in the MIPI standard, and inserts an error at a specific position in a specific transmission packet among the transmission packets to be transmitted to the other transmission device based on a set first parameter.

[0008] In a transmission device and a transmission method according to one aspect of the present disclosure, packets are transmitted and received between another transmission device connected via an A-PHY I / F defined in the MIPI standard, and an error is inserted at a specific position in a specific transmission packet among the transmission packets to be transmitted to the other transmission device based on a first parameter that has been set.

[0009] The transmission device according to one aspect of the present disclosure may be an independent device or an internal block constituting a single device.

[0010] 1 is a diagram illustrating an example configuration of an embodiment of a transmission system to which the present disclosure is applied. FIG. 1 is a diagram illustrating an example configuration of a transmission unit in the transmission device of FIG. 1. FIG. 2 is a diagram illustrating the configuration of an A-packet defined in the MIPI standard. FIG. 3 is a diagram illustrating the relationship between error positions in an A-packet and retransmission. FIG. 4 is a diagram illustrating the operation flow of the keep-alive control unit of FIG. 2. FIG. 4 is a diagram illustrating the operation flow of the fault injection unit of FIG. 2. FIG. 5 is a diagram illustrating an example configuration of a fault injection module. FIG. 5 is a diagram illustrating an example sequence when a packet transmitting side performs error insertion in MC designation mode during downlink. FIG. 6 is a diagram illustrating an example sequence when a packet transmitting side performs error insertion in packet count mode during downlink. FIG. 7 is a diagram illustrating an example sequence when a packet receiving side performs error insertion in MC designation mode during uplink. FIG. 8 is a diagram illustrating an example sequence when a packet receiving side performs error insertion in packet count mode during uplink. FIG. 9 is a diagram illustrating an example configuration of a keep-alive control unit. FIG. 10 is a diagram illustrating an example of a state machine when keep-alive is enabled. FIG. 11 is a diagram illustrating an example of a state machine when keep-alive is disabled. FIG. 12 is a timing chart illustrating input data and output data in the keep-alive control unit. FIG. 13 is a diagram illustrating an example configuration of a PCS unit on the packet transmitting side. FIG. 14 is a timing chart illustrating input data and output data in the PCS unit on the packet transmitting side. FIG. 1 is a diagram showing an example of the configuration of a PCS unit on a packet receiving side. FIG. 2 is a timing chart showing input data and output data in the PCS unit on the packet receiving side. FIG. 3 is a diagram showing a configuration when a conventional method is adopted. FIG. 4 is a diagram showing an example of packets exchanged between a packet sending side and a packet receiving side when a conventional method is adopted. FIG. 5 is a diagram showing an example of packets exchanged between a packet sending side and a packet receiving side when a method to which the present disclosure is applied is adopted. FIG. 6 is a diagram showing another example of the configuration of the transmission unit in the transmission device of FIG. 1. FIG. 7 is a diagram showing another example of the arrangement of a fault injection unit. FIG. 8 is a diagram showing yet another example of the arrangement of a fault injection unit.

[0011] <System Configuration> FIG. 1 is a diagram showing an example configuration of an embodiment of a transmission system to which the present disclosure is applied.

[0012] 1, a transmission system 1 is composed of a transmission device 10 and a transmission device 20. The transmission device 10 and the transmission device 20 exchange data via a transmission path 30 such as a cable. In the transmission system 1, data transmission is performed between the transmission device 10 and the transmission device 20 via an A-PHY network. A-PHY is a standard defined by the MIPI Alliance as a PHY layer of an in-vehicle SerDes. In this disclosure, the standard defined by the MIPI Alliance is referred to as the MIPI standard.

[0013] The transmission device 10 includes a processing unit 101 and a transmission unit 102. The processing unit 101 is composed of a chip that performs processing related to PAL (Protocol Adaptation Layer), a CPU (Central Processing Unit) that controls the operation of each unit of the transmission device 10, and the like. The transmission unit 102 is composed of a chip that performs processing related to data transmission, and the like. The transmission unit 102 performs processing related to A-PHY (processing of the PHY layer and Data Link layer). The processing unit 101 performs processing related to the upper layer, which is the layer above A-PHY.

[0014] The transmission device 20 includes a processing unit 201 and a transmission unit 202. The processing unit 201 is composed of a chip that performs processing related to PAL, a CPU that controls the operation of each unit of the transmission device 20, etc. The transmission unit 202 is composed of a chip that performs processing related to data transmission, etc. The transmission unit 202 performs processing related to A-PHY. The processing unit 201 performs processing related to the upper layer, which is the layer above A-PHY.

[0015] In the transmission system 1, one of the transmission devices 10 and 20 connected via the A-PHY I / F serves as a source and the other as a sink. The source and sink are defined in the MIPI standard, and the following description will exemplify a case in which the transmission device 10 serves as the source and the transmission device 20 serves as the sink. Furthermore, transmission from the source to the sink is called a downlink (DL), and transmission from the sink to the source is called an uplink (UL). The transmission speeds (communication speeds) differ between the downlink and the uplink, with the downlink being faster than the uplink.

[0016] Fig. 2 is a diagram showing an example of the configuration of the transmission unit 102 in the transmission device 10 of Fig. 1. In Fig. 2, the transmission unit 102 has a data link unit 111, an RTS unit 112, a fault injection unit 113, and a PCS unit 114.

[0017] The data link unit 111 performs processing related to the Data Link layer (hereinafter referred to as data link processing). The data link unit 111 has a keep-alive control unit 121 that controls the transmission of keep-alive packets when no packets containing valid data are transmitted within a predetermined period of time. The RTS unit 112 performs processing related to retransmission (RTS) (hereinafter referred to as RTS processing). The fault injection unit 113 performs processing to insert errors into specific packets. The fault injection unit 113 has a transmission fault injection unit 131A and a reception fault injection unit 131B as error insertion units. The PCS unit 114 performs processing related to the physical coding sub-layer (PCS) (hereinafter referred to as PCS processing).

[0018] When transmitting a packet, in the transmission device 10, a packet output from the processing unit 101 is input to the transmission unit 102. The data link unit 111 performs data link processing on the packet input from the processing unit 101 and supplies it to the RTS unit 112. The RTS unit 112 performs RTS processing on the packet supplied from the data link unit 111 and supplies it to the fault injection unit 113. In the fault injection unit 113, a transmission fault injection unit 131A inserts an error into a specific packet of the packets to be transmitted based on set parameters. The PCS unit 114 performs PCS processing on the packet supplied from the fault injection unit 113.

[0019] When transmitting a packet, the packet is transmitted from transmission device 10 to transmission device 20 via downlink, but in transmission device 10, the transmission fault injection unit 131A inserts an error into a specific packet among the packets to be transmitted (the error is inserted at the position indicated by arrow A1 in the figure), and transmission device 20 receives the packet with the error inserted.

[0020] When receiving a packet, the transmission device 10 receives a packet transmitted via uplink from the transmission device 20 and inputs it to the PCS unit 114. The PCS unit 114 performs PCS processing on the input packet and supplies it to the fault injection unit 113. In the fault injection unit 113, the reception fault injection unit 131B inserts an error into a specific packet among the received packets based on set parameters. The RTS unit 112 performs RTS processing on the packet supplied from the fault injection unit 113 and supplies it to the data link unit 111. The data link unit 111 performs data link processing on the packet input from the RTS unit 112 and outputs it to the processing unit 101.

[0021] When a packet is received, the packet is sent via uplink from transmission device 20 to transmission device 10, and in transmission device 10, the reception fault injection unit 131B inserts an error into a specific packet among the packets that were received normally (the error is inserted at the position indicated by arrow B1 in the figure).

[0022] In the transmission device 10 configured as described above, the transmission unit 102 has a fault injection unit 113, and during downlink, the transmission fault injection unit 131A can inject an error into a specific transmission packet. Also, during uplink, the reception fault injection unit 131B can inject an error into a specific reception packet. In the transmission device 10, the keep-alive control unit 121 and the fault injection unit 113 can be externally controlled using a register or the like.

[0023] <A-Packet Structure> In the transmission system 1, the transmission devices 10 and 20 that perform serial communication transmit and receive A-packets defined in the MIPI standard. Fig. 3 is a diagram showing the structure of an A-packet defined in the MIPI standard. In Fig. 3, the A-packet is made up of an A-packet header, an A-packet payload, and an A-packet tail.

[0024] The A-packet header includes fields for an 8-bit Adaptation Descriptor, an 8-bit Service Descriptor, an 8-bit Placement Descriptor, an 8-bit PHY2, an 8-bit Target Address, an 8-bit PHY3, an 8-bit Payload Length, and an 8-bit PHY Header CRC. An MC (Message Counter) number is added to PHY3 within the RTS unit 112 when an A-packet is transmitted. For example, the MC number is a value between 0 and 255, and a different number is added to each A-packet. In this example, the starting value is 0, and the number is incremented for each A-packet, returning to 0 when the value reaches 255, thereby enabling the MC number to be added to all A-packets.

[0025] The PHY Header CRC in the A-packet header is a field for a cyclic redundancy check (CRC), and CRC8 check data is added. The CRC8 calculation range is the A-packet header. The A-packet tail includes a field that is PHY Tail CRC-32. The PHY Tail CRC-32 is a field for a cyclic redundancy check (CRC), and CRC32 check data is added. The CRC32 calculation range is the A-packet header and A-packet payload.

[0026] The sender of an A-packet performs a specified calculation on the data of the A-packet to be sent and adds the value of the calculation result to the A-packet as check data. Meanwhile, the receiver of the A-packet performs a specified calculation on the data of the received A-packet and checks whether the value of the calculation result matches the value of the check data added to the A-packet. If the values ​​match, the transmitted data is correct, but if the values ​​do not match, the transmitted data contains an error, so the receiver of the A-packet can detect an error in the A-packet.

[0027] Figure 4 shows the relationship between error locations in an A-packet and retransmission. As shown in Figure 4, whether or not to perform retransmission is determined depending on the combination of error detection results using CRC8 and CRC32. If no errors are detected by both CRC8 and CRC32, the A-packet has been transmitted normally and no retransmission is required. If no errors are detected by CRC8 but an error is detected by CRC32, a single retransmission is performed. If an error is detected by CRC8, error detection using CRC32 is not performed and a gap retransmission is performed. In this way, on the receiving side of the A-packet, error detection is performed on the A-packet using CRC8 and CRC32, which have different CRC calculation ranges, and two types of retransmission are performed depending on the location where the error was detected.

[0028] In the transmission device 10, when transmitting an A-packet, the transmission fault injection unit 131A can insert an error at a specific position in a specific A-packet to be transmitted. The transmission fault injection unit 131A can insert an error at a specific position by changing the CRC value (CRC check data) of CRC8 or CRC32 added to the A-packet to be transmitted. Alternatively, the value of the portion of the A-packet to be transmitted that is the target of the CRC calculation range can be changed. For example, in the case of CRC8, the value of the A-packet header can be changed, and in the case of CRC32, the value of the A-packet payload can be changed. It is also possible to change both the CRC value and the value of the portion of the CRC calculation range.

[0029] Furthermore, in the transmission device 10, when receiving an A-packet, the reception fault injection unit 131B can insert an error at a specific position in a specific A-packet among the received A-packets. Similar to the transmission fault injection unit 131A, the reception fault injection unit 131B can change the CRC value of CRC8 or CRC32 added to a received normal A-packet, or change the value of the portion that is the target of the CRC calculation range.

[0030] <Operation Flow> The operation of the transmission device 10 of Fig. 2 when a packet error is inserted will be described with reference to the flowcharts of Fig. 5 and Fig. 6. The flowchart of Fig. 5 shows the operation of the keep-alive control unit 121 in the data link unit 111 of Fig. 2. If the keep-alive control unit 121 does not receive data (valid data such as image data) from the processing unit 101 that performs processing related to upper layers for a predetermined period (5.5 μs as defined in the MIPI A-PHY standard) (Yes in S11), the keep-alive control unit 121 checks a keep-alive control signal (Keep Alive Enable / Disable signal) input from an external source (S12).

[0031] If the keep-alive control signal is an Enable signal (Yes in S13), the keep-alive control unit 121 issues a keep-alive (S14). That is, the keep-alive control unit 121 generates a keep-alive packet and controls the transmission of the keep-alive packet to the transmission device 20. On the other hand, if the keep-alive control signal is a Disable signal (No in S13), the keep-alive control unit 121 does not issue a keep-alive (S15). That is, the keep-alive control unit 121 controls the transmission of the keep-alive packet to be stopped. As will be described in detail later, by stopping the keep-alive packet when evaluating the packet retransmission function (that is, when inserting an error into the A-packet by the fault injection unit 113), it becomes easier to identify and control the MC number of the A-packet.

[0032] The flowchart in Fig. 6 shows the operation of the transmission fault injection unit 131A in the fault injection unit 113 in Fig. 2. When an A-packet to be transmitted is input (Yes in S21), the transmission fault injection unit 131A determines whether the input A-packet is to be subjected to error insertion based on the set parameters (S22). When an error is to be inserted into the A-packet (Yes in S23), the transmission fault injection unit 131A determines whether the error insertion position is CRC32 based on the set parameters (S24).

[0033] If the error insertion position is in CRC32 (Yes in S24), the transmission fault injection unit 131A inserts an error into the CRC32 of the A-packet to be transmitted (S25). Here, the CRC value of the CRC32 attached to the A-packet to be transmitted is changed, or the value of the A-packet payload that is the target of the CRC32 calculation range is changed. On the other hand, if the error insertion position is in CRC8 (No in S24), the transmission fault injection unit 131A inserts an error into the CRC8 of the A-packet to be transmitted (S26). Here, the CRC value of the CRC8 attached to the A-packet to be transmitted is changed, or the value of the A-packet header that is the target of the CRC8 calculation range is changed.

[0034] In the explanation of Figure 6, the case where the transmitting fault injection unit 131A inserts an error into an A-packet to be transmitted is described. However, when the receiving fault injection unit 131B inserts an error into a received A-packet, the same processing is performed for inserting an error, except that the A-packet into which the error is inserted is either an A-packet to be transmitted or a received A-packet.

[0035] <Fault Injection Configuration> Fig. 7 is a diagram showing an example of the configuration of the fault injection module 132. The fault injection module 132 is included in the transmission fault injection unit 131A and the reception fault injection unit 131B shown in Fig. 2. In Fig. 7, the fault injection module 132 includes an MC checker 141, a packet counter 142, a selector 143, a selector 144, and an error injection execution unit 145.

[0036] The MC checker 141, packet counter 142, and error insertion execution unit 145 receive a packet (transmitted packet or received packet) from the previous stage. The selector 143 and selector 144 receive a parameter IRG_UL / DL_ERR_IN_MODE. Either 0 or 1 is specified for IRG_UL / DL_ERR_IN_MODE; when 0 is specified, the MC specification mode is selected, and when 1 is specified, the packet count mode is selected. The MC specification mode is a mode in which the MC number of a specific packet (transmitted packet or received packet) is specified, and an error is inserted into the specific packet at a specific position according to the type of error (CRC8 or CRC32). The packet count mode is a mode in which an error is inserted into a specific packet (transmitted packet or received packet) at a specific position according to the type of error (CRC8 or CRC32) when a predetermined number of packets (number of transmitted packets or number of received packets) has been reached.

[0037] The MC checker 141 receives the parameters IRG_UL / DL_ERR_IN_EN, IRG_UL / DL_ERR_IN_MC, IRG_UL / DL_ERR_IN_MCNUM, and IRG_UL / DL_ERR_IN_MCCRC. IRG_UL / DL_ERR_IN_EN is specified as 0 or 1, with 0 being disabled when 0 is specified and 1 being enabled when 1 is specified. IRG_UL / DL_ERR_IN_MC is a parameter that specifies the error insertion MC number, which is the MC number of a specific packet into which an error is inserted. IRG_UL / DL_ERR_IN_MC is only valid in MC specification mode.

[0038] IRG_UL / DL_ERR_IN_MCNUM is a parameter that specifies the maximum number of errors to be inserted into a specific packet. For example, if IRG_UL / DL_ERR_IN_MCNUM is 0, no errors are inserted; if it is 1, errors are inserted only into the original packet; if it is 2, errors are inserted into the original and first retransmitted packets; if it is 3, errors are inserted into the original, first retransmitted, and second retransmitted packets. Furthermore, if IRG_UL / DL_ERR_IN_MCNUM is 7, errors can be inserted into the original and all retransmitted packets. IRG_UL / DL_ERR_IN_MCCRC is a parameter that specifies the type of error to be inserted into a specific packet. For example, IRG_UL / DL_ERR_IN_MCCRC can be specified as 0 or 1. If 0 is specified, CRC32 is used, and if 1 is specified, CRC8 is used.

[0039] The MC checker 141 checks the input packet (transmit packet or receive packet) based on the parameters, and when a specific packet is input, outputs an ERR insertion EN indicating that an error is to be inserted to the selector 144. At this time, the MC checker 141 outputs an error type, CRC8 or CRC32, to the selector 143 as the type of error to be inserted into the specific packet. The MC checker 141 also outputs a parameter, ORG_UL / DL_ERR_IN_MCCNT, indicating the number of errors inserted in the MC specification mode.

[0040] The packet counter 142 receives the following parameters: IRG_UL / DL_ERR_IN_EN, IRG_UL / DL_ERR_IN_PERIOD, and IRG_UL / DL_ERR_IN_PCRC. IRG_UL / DL_ERR_IN_PERIOD is a parameter that specifies an error insertion counter value, which is a counter value corresponding to the frequency at which errors are inserted into specific packets. IRG_UL / DL_ERR_IN_PCRC is a parameter that specifies the type of error to be inserted into specific packets. For example, IRG_UL / DL_ERR_IN_PCRC can be specified as 0, 1, or 2. When 0 is specified, CRC32 is used; when 1 is specified, CRC8 is used; and when 2 is specified, CRC32 and CRC8 are used alternately. IRG_UL / DL_ERR_IN_PERIOD and IRG_UL / DL_ERR_IN_PCRC are only valid in packet count mode.

[0041] The packet counter 142 counts input packets (transmitted packets or received packets) based on the parameters, and when the counted value matches the error insertion counter value, outputs an ERR insertion EN indicating that an error is to be inserted to the selector 144. At this time, the packet counter 142 outputs an error type, CRC8 or CRC32, to the selector 143 as the type of error to be inserted into the specific packet. The packet counter 142 also outputs a parameter, ORG_UL / DL_ERR_IN_PCNT, indicating the number of errors inserted in the packet count mode.

[0042] The selector 143 receives as input the error type from the MC checker 141 and the error type from the packet counter 142. The selector 143 selects one input according to the mode specified by IRG_UL / DL_ERR_IN_MODE, and outputs the error type, CRC8 or CRC32, to the error injection execution unit 145. Specifically, the selector 143 outputs to the error injection execution unit 145 the error type input from the MC checker 141 when the MC specification mode is specified, or the error type input from the packet counter 142 when the packet count mode is specified.

[0043] The selector 144 receives as input the ERR insertion EN from the MC checker 141 and the ERR insertion EN from the packet counter 142. The selector 144 selects one of the inputs according to the mode specified by IRG_UL / DL_ERR_IN_MODE, and outputs the selected ERR insertion EN to the error insertion execution unit 145. Specifically, the selector 144 outputs to the error insertion execution unit 145 the ERR insertion EN input from the MC checker 141 when the MC specification mode is specified, or the ERR insertion EN input from the packet counter 142 when the packet count mode is specified.

[0044] The error injection execution unit 145 receives the error type from the selector 143 and the ERR insertion EN from the selector 144 in synchronization with the packet input from the previous stage. The error injection execution unit 145 outputs the input packet to the next stage as an output packet, and when the ERR insertion EN is input, it inserts a CRC8 or CRC32 error indicated by the error type into the input packet and outputs the output packet with the error inserted. For example, methods of inserting an error include changing the value of the CRC added to the input packet or changing the value of the portion to be calculated by the CRC. When using the insertion method from the next stage, it is sufficient to change the value of the header portion when the error type is CRC8, and the value of the payload portion when the error type is CRC32.

[0045] The transmission fault injection unit 131A or the reception fault injection unit 131B including the fault injection module 132 configured as described above can insert an error at a specific position in a specific packet among input packets depending on whether the mode is MC specification mode or packet count mode. That is, in the MC specification mode, an error can be inserted at a specific position corresponding to the error type, CRC8 or CRC32, in a specific packet to which an MC number indicated by an error insertion MC number specified by a parameter is added. In addition, in the packet count mode, input packets are counted, and when the counted value matches the error insertion counter value specified by a parameter, an error can be inserted at a specific position corresponding to the error type, CRC8 or CRC32, in the specific packet.

[0046] Parameters such as IRG_UL / DL_ERR_IN_MC, IRG_UL / DL_ERR_IN_MCNUM, and IRG_UL / DL_ERR_IN_MCCRC used in the MC specification mode, and parameters such as IRG_UL / DL_ERR_IN_PERIOD and IRG_UL / DL_ERR_IN_PCRC used in the packet count mode can be specified by the user, for example, by inputting them into a register, but other setting methods may also be used. Note that UL / DL in each parameter indicates uplink (UL) and DL indicates downlink (DL).

[0047] <Example of Evaluation of Packet Retransmission Function> Next, a specific example of packets transmitted and received between the transmission device 10 and the transmission device 20 will be shown with reference to the sequences of Figures 8 to 11. Figures 8 and 9 show a case where the transmission device 10, which is the source, is the packet transmitting side and the transmission device 20, which is the sink, is the packet receiving side, and packet transmission is downlink (DL). In this case, in the transmission device 10, which is the source, the transmission fault injection unit 131A inserts an error into a specific transmission packet.

[0048] 10 and 11 show a case where the sink transmission device 20 is the packet sending side and the source transmission device 10 is the packet receiving side, and packet transmission is uplink (UL). In this case, the source transmission device 10 inserts an error into a specific received packet by the reception fault injection unit 131B. In the following explanation, an A-packet with MC=0 will be referred to as packet #0, an A-packet with MC=1 as packet #1, an A-packet with MC=2 as packet #2, and an A-packet with MC number i will be referred to as packet #i.

[0049] <<First Example>> Figure 8 is a diagram showing an example of a sequence when a packet transmitting side inserts errors in MC specified mode during downlink. Figure 8 shows a case where errors are inserted into packet #2 up to three times, and the parameters are set, for example, as follows (P10). That is, IRG_DL_ERR_IN_MODE = 2'b00 specifies the MC specified mode, IRG_DL_ERR_IN_MC = 8'h02 specifies an MC number of 2 as the error insertion MC number, and IRG_DL_ERR_IN_MCNUM = 3'h03 specifies a maximum number of error insertions of three. Furthermore, IRG_DL_ERR_IN_MCCRC = 8'b0000_0010 specifies an error type of CRC32 or CRC8. Here, the lower 3 bits indicate the type of error at the time of the 1st to 3rd error insertion. If 0 is specified, it becomes CRC32, and if 1 is specified, it becomes CRC8, so CRC32, CRC8, CRC32 are specified in that order.

[0050] In the transmission device 10, after transmitting packets #0 and #1, the transmission fault injection unit 131A inserts a CRC32 error as the first error insertion when transmitting packet #2 (P11). After transmitting packet #3, the transmission device 10 receives a retransmission request for packet #2 transmitted from the transmission device 20, and when retransmitting packet #2 in response to the request, the transmission fault injection unit 131A inserts a CRC8 error as the second error insertion (P12). After transmitting packet #4, the transmission device 10 receives a retransmission request for packet #2 transmitted from the transmission device 20, and when retransmitting packet #2 in response to the request, the transmission fault injection unit 131A inserts a CRC32 error as the third error insertion (P13).

[0051] After transmitting packet #5, transmission device 10 receives a retransmission request for packet #2 from transmission device 20 and retransmits packet #2 in response to the request (P14). At this time, since three errors have been inserted into packet #2 and the specified number of errors have been inserted, no error will be inserted into subsequent retransmitted packets #2 (no errors will be inserted).

[0052] In this way, when the packet transmitting side inserts errors in MC specified mode during downlink, by setting parameters such as IRG_DL_ERR_IN_MC and IRG_DL_ERR_IN_MCNUM, it is possible to intentionally generate errors under conditions such as inserting an error into packet #2 up to three times, thereby enabling a reproducible evaluation of the retransmission function.

[0053] <<Second Example>> Figure 9 is a diagram showing an example of a sequence when a packet transmitting side inserts errors in packet count mode during downlink. Figure 9 shows a case where one error packet is inserted every 256 packets, and the parameters are set, for example, as follows (P20). That is, IRG_DL_ERR_IN_MODE = 2'b01 specifies packet count mode, and IRG_DL_ERR_IN_PERIOD = 16'h0100 specifies the error insertion counter value for inserting one error packet every 256 packets. Furthermore, IRG_DL_ERR_IN_PCRC = 2'b10 specifies that the error type is alternating between CRC32 and CRC8.

[0054] The transmission device 10 transmits packets #0, #1, ... in order while updating the counter value (r_packet_cnt) for the number of transmitted packets. When transmitting packet #255, the counter value reaches the error insertion counter value of 256. Therefore, the transmission fault injection unit 131A inserts a CRC32 error into packet #255 as the first error insertion (P21). At this time, the counter value is reset. After transmitting packet #255, when the transmission device 10 receives a retransmission request for packet #255 transmitted from transmission device 20, it retransmits packet #255 in response to the request.

[0055] Thereafter, the transmission device 10 transmits packets #0, #1, ... in order while again updating the counter value. When packet #254 is transmitted, the counter value reaches 256, so the transmission fault injection unit 131A inserts a CRC8 error into packet #254 as the second error insertion (P22). At this time, the counter value is reset. After transmitting packet #255, when the transmission device 10 receives a retransmission request for packet #254 transmitted from transmission device 20, it retransmits packet #254 in response to the request. Thereafter, when the counter value reaches 256, an error is inserted into the corresponding transmitted packet in the same manner.

[0056] In this way, when the packet sender inserts errors in packet count mode during downlink, by setting parameters such as IRG_DL_ERR_IN_PERIOD, it is possible to intentionally generate errors (at a specified frequency) under conditions such as inserting one error packet every 256 packets, thereby enabling reproducible evaluation of the retransmission function.

[0057] <<Third Example>> Figure 10 is a diagram showing an example of a sequence when a packet receiving side inserts errors in MC specified mode during uplink. Figure 10 shows a case where errors are inserted into packet #2 up to three times, and the parameters are set as follows (P30). That is, IRG_UL_ERR_IN_MODE = 2'b00 specifies the MC specified mode, IRG_UL_ERR_IN_MC = 8'h02 specifies an MC number of 2 as the error insertion MC number, IRG_UL_ERR_IN_MCNUM = 3'h03 specifies a maximum number of error insertions of three, and IRG_UL_ERR_IN_MCCRC = 8'b0000_0010 specifies an error type of CRC32 or CRC8.

[0058] In the transmission device 10, when packet #2 is received after packet #0 and packet #1 transmitted from the transmission device 20 are received, the reception fault injection unit 131B inserts a CRC32 error into the received normal packet #2 as the first error insertion (P31). In the transmission device 10, the RTS unit 112 processes packet #2, which was received normally and into which an error was inserted, as an error packet, and transmits a retransmission request for packet #2 to the transmission device 20.

[0059] In the transmission device 10, after receiving packet #3 transmitted from the transmission device 20, when packet #2 retransmitted in response to a retransmission request is received, the reception fault injection unit 131B inserts a CRC8 error into the received normal packet #2 as the second error insertion (P32). In the transmission device 10, the RTS unit 112 transmits a retransmission request for packet #2.

[0060] In the transmission device 10, after receiving packet #4 transmitted from the transmission device 20, when it receives packet #2 retransmitted in response to a retransmission request, the reception fault injection unit 131B inserts a CRC32 error into the received normal packet #2 as the third error insertion (P33). In the transmission device 10, after receiving packet #5 transmitted from the transmission device 20, the RTS unit 112 transmits a retransmission request for packet #2. Thereafter, the transmission device 10 receives packet #2 retransmitted in response to the retransmission request, but because it has already inserted errors into packet #2 three times and has already inserted errors the specified number of times, it does nothing (does not insert errors) for packets #2 received thereafter.

[0061] In this way, when the packet receiving side inserts errors in MC specified mode during uplink, by setting parameters such as IRG_UL_ERR_IN_MC and IRG_UL_ERR_IN_MCNUM, it is possible to intentionally generate errors under conditions such as inserting an error into packet #2 up to three times, thereby enabling a reproducible evaluation of the retransmission function.

[0062] <<Fourth Example>> Figure 11 is a diagram showing an example of a sequence when the packet receiving side inserts errors in packet count mode during uplink. Figure 11 shows a case where one error packet is inserted every 256 packets, and the parameters are set, for example, as follows (P40). That is, IRG_UL_ERR_IN_MODE = 2'b01 specifies the packet count mode, IRG_UL_ERR_IN_PERIOD = 16'h0100 specifies the error insertion counter value for inserting one error packet every 256 packets, and IRG_UL_ERR_IN_PCRC = 2'b10 specifies that the error type is alternating between CRC32 and CRC8.

[0063] The transmission device 10 receives packets #0, #1, ... transmitted from the transmission device 20 in order while updating the counter value (r_packet_cnt) for the number of received packets. When packet #255 is received, the counter value reaches the error insertion counter value of 256. Therefore, the reception fault injection unit 131B inserts a CRC32 error into the received normal packet #255 as the first error insertion (P41). At this time, the counter value is reset. In the transmission device 10, the RTS unit 112 processes packet #2, which was received normally and into which an error was inserted, as an error packet and sends a retransmission request for packet #255 to the transmission device 20. As a result, the transmission device 10 receives packet #255 retransmitted from the transmission device 20.

[0064] Thereafter, the transmission device 10 receives packets #0, #1, ... in order while again updating the counter value. When packet #254 is received, the counter value reaches 256, so the reception fault injection unit 131B inserts a CRC8 error into packet #254 as the second error insertion (P42). In the transmission device 10, the RTS unit 112 transmits a retransmission request for packet #254. As a result, after receiving packet #255 transmitted from transmission device 20, the transmission device 10 receives packet #254 retransmitted in response to the retransmission request. Thereafter, when the counter value reaches 256, an error is inserted into the corresponding received packet in the same manner.

[0065] In this way, when the packet receiving side inserts errors in packet count mode during uplink, by setting parameters such as IRG_UL_ERR_IN_PERIOD, it is possible to intentionally generate errors (at a specified frequency) under conditions such as inserting one error packet every 256 packets, thereby enabling reproducible evaluation of the retransmission function.

[0066] <Keep-Alive Control> The MIPI A-PHY standard specifies that a keep-alive packet be transmitted if no packets containing valid data, such as image data, are transmitted for 5.5 μs. A keep-alive packet is a packet used to confirm normal communication, and its contents are meaningless. When a keep-alive packet is transmitted, it is difficult to determine which MC number will be added to an A-packet containing valid data. In other words, when the MC specification mode is specified, it may not be possible to reproducibly evaluate the contents of the A-packet. This disclosure makes it possible to control whether the generation (transmission) of keep-alive packets is enabled or disabled, making it easier to determine the MC number to be added to an A-packet containing valid data and ensuring reproducibility of the packet contents.

[0067] As shown in FIG. 12 , in the transmission device 10, the transmission unit 102 processes data input from the processing unit 101. In the transmission unit 102, if no valid data (or a packet containing valid data) is transmitted within 5.5 μs, a keep-alive packet is generated by the keep-alive control unit 121 of the data link unit 111. In FIG. 12 , a keep-alive control signal (Keep Alive Enable / Disable signal) is input to the keep-alive control unit 121 under external control, thereby enabling or disabling keep-alive. That is, when an H-level keep-alive control signal is input, the keep-alive control unit 121 enables keep-alive, and if no valid data is transmitted within 5.5 μs, the keep-alive control unit 121 generates a keep-alive packet. Also, when an L-level keep-alive control signal is input, the keep-alive control unit 121 disables keep-alive, and does not generate a keep-alive packet, even if no valid data is transmitted within 5.5 μs.

[0068] 13 is a diagram showing an example of a state machine when keep-alive is enabled. As shown in FIG. 13, when keep-alive is enabled, there are three states: a count state that counts time, a keep-alive insertion state that generates a keep-alive packet and outputs it to a subsequent stage, and a packet forwarding state that outputs a packet input from an upper layer to a subsequent stage. When keep-alive is enabled, time is counted in the count state, and when the counter value reaches 5.5 μs, the state transitions to the keep-alive insertion state, inserts a keep-alive packet, resets the counter, and then returns to the count state. When a packet start is input from an upper layer, the state transitions to the packet forwarding state, outputs a packet to a subsequent stage, resets the counter, and then returns to the count state.

[0069] 14 is a diagram showing an example of a state machine when keep-alive is disabled. As shown in FIG. 14, when keep-alive is disabled, compared to when keep-alive is enabled, the keep-alive insertion state is removed, and instead of the count state, there are two states: an idle state and a packet transfer state. The idle state is a state that does not count time and waits for a packet start. When keep-alive is disabled, the state waits for a packet start in the idle state, and when a packet start is input from an upper layer, it transitions to the packet transfer state, outputs the packet to the subsequent stage, and returns to the count state.

[0070] Here, the relationship between input data and output data in response to the keep-alive control signal (Keep Alive Enable / Disable signal) in the keep-alive control unit 121 will be described with reference to the timing charts of Fig. 15. Fig. 15A is a timing chart of data input from the processing unit 101 to the keep-alive control unit 121. Fig. 15B is a timing chart of data output from the keep-alive control unit 121 when keep-alive is enabled. Fig. 15C is a timing chart of data output from the keep-alive control unit 121 when keep-alive is disabled. In each timing chart, the presence or absence of data is indicated by data enable at H level and L level.

[0071] As shown in A of Fig. 15, no data is input to the keep-alive control unit 121 between time t1 and time t2 after startup, and then transmission of valid data begins at time t2, at which point a packet containing valid data is input. At this time, if the period from time t1 to time t2 exceeds 5.5 μs, the keep-alive control unit 121 outputs a keep-alive packet when keep-alive is enabled, as shown in B of Fig. 15. Even when a keep-alive packet is transmitted, an MC number is added to the packet to be transmitted, and the value of the MC number is incremented for each keep-alive packet.

[0072] In Figure 15B, MC numbers from 0 to n are assigned to keep-alive packets output between time t1 and time t2. Therefore, when MC numbers are assigned to packets containing valid data output after time t2, the starting value of the MC number is n+1, and is incremented for each packet. When keep-alive is enabled, it is difficult to identify or control the MC number, which is n. In particular, it is difficult to check the MC number, set error information, and start outputting valid data, in that order, within 5.5 μs.

[0073] In contrast, as shown in C of Fig. 15, when keep-alive is disabled, the keep-alive control unit 121 does not output keep-alive packets. Therefore, when MC numbers are added to packets containing valid data output after time t2, the MC number starts with 0 and is incremented for each packet. In this way, by stopping keep-alive packets during the period from time t1 to time t2, it becomes easy to identify and control the MC numbers of packets. Keep-alive disable can be set during the startup period before time t1.

[0074] In this way, by making it possible to switch between enabling and disabling the generation (transmission) of keep-alive packets in the keep-alive control unit 121 and controlling the generation (transmission) of keep-alive packets to be disabled when evaluating the retransmission function, it is possible to ensure reproducibility even for the contents of packets with errors inserted (noise-inserted packets).

[0075] When the keep-alive control unit 121 stops the keep-alive packet, a scrambler 151 is provided in the PCS unit 114 of the transmission device 10 on the packet sending side, as shown in Fig. 16. The relationship between input data and output data in the PCS unit 114 when keep-alive is disabled will be described with reference to the timing chart in Fig. 17. Fig. 17A is a timing chart of data input to the PCS unit 114. Fig. 17B is a timing chart of data processed inside the PCS unit 114. Fig. 17C is a timing chart of data output from the PCS unit 114.

[0076] As shown in A of Fig. 17, when keep-alive is disabled, keep-alive packets are stopped, so no keep-alive packets are input between immediately after startup and the start of valid data transmission. At this time, as shown in B of Fig. 17, the PCS unit 114 fills the section where data enable is at L level with zeros. Then, as shown in C of Fig. 17, the scrambler 151 in the PCS unit 114 scrambles the zero-filled data, and outputs it as a random toggle signal.

[0077] The configuration of the transmission device 20 that receives packets transmitted from the transmission device 10 shown in FIG. 16 can be, for example, the configuration shown in FIG. 18. In FIG. 18, the transmission device 20 is composed of a processing unit 201 and a transmission unit 202, and the transmission unit 202 has a PCS unit 211, an RTS unit 212, and a data link unit 213. The PCS unit 211 is provided with a descrambler 251 that performs descrambling corresponding to the scrambling by the scrambler 151. The relationship between input data and output data in the PCS unit 211 when keep-alive is disabled will be described with reference to the timing chart of FIG. 19. A in FIG. 19 is a timing chart of data input to the PCS unit 211. B in FIG. 19 is a timing chart of data output from the PCS unit 211.

[0078] As shown in A of Fig. 19, since the scrambler 151 of the PCS unit 114 on the packet transmission side scrambles the data, a random toggle signal is input to the PCS unit 211 on the packet reception side. At this time, as shown in B of Fig. 19, in the PCS unit 211, the descrambler 251 descrambles the input random toggle signal, thereby restoring the original data. In other words, the data is restored to data in which 0s are inserted into the section where the data enable is at L level. As a result, even if the keep-alive packets are stopped in the transmission device 10 on the packet transmission side, the transmission device 20 on the packet reception side can confirm that communication is successful by monitoring the 0 data between the PE (Packet End) and PS (Packet Start).

[0079] <Effects of Applying the Present Disclosure> Effects obtained by applying the present disclosure will be described. Here, with reference to Figs. 20 to 22 , it will be described that when a method to which the present disclosure is applied is adopted, it is possible to perform a reproducible evaluation of the retransmission function, in comparison with when a conventional method is adopted.

[0080] Fig. 20 is a diagram showing a configuration in which a conventional method is adopted. In Fig. 20, A-packets are transmitted and received between a transmission device 40, which is a source, and a transmission device 50, which is a sink. The transmission device 40 is composed of a data link unit 411, an RTS unit 412, and a PCS unit 413. That is, compared to the transmission device 10 in Fig. 2, the transmission device 40 does not have a fault injection unit 113 that inserts errors into A-packets.

[0081] In Fig. 20, a noise source 60 is provided on the transmission path between transmission device 40 and transmission device 50 to generate an error in an A-packet. Fig. 21 is a diagram showing an example of packets exchanged between a packet sending side and a packet receiving side when a conventional method is adopted. As shown in Fig. 21, when transmission device 40 on the packet sending side transmits packet #N, packet #N+1, packet #N+2, and packet #N+3 in that order, it is assumed that noise source 60 generates noise, causing an error in packet #N+1.

[0082] At this time, because an error has occurred in the received packet #N+1, transmission device 50 on the packet receiving side requests transmission device 40 on the packet sending side to retransmit packet #N+1, but is unable to specify the MC number of the A-packet for which retransmission is requested. In other words, if a noise source 60 is provided to evaluate the packet retransmission function, it is difficult to generate an error in a specific A-packet because it is not synchronized with transmission device 40 and transmission device 50, making it difficult to perform a reproducible evaluation of the retransmission function.

[0083] In contrast, in the method to which the present disclosure is applied, the transmission device 10 in FIG. 2 has a fault injection unit 113 that can inject errors into A-packets, eliminating the need to provide a noise source 60 on the transmission path 30. The fault injection unit 113 can inject errors into specific A-packets based on set parameters, and can arbitrarily determine the packets into which errors are to be injected, such as by intentionally injecting errors with a specified MC number or at a specified frequency, thereby enabling evaluation of the retransmission function with reproducibility. Furthermore, the transmission device 10 in FIG. 2 has a keep-alive control unit 121 that can disable keep-alive, thereby enabling reproducibility of the contents of the A-packets into which errors are to be inserted.

[0084] 22 is a diagram illustrating an example of packets exchanged between a packet sending side and a packet receiving side when a method to which the present disclosure is applied is employed. As illustrated in FIG. 22 , when a packet sending transmission device 10 sends packets #1, #2, #3, and #4 in that order, it is assumed that the transmission fault injection unit 131A inserts an error into packet #2 based on the set parameters. At this time, the packet receiving transmission device 20 detects an error in the received packet #2 and requests the sending transmission device 10 to retransmit packet #2. Here, for example, by disabling keep-alive, the transmission device 20 can identify the MC number of packet #2 in which the error occurred, and can therefore request a retransmission of packet #2 with an MC number of 2.

[0085] Furthermore, by adopting a method to which the present disclosure is applied and providing a reception fault injection unit 131B in the transmission device 10 on the packet receiving side, it is possible to evaluate the retransmission function during uplink even if the transmission device 20 on the packet sending side does not have the transmission fault injection function.

[0086] <Modification> In the above description, a configuration has been shown in which the fault injection unit 113 in the transmission unit 102 of the transmission device 10 has a transmission fault injection unit 131A and a reception fault injection unit 131B, but other configurations may also be adopted. Figure 23 is a diagram showing another example configuration of the transmission unit 102 in the transmission device 10 of Figure 1. In Figure 23, the fault injection unit 113 has only a transmission fault injection unit 131A. In this case, a transmission fault injection unit 131A may be provided in the transmission unit 202 of the transmission device 20 so that errors are inserted into A-packets transmitted on the downlink and uplink.

[0087] Although not shown, the fault injection unit 113 in the transmission unit 102 of the transmission device 10 may be configured to include only the reception fault injection unit 131B. In this case, the transmission unit 202 of the transmission device 20 may be provided with the reception fault injection unit 131B so that errors are inserted into A-packets transmitted on the downlink and uplink. Alternatively, although the above description shows a configuration in which the fault injection unit 113 is provided in the transmission unit 102 of the transmission device 10, which is the source, the fault injection unit 113 may not be provided in the transmission unit 102, and the fault injection unit 113 may be provided in the transmission unit 202 of the transmission device 20, which is the sink.

[0088] In the above description, the transmission unit 102 of the transmission device 10 in FIG. 2 has been described with the fault injection unit 113 disposed between the RTS unit 112 and the PCS unit 114. However, the fault injection unit 113 may be disposed in another location. For example, as shown in FIG. 24, the fault injection unit 113 may be provided inside the RTS unit 112. In FIG. 24, when transmitting a packet, the RTS unit 112 performs RTS processing on a packet supplied from the data link unit 111, and then inserts an error into a specific transmission packet among the transmission packets using the fault injection unit 113. Furthermore, when receiving a packet, the RTS unit 112 performs RTS processing on a specific reception packet among the reception packets from the PCS unit 114 using the fault injection unit 113.

[0089] 25, the fault injection unit 113 may be provided inside the PCS unit 114. In Fig. 25, when transmitting a packet, the PCS unit 114 performs PCS processing after inserting an error into a specific transmission packet from the RTS unit 112 using the fault injection unit 113. When receiving a packet, the PCS unit 114 performs PCS processing on the received packet and then inserts an error into a specific reception packet from the received packets using the fault injection unit 113.

[0090] It should be noted that the embodiments of the present disclosure are not limited to the above-described embodiments, and various modifications are possible within the scope of the gist of the present disclosure. Furthermore, the effects described in this specification are merely examples and are not intended to be limiting, and other effects may also be obtained.

[0091] The present disclosure can also be configured as follows.

[0092] (1) A transmission device comprising a transmission unit that transmits and receives packets to and from another transmission device connected via an A-PHY I / F defined in the MIPI standard, the transmission unit having a first insertion unit that inserts an error at a specific position in a specific transmission packet among transmission packets to be transmitted to the other transmission device based on a set first parameter. (2) The transmission device described in (1), the transmission unit further having a keep-alive control unit that controls transmission of a keep-alive packet when no packet including valid data is transmitted within a predetermined period, the keep-alive control unit stopping transmission of the keep-alive packet when inserting an error into the specific transmission packet. (3) The transmission device described in (1), the first parameter including an error insertion MC number that specifies the MC number of the specific transmission packet, and the first insertion unit inserting an error into the specific transmission packet to which the error insertion MC number specified by the first parameter has been added. (4) The transmission device according to (3), wherein the first parameter includes a maximum error insertion number specifying a maximum number of errors to be inserted into the specific transmission packet, and the first insertion unit inserts errors into the specific transmission packet according to the maximum error insertion number specified by the first parameter. (5) The transmission device according to (1), wherein the first parameter includes an error insertion counter value specifying a frequency at which errors are inserted into the specific transmission packet, and the first insertion unit counts the transmission packets and inserts an error into the specific transmission packet when the counted value matches the error insertion counter value specified by the first parameter. (6) The transmission device according to any of (1) to (5), wherein the first parameter includes an error type specifying a type of error to be inserted into the specific transmission packet, and when inserting an error into the specific transmission packet, the first insertion unit inserts the error at the specific position according to the error type specified by the first parameter.(7) The transmission device according to (6), wherein the error types include CRC8, the calculation range of which is the header of the transmission packet, and CRC32, the calculation range of which is the header and payload of the transmission packet, and wherein the first insertion unit changes a value of CRC8 check data added to the header of the specific transmission packet or changes a value of the header of the specific transmission packet when the error type specified by the first parameter is CRC8, and changes a value of CRC32 check data added to the tail of the specific transmission packet or changes a value of the payload of the specific transmission packet when the error type specified by the first parameter is CRC32. (8) The transmission device according to any of (1) to (5), wherein the transmission unit further includes a second insertion unit that inserts an error at a specific position of a specific received packet among received packets received from the other transmission device based on a set second parameter. (9) The transmission device according to any of (1) to (5), wherein the transmission unit retransmits the specific transmission packet in response to a retransmission request from the other transmission device. (10) The transmission device according to (2), wherein the transmission unit further includes an RTS unit that performs processing related to retransmission and a PCS unit that performs processing related to a physical coding sublayer, and the first insertion unit is provided between the RTS unit and the PCS unit, inside the RTS unit, or inside the PCS unit. (11) The PCS unit zero-pads the input from the first insertion unit to a section where data enable is at L level, and then scrambles the input using a scrambler to output it as a random toggle signal, and the PCS unit of the other transmission device includes a descrambler corresponding to the scrambler. (12) A transmission method, wherein a transmission device transmits and receives packets to and from another transmission device connected via an A-PHY I / F defined in the MIPI standard, and inserts an error at a specific position in a specific transmission packet among transmission packets to be transmitted to the other transmission device based on a set first parameter.

[0093] REFERENCE SIGNS LIST 1 Transmission system, 10 Transmission device, 20 Transmission device, 101 Processing unit, 102 Transmission unit, 111 Data link unit, 112 RTS unit, 113 Fault injection unit, 114 PCS unit, 121 Keep alive control unit, 131A Transmission fault injection unit, 131B Reception fault injection unit, 132 Fault injection module, 141 MC checker, 142 Packet counter, 143 Selector, 144 Selector, 145 Error insertion execution unit, 151 Scrambler, 201 Processing unit, 202 Transmission unit, 211 PCS unit, 212 RTS unit, 213 Data link unit

Claims

1. A transmission device comprising a transmission unit that transmits and receives packets with other transmission devices connected via an A-PHY I / F defined in the MIPI standard, the transmission unit having a first insertion unit that inserts an error at a specific position in a specific transmission packet among the transmission packets to be transmitted to the other transmission device based on a first parameter that has been set.

2. The transmission device according to claim 1, wherein the transmission unit further has a keep-alive control unit which controls the transmission of a keep-alive packet when no packet containing valid data is transmitted within a specified period of time, and the keep-alive control unit stops transmitting the keep-alive packet when an error is inserted into the specific transmission packet.

3. The transmission device according to claim 1, wherein the first parameter includes an error insertion MC number that specifies an MC number of the specific transmission packet, and the first insertion unit inserts an error into the specific transmission packet to which the error insertion MC number specified by the first parameter has been added.

4. The transmission device described in claim 3, wherein the first parameter includes a maximum number of errors to be inserted into the specific transmission packet, and the first insertion unit inserts errors into the specific transmission packet according to the maximum number of errors to be inserted specified by the first parameter.

5. The transmission device of claim 1, wherein the first parameter includes an error insertion counter value that specifies the frequency at which an error is to be inserted into the specific transmission packet, and the first insertion unit counts the transmission packets and, when the counted value matches the error insertion counter value specified by the first parameter, inserts an error into the specific transmission packet.

6. The transmission device according to claim 1, wherein the first parameter includes an error type that specifies a type of error to be inserted into the specific transmission packet, and when inserting an error into the specific transmission packet, the first insertion unit inserts the error into the specific position according to the error type specified by the first parameter.

7. The transmission device of claim 6, wherein the error types include CRC8, the calculation range of which is the header of the transmission packet, and CRC32, the calculation range of which is the header and payload of the transmission packet, and wherein the first insertion unit, when the error type specified by the first parameter is CRC8, changes the value of CRC8 check data added to the header of the specific transmission packet or changes the value of the header of the specific transmission packet, and when the error type specified by the first parameter is CRC32, changes the value of CRC32 check data added to the tail of the specific transmission packet or changes the value of the payload of the specific transmission packet.

8. The transmission device according to claim 1, wherein the transmission unit further has a second insertion unit that inserts an error at a specific position in a specific received packet among the received packets received from the other transmission device based on a set second parameter.

9. The transmission device according to claim 1, wherein said transmission unit retransmits said particular transmission packet in response to a retransmission request from said other transmission device.

10. The transmission device according to claim 2, wherein the transmission unit further has an RTS unit that performs processing related to retransmission and a PCS unit that performs processing related to a physical coding sublayer, and the first insertion unit is provided between the RTS unit and the PCS unit, inside the RTS unit, or inside the PCS unit.

11. The transmission device according to claim 10, wherein the PCS unit outputs the input from the first insertion unit as a random toggle signal by padding the input with zeros in a section where data enable is at L level and then scrambling the input using a scrambler, and the PCS unit of the other transmission device has a descrambler corresponding to the scrambler.

12. A transmission method in which a transmission device transmits and receives packets to and from another transmission device connected via an A-PHY I / F defined in the MIPI standard, and inserts an error at a specific position in a specific transmission packet among the transmission packets to be transmitted to the other transmission device based on a first parameter that has been set.

Citation Information

Patent Citations

  • Forward error correction circuit

    JP1988156447A

  • Fault detector between communication equipments

    JP1993130174A

  • Error adding circuit

    JP1994141056A

  • Wireless communication equipment evaluation system

    JP2008153729A

  • FEC error adding device, test signal generating device using the same, and FEC error adding method

    JP2020120249A

Cited By

  • Communication device and communication method

    WO2026191589A1