COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM

By transmitting packet headers and footers independently for each lane and incorporating error recognition, the communication system addresses the reliability issues of the CSI-2 standard for in-vehicle cameras, ensuring continuous and reliable data transmission.

JP7570930B2Active Publication Date: 2024-10-22SONY SEMICON SOLUTIONS CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2020572171
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-02-15
Filing Date
2020-01-31
Publication Date
2024-10-22
Estimated Expiration
2040-01-31

AI Technical Summary

Technical Problem

The existing CSI-2 standard, designed for mobile devices, lacks the reliability required for in-vehicle cameras due to difficulties in identifying lane-specific errors, leading to delayed detection and recovery from communication disruptions.

Method used

The communication system transmits packet headers and footers independently for each lane, includes a payload header with a message count and lane number, and implements error recognition to quickly identify and bypass faulty lanes, ensuring continuous communication.

Benefits of technology

This approach enables immediate detection and recovery from lane errors, enhancing communication reliability in in-vehicle systems by allowing uninterrupted data transmission even in the presence of faults.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007570930000001
    Figure 0007570930000001
  • Figure 0007570930000002
    Figure 0007570930000002
  • Figure 0007570930000003
    Figure 0007570930000003
Patent Text Reader

Abstract

The present disclosure relates to a communication device, a communication method, and a program that enable increased reliability. When packets are distributed to multiple lanes and transmitted, at least one of the packet header and packet footer of the packet is transmitted independently for each lane. The packet footer transmitted for each lane is a CRC calculated from the payload of the packet distributed to the corresponding lane, and the packet header transmitted for each lane contains a word count indicating the number of bytes of the payload of the packet distributed to the corresponding lane. This technology can be applied to communication systems used, for example, to connect in-vehicle cameras.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a communication device, a communication method, and a program, and more particularly to a communication device, a communication method, and a program that can improve reliability. [Background technology]

[0002] Standardization of CSI (Camera Serial Interface)-2 ver. 4.0 is currently underway, and revisions and considerations are underway to enable its use not only in mobile devices but also in a wide range of applications such as in-vehicle and IoT (Internet of Things).

[0003] Meanwhile, in-vehicle cameras are subject to requirements different from those of mobile devices, such as the requirement to comply with the Functional Safety standard stipulated in the ISO26262 standard. In particular, in autonomous vehicles, computers recognize the environment based on images captured by in-vehicle cameras and drive autonomously. For this reason, in-vehicle cameras must be reliable enough to prevent errors from occurring.

[0004] For example, if an error occurs such as a disconnection in the wiring connecting the vehicle camera and the computer when the vehicle crashes, it is necessary to continue transmitting images using other undisconnected wiring. This allows the computer to drive autonomously and safely stop the vehicle by pulling it over to the shoulder of the road.

[0005] Furthermore, Patent Document 1 proposes a system that utilizes the CSI-2 standard to reduce the number of data buses when connecting a processing device and a plurality of image sensors. [Prior art documents] [Patent documents]

[0006] [Patent Document 1] JP 2017-211864 A Summary of the Invention [Problem to be solved by the invention]

[0007] However, the existing CSI-2 standard has a packet structure specialized for use in mobile devices, making it difficult to ensure the reliability required for use in in-vehicle cameras as described above.

[0008] The present disclosure has been made in light of these circumstances, and is intended to make it possible to further improve reliability. [Means for solving the problem]

[0009] A communication device according to a first aspect of the present disclosure includes a transmission unit that, when distributing packets to a plurality of lanes and transmitting the packets to a receiving communication device, transmits at least one of a packet header and a packet footer of the packets independently for each of the lanes. a payload header generating unit for generating a payload header to be placed at the beginning of the payload of the packet; Equipped with The transmitter transmits the payload header for each lane independently, and the payload header includes a message count that is incremented for each lane, and a lane number that identifies the lane on which the message is transmitted. .

[0010] A communication method or a program according to a first aspect of the present disclosure includes, when distributing packets to a plurality of lanes and transmitting the packets between a receiving communication device and the receiving communication device, transmitting at least one of a packet header and a packet footer of the packets independently for each of the lanes. generating a payload header to be placed at the beginning of the payload of the packet; Including and transmitting the payload header independently for each lane, the payload header including a message count incremented for each lane and a lane number identifying the lane on which the message is being transmitted. .

[0011] In a first aspect of the present disclosure, when distributing packets to a plurality of lanes and transmitting the packets between a receiving communication device and the receiving communication device, at least one of a packet header and a packet footer of the packets is transmitted independently for each lane; A payload header is generated that is placed at the beginning of the packet payload and is transmitted independently for each lane, and includes a message count that is incremented for each lane, and a lane number that identifies the lane on which the message is transmitted.

[0012] In a communication device according to a second aspect of the present disclosure, at least one of a packet header and a packet footer of a packet distributed to a plurality of lanes and transmitted from a transmitting communication device is transmitted independently for each lane, and a message count that is incremented for each lane is included at the beginning of a payload of the packet, and a lane number that identifies the lane along which the packet is transmitted is included at the beginning of the payload of the packet. Contains The packet includes a payload header including a message count and a lane number, and the packet includes a receiving unit that receives the packet, and an error processing unit that identifies the lane in which an abnormality has occurred among the plurality of lanes based on the message count and the lane number, and sets the transmitting communication device to stop using the lane.

[0013] In a communication method or program according to a second aspect of the present disclosure, at least one of a packet header and a packet footer of a packet distributed and transmitted from a transmitting communication device to a plurality of lanes is transmitted independently for each of the lanes, and a message count that is incremented for each of the lanes is included at the beginning of a payload of the packet, and a lane number that identifies the lane along which the packet is transmitted is included at the beginning of the payload of the packet. Contains The method includes receiving the packet, and specifying the lane in which an abnormality has occurred among the plurality of lanes based on the message count and the lane number, and setting the transmitting communication device to stop using the lane.

[0014] In a second aspect of the present disclosure, at least one of a packet header and a packet footer of a packet distributed and transmitted from a transmitting communication device to a plurality of lanes is transmitted independently for each lane, and a message count that is incremented for each lane is included at the beginning of the payload of the packet, and a lane number that identifies the lane to which the packet is transmitted is included at the beginning of the payload of the packet. ContainsA payload header containing a message count and a lane number is then placed in the packet. The packet is then received, and the lane in which the abnormality has occurred is identified from among the multiple lanes based on the message count and the lane number, and the transmitting communication device is set to stop using the identified lane. [Brief description of the drawings]

[0015] [Figure 1] 1 is a block diagram showing a configuration example of a first embodiment of a communication system to which the present technology is applied. [Diagram 2] FIG. 1 is a diagram illustrating a conventional packet structure and lane distribution. [Diagram 3] 11 is a diagram illustrating the packet structure of an extended packet and parallel transmission settings. FIG. [Figure 4] 11 is a diagram illustrating an example of a packet structure of a short packet used for error notification. FIG. [Diagram 5] FIG. 2 is a block diagram showing a configuration example of an image sensor. [Figure 6] FIG. 2 is a block diagram showing a configuration example of an application processor. [Figure 7] FIG. 2 is a block diagram showing a configuration example of a serializer. [Figure 8] 11 is a flowchart illustrating a process in which the image sensor transmits a packet. [Figure 9] 13 is a flowchart illustrating an extended mode transmission process. [Figure 10] 11 is a flowchart illustrating a process in which an application processor receives a packet. [Figure 11] 11 is a flowchart illustrating an extended mode reception process. [Figure 12] 13 is a flowchart illustrating an error process. [Figure 13] 11 is a block diagram showing a configuration example of a second embodiment of a communication system to which the present technology is applied. FIG. [Figure 14] FIG. 13 is a diagram illustrating a second configuration example of the packet structure of an extended packet. [Figure 15] FIG. 2 is a diagram illustrating a schematic configuration example of an image sensor and an application processor. [Figure 16] 1 is a block diagram showing an example of the configuration of an embodiment of a computer to which the present technology is applied. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0016] Hereinafter, specific embodiments to which the present technology is applied will be described in detail with reference to the drawings.

[0017] <First Configuration Example of Communication System> FIG. 1 is a block diagram showing a configuration example of a first embodiment of a communication system to which the present technology is applied.

[0018] 1, the communication system 11 includes an image sensor 21, an application processor 22, a serializer 23, and a deserializer 24. The image sensor 21 and the serializer 23 are connected via a bus 25-1, the application processor 22 and the deserializer 24 are connected via a bus 25-2, and the serializer 23 and the deserializer 24 are connected via a bus 26. For example, the communication system 11 is used for connection in an existing vehicle-mounted camera.

[0019] The image sensor 21 is configured by incorporating, for example, a lens, an imaging element (neither of which are shown), and an extended mode-compatible CSI-2 transmission circuit 31. For example, the image sensor 21 transmits image data of an image captured by the imaging element to the application processor 22 via the extended mode-compatible CSI-2 transmission circuit 31.

[0020] The application processor 22 is configured by incorporating an extended mode-compatible CSI-2 receiving circuit 32 together with an LSI (Large Scale Integration) that performs processing according to various applications executed in a mobile device having the communication system 11. For example, the application processor 22 can receive image data transmitted from the image sensor 21 by the extended mode-compatible CSI-2 receiving circuit 32 and perform processing on the image data by the LSI according to the application.

[0021] The serializer 23 is configured to include a CSI-2 receiving circuit 33 and a SerDes (Serializer Deserializer) transmitting circuit 34. For example, the serializer 23 acquires a bit-parallel signal transmitted from the image sensor 21 by the CSI-2 receiving circuit 33 performing communication conforming to the normal CSI-2 standard with the extended mode-compatible CSI-2 transmitting circuit 31. The serializer 23 then converts the acquired signal into a bit-serial signal, and transmits the signal to the deserializer 24 by the SerDes transmitting circuit 34 performing one-lane communication with the SerDes receiving circuit 35.

[0022] The deserializer 24 is configured to include a SerDes receiving circuit 35 and a CSI-2 transmitting circuit 36. For example, the deserializer 24 acquires a bit-serial signal transmitted by the SerDes receiving circuit 35 performing one-lane communication with the SerDes transmitting circuit 34. The deserializer 24 then converts the acquired signal into a bit-parallel signal, and transmits the signal to the application processor 22 by the CSI-2 transmitting circuit 36 ​​performing communication with the extended mode-compatible CSI-2 receiving circuit 32 in compliance with the normal CSI-2 standard.

[0023] The buses 25-1 and 25-2 are communication paths that transmit signals in compliance with the CSI-2 standard, and the transmission distance over which signals can be transmitted is, for example, approximately 30 cm. As shown in the figure, the bus 25 connects the image sensor 21 and the application processor 22 via multiple signal lines (HS-GPIO, I2C or I3C, CLKP / N, D0P / N, D1P / N, D2P / N, D3P / N).

[0024] Bus 26 is a communication path that transmits signals in compliance with a SerDes standard other than CSI-2, such as FPD (Flat Panel Display)-LINK III, and the transmission distance over which signals can be transmitted is, for example, approximately 15 m.

[0025] Here, in the communication system 11, the extended mode-compatible CSI-2 transmitter circuit 31 and the extended mode-compatible CSI-2 receiver circuit 32 support communication in an extended mode that is an extended version of the CSI-2 standard, and can transmit and receive packets used in the extended mode (hereinafter referred to as extended packets) as shown in Fig. 3, which will be described later. For example, the extended mode-compatible CSI-2 receiver circuit 32 has an error recognition function that recognizes errors that occur on the bus 25-2 based on extended packets transmitted via the bus 25-2. Note that detailed configurations of the extended mode-compatible CSI-2 transmitter circuit 31 and the extended mode-compatible CSI-2 receiver circuit 32 will be described later with reference to Figs. 5 and 6.

[0026] In the communication system 11, the CSI-2 receiving circuit 33 has an error recognition function for recognizing an error occurring on the bus 25-1 based on an extended packet transmitted via the bus 25-1. The detailed configuration of the CSI-2 receiving circuit 33 will be described later with reference to FIG.

[0027] Incidentally, when employing communication system 11 in an in-vehicle camera as described above, higher reliability is required, for example, so that communication can be continued quickly even if a malfunction occurs, and therefore it is necessary to take measures against the two points described below.

[0028] Conventionally, a packet transmitted from the image sensor 21 to the application processor 22 has a packet structure as shown in FIG. 2, for example, and is distributed to a plurality of lanes for transmission.

[0029] The upper part of Fig. 2 shows a packet structure of a CSI-2 Long Packet for D-PHY when D-PHY is used in the physical layer, as an example of a packet transmitted from the image sensor 21 to the application processor 22. The lower part of Fig. 2 shows a state in which the CSI-2 Long Packet for D-PHY is distributed to N lanes and transmitted.

[0030] Conventionally, both the packet header (PH) and the packet footer (PF) are distributed to multiple lanes and transmitted in parallel, as shown in Figure 2. Therefore, if an error occurs in one of these lanes, it may not be possible to identify the lane in which the error occurred.

[0031] For example, if a 1-bit error occurs in packet data, a CRC error is detected in the existing CSI-2 standard. However, since the packet structure has only one CRC for the entire packet, the receiving side cannot identify in which lane the 1-bit error occurred. For this reason, the application processor 22 cannot separate a specific lane where errors frequently occur and resume communication using only normal lanes other than that lane.

[0032] Therefore, when the communication system 11 is used in an on-board camera, a measure is required to enable identification of the lane in which the error has occurred.

[0033] Also, for example, if the signal line D1P / N marked with an x ​​in Fig. 1 is disconnected, the receiving side cannot immediately detect which lane is disconnected. Similarly, if SYNC is lost due to a bit error or the like occurring in the signal line D1P / N, the receiving side cannot immediately detect in which lane the bit error occurred and caused the SYNC to be lost.

[0034] For example, the serializer 23 is configured under the assumption that if a CRC error occurs in the payload, data can be output from the SerDes transmission circuit 34 even if an error occurs.

[0035] On the other hand, if any lane is disconnected or if SYNC is lost due to a bit error occurring in any lane, the serializer 23 cannot receive the payload itself and cannot output data from the SerDes transmission circuit 34. That is, while a 1-bit error can be corrected by the Hamming code, if a 2-bit error is detected (SECDED), the serializer 23 cannot correctly receive WC (Word Count: data length of the payload) in the packet header. For this reason, the serializer 23 does not know the length of the payload and cannot output data from the SerDes transmission circuit 34, just like in the case of a disconnection.

[0036] Furthermore, if there is a sync loss due to simple bit corruption, or if an error of 2 or more bits occurs in the packet header, even if communication is restored with the next packet, it is not possible to determine which lane the packet loss occurred in. This requires a separate inquiry using I2C or similar, which causes delays before communication can be resumed by avoiding lanes with high error frequencies.

[0037] Furthermore, if a disconnection occurs, the application processor 22 will be unable to receive any communication thereafter. Therefore, the downstream application processor 22 will suspect the possibility of a disconnection after a certain period of time has passed, and will be able to detect the disconnection error by reading the registry settings of the serializer 23 using I2C or the like, but there will be a delay before this can happen. For an in-vehicle camera, this delay is expected to be fatal.

[0038] Therefore, when the communication system 11 is used in an on-vehicle camera, a measure is required to immediately detect the occurrence of a malfunction and to enable communication to continue without delay.

[0039] Therefore, the communication system 11 is configured to be able to identify the lane in which the error has occurred, and to be able to immediately detect the occurrence of a malfunction and continue communication without delay.

[0040] For example, in the communication system 11, an extended packet (CSI-2 Long Packet for D-PHY) having a packet structure as shown in the upper part of Fig. 3 is transmitted from the extended mode-compatible CSI-2 transmission circuit 31 to the extended mode-compatible CSI-2 reception circuit 32. Then, in the communication system 11, as shown in the lower part of Fig. 3, a state in which this extended packet is distributed to N lanes (lane distribution) and transmitted is shown.

[0041] For example, the packet header and packet footer of the extended packet have the same packet structure as the existing CSI-2 standard. For example, the packet header stores VC (Virtual Channel) indicating the number of virtual channel lines, DataType indicating the type of data, WC (Word Count) indicating the data length of the payload, and VCX / ECC. The packet footer stores CRC (Cyclic Redundancy Check).

[0042] In the existing CSI-2 standard, the data types transmitted in the packet header are defined as reserved from 0x38 to 0x3F. Therefore, in the D-PHY extended packet, setting information for identifying the extended mode on the receiving side is newly defined using the existing reserved data types.

[0043] For example, the data type is · If DataType[5:3]=3'b111, extended mode · DataType[2] = Reserve (RES: reserved for future expansion) · DataType[1:0] = extension mode type (four extension modes available) Define.

[0044] That is, among the data types 0x38 to 0x3F defined as reserved in the existing CSI-2 standard, for example, DataType[5:3] is defined as the extended mode setting information, and DataType[1:0] is defined as the extended type setting information. The extended mode setting information indicates whether or not the mode is the extended mode, and for example, when DataType[5:3] is 3'b111, it indicates that the mode is the extended mode. In addition, when four types of extended mode, extended mode 0, extended mode 1, extended mode 2, and extended mode 3, are prepared as types of extended mode, the extended type setting information indicates which of them it is. For example, when DataType[1:0] is 2'b00, it indicates that the type of extended mode is extended mode 0.

[0045] In the extended mode 0 (DataType[1:0]=2′b00), for example, a packet structure in which the payload is separated into four parts is defined. That is, the payload in the extended mode 0 is separated into an extended payload header (ePH), an optional extended payload header (OePH), a legacy payload, and an optional extended payload footer (OePF), as shown in FIG.

[0046] The extended payload header is placed at the beginning of the payload of the existing CSI-2 standard, and must be transmitted in the extended mode. For example, as shown in the figure, the extended payload header is composed of setting information such as an SROI identification flag, an extended VC (Virtual Channel), an extended DataType, an OePH selection flag, and an OePF selection flag. Here, the extended VC extends the VC, which was 4 bits in the existing CSI-2 standard, to 8 bits, and the extended DataType extends the DataType, which was 4 bits in the existing CSI-2 standard, to 8 bits.

[0047] For example, in a packet for D-PHY, the VC of the existing packet header already has 4 bits, and by defining the extended VC of the extended payload header as 4 bits, the total can be 8 bits. Specifically, it can be defined as OePH[7:0] = {5'h00,RSID,XY_POS,MC}, OePF[3:0] = {3'h0,pCRC}, and it is possible to control ON / OFF of packet transmission required for each purpose.

[0048] The optional extended payload header and the optional extended payload footer are selectively transmitted depending on the application.

[0049] The legacy payload corresponds to the payload that is identical to the existing CSI-2 standard.

[0050] In this way, by setting the extended payload header, optional extended payload header, and optional extended payload footer as necessary, it becomes possible to transmit data corresponding to various applications. In addition, data transmitted in the extended payload header, optional extended payload header, and optional extended payload footer is coded with 26bit+6bit ECC (Error Correction Code). This makes it possible to suppress an increase in circuit size by utilizing the existing payload header circuit, and to improve error tolerance.

[0051] In communication system 11, the packet header is not distributed by lane, but is copied according to the number of lanes, and the packet header is transmitted independently on each lane. In order to enable the receiver to reproduce the payload for each lane, only the WC (Word Count) included in the packet header is changed from the existing CSI-2 standard and newly defined to indicate the number of bytes of the payload in each lane.

[0052] Furthermore, in the communication system 11, the packet footer is not distributed by lane, but the CRC that becomes the packet footer is calculated independently for each payload in each lane, and the packet footer is transmitted independently in each lane.

[0053] Furthermore, in the communication system 11, as in the packet header, the MC (Message Count for GLD) included in the payload is not distributed to the lane, and the MC is transmitted independently in each lane. At this time, in the communication system 11, the LN (Lane Number) indicating the lane through which the MC was transmitted is also transmitted by incrementing (+1) each time the MC is transmitted. Note that the MC is placed in an optional extended payload header (OePH) as shown in FIG. 3. Note that the transmission of the LN is not essential, and the LN may be transmitted as necessary.

[0054] In addition, in Fig. 3, an example is shown in which PH (Packet Header), ePH (extended Payload Header), OePH, OePF (Optional extended Payload Footer), and PF (Packet Footer) are copied and transmitted for each lane. In this example, only the legacy payload is distributed to the lane on the transmitting side.

[0055] 3, the setting of transmitting the packet header, WC, and packet footer for each lane independently (hereinafter referred to as parallel transmission setting) is an almost essential function when the communication system 11 is employed in an in-vehicle camera, and therefore does not need to be dynamically switched on / off. Therefore, in the communication system 11, the application processor 22 is configured to turn on / off this parallel transmission setting for the registry of the image sensor 21 at the start of communication.

[0056] Therefore, the communication system 11 can have an error recognition function that recognizes in which lane an error has occurred and the type of error that has occurred. Furthermore, when the CSI-2 receiving circuit 33 recognizes an error, it notifies the application processor 22 of the error information.

[0057] FIG. 4 shows the packet structure of a CSI-2 Short Packet used for notifying error information from the CSI-2 receiving circuit 33 to the application processor 22.

[0058] For example, as shown in FIG. 4, a DataType (=0x00-0x0F) for notifying the occurrence of an error is assigned to the Data ID of a CSI-2 Short Packet.

[0059] In addition, the Data Field of the CSI-2 Short Packet stores the lane in which the error occurred and the error content {Error_Lane[7:0], Error_Type[7:0]}. For example, Error_Lane[7:0] indicates the lane in which the error occurred. As an example, Error_Lane[0] indicates that an error occurred in Lane 1, and Error_Lane[1] indicates that an error occurred in Lane 2. In addition, Error_Type[7:0] indicates the type of error that occurred in one of the lanes. As an example, Error_Type[0] indicates Sync loss, and Error_Type indicates PH error.

[0060] Specifically, if Lane 1 is able to receive normally, Sync loss occurs in Lane 2, Lane 3 is able to receive normally, and a PH error occurs in Lane 4, the Data Field of the CSI-2 Short Packet will contain {8'b0000_1010,8'b0000_0011}.

[0061] <Example configuration of image sensor, application processor, and serializer> FIG. 5 is a block diagram showing an example of the configuration of the image sensor 21 including an extended mode-compatible CSI-2 transmission circuit 31.

[0062] 5, the image sensor 21 is configured to include, in addition to the extended mode-compatible CSI-2 transmission circuit 31, pixels 41, an AD converter 42, an image processing unit 43, a pixel CRC calculation unit 44, a physical layer processing unit 45, an I2C / I3C slave 46, and a register 47. The extended mode-compatible CSI-2 transmission circuit 31 is also configured to include a packing unit 51, a packet header generation unit 52, a payload header generation unit 53, a payload footer generation unit 54, selection units 55 and 56, a CRC calculation unit 57, a lane distribution unit 58, a CCI slave 59, and a controller 60.

[0063] The pixels 41 output analog pixel signals according to the amount of light received, and an analog-to-digital converter (ADC) 42 digitally converts the pixel signals output from the pixels 41 and supplies them to an image processing unit 43. The image processing unit (ISP) 43 supplies image data obtained by performing various image processes on an image based on the pixel signals to a pixel CRC calculation unit 44 and a packing unit 51. The image processing unit 43 also supplies a data enable signal data_en indicating whether the image data is valid to the packing unit 51 and the controller 60.

[0064] The pixel CRC calculation unit 44 calculates and obtains a CRC for each pixel in the image data supplied from the image processing unit 43, and supplies the CRC to a payload footer generation unit 54.

[0065] The physical layer processing unit 45 can execute physical layer processing of both C-PHY and D-PHY. For example, the physical layer processing unit 45 executes physical layer processing of C-PHY when a C layer enable signal cphy_en supplied from the controller 60 is valid, and executes physical layer processing of D-PHY when the C layer enable signal cphy_en is invalid. Then, the physical layer processing unit 45 transmits the packet divided into four lanes by the lane distribution unit 58 to the application processor 22.

[0066] The I2C / I3C slave 46 performs communication under the initiative of an I2C / I3C master 72 (FIG. 6) of the application processor 22 based on the Inter-Integrated Circuit (I2C) or Improved Inter Integrated Circuits (I3C) standard.

[0067] Various settings transmitted from the application processor 22 are written to the register 47 via the I2C / I3C slave 46 and the CCI slave 59. Here, the settings written to the register 47 include, for example, communication settings according to the CSI-2 standard, extended mode settings indicating whether or not the extended mode is used, fixed communication settings required for communication in the extended mode, and the like.

[0068] The packing unit 51 performs a packing process for storing the image data supplied from the image processing unit 43 in the payload of a packet, and supplies the payload to a selection unit 55 and a lane distribution unit 58 .

[0069] When the packet header generation unit 52 is instructed to generate a packet header in accordance with a packet header generation instruction signal ph_go supplied from the controller 60, it generates a packet header including a WC indicating the number of payload bytes for each lane and supplies it to the selection unit 55 and the lane distribution unit 58.

[0070] That is, the packet header generator 52 generates a packet header that stores setting information indicating conditions set for data transmitted in a packet, for example, a data type indicating the type of data, in accordance with the existing CSI-2 standard. Also, the packet header generator 52 stores extended mode setting information indicating whether or not the extended mode uses an extended header in an unused area defined as unused in the existing CSI-2 standard in the data type, which is setting information indicating the type of data transmitted in a packet. Furthermore, the packet header generator 52 stores extended type setting information indicating which type of extended mode is used among a plurality of types of extended modes provided as extended modes, in the unused area.

[0071] The payload header generator 53 generates an extended payload header and an optional extended payload header in accordance with an extended payload header generation instruction signal eph_go and an extended payload header enable signal ePH_en supplied from the controller 60, and supplies them to the selector 56 and the lane distributor 58. The payload header generator 53 is also supplied with an in-vehicle row number, a source ID (identification), and the like according to the application of the image sensor 21, and stores them in the extended payload header or the optional extended payload header as necessary.

[0072] That is, the payload header generator 53 generates an extended payload header, for example, as shown in Fig. 3, in addition to the packet header generated by the packet header generator 52. Furthermore, when transmitting an optional extension header, the payload header generator 53 stores optional extension header setting information indicating that an optional extension header is to be transmitted in the extension header as optional extension header setting information (OePH[7:0]) indicating whether or not an optional extension header is to be transmitted, and generates an optional extension header following the extension header.

[0073] The payload footer generator 54 generates an optional extended payload footer in accordance with an extended payload footer generation instruction signal epf_go and an extended payload header enable signal ePF_en supplied from the controller 60 , and supplies the generated optional extended payload footer to the selector 56 and lane distributor 58 .

[0074] That is, when a packet transmitted in extended mode is an extended long packet that stores data transmitted as a payload in the existing CSI-2 standard, the payload footer generator 54 generates an optional extended payload footer to be placed following the legacy payload in which the data is stored.

[0075] Furthermore, a C-layer enable signal cphy_en is supplied from the controller 60 to the packet header generator 52, the payload header generator 53, and the payload footer generator 54. When the C-layer enable signal cphy_en indicates valid, the packet header generator 52 generates a packet header for C-PHY, the payload header generator 53 generates an extended payload header and an optional extended payload header for C-PHY, and the payload footer generator 54 generates an optional extended payload footer for C-PHY. On the other hand, when the C-layer enable signal cphy_en indicates invalid, the packet header generator 52 generates a packet header for D-PHY, the payload header generator 53 generates an extended payload header and an optional extended payload header for D-PHY, and the payload footer generator 54 generates an optional extended payload footer for D-PHY.

[0076] When the C layer enable signal cphy_en supplied from the controller 60 is valid, the selector 55 selects the packet header supplied from the packet header generator 52 and supplies it to the selector 56. On the other hand, when the C layer enable signal cphy_en is invalid, the selector 55 selects the payload supplied from the packing unit 51 and supplies it to the selector 56.

[0077] In accordance with a data selection signal data_sel supplied from the controller 60, the selection unit 56 selects one of the packet header or payload selectively supplied via the selection unit 55, the extended payload header and optional extended payload header supplied from the payload header generation unit 53, and the optional extended payload footer supplied from the payload footer generation unit 54, and supplies the selected one to the CRC calculation unit 57.

[0078] The CRC calculation unit 57 calculates the CRC of the packet header, payload, extended payload header, optional extended payload header, or optional extended payload footer selectively supplied via the selection unit 56, and supplies the CRC to the lane distribution unit 58.

[0079] Under the control of the controller 60, the lane distribution unit 58 distributes the payload supplied from the packing unit 51, the packet header supplied from the packet header generation unit 52, the extended payload header and optional extended payload header supplied from the payload header generation unit 53, the optional extended payload footer supplied from the payload footer generation unit 54, and the CRC supplied from the CRC calculation unit 57, into four lanes in accordance with the CSI-2 standard, and supplies them to the physical layer processing unit 45.

[0080] A CCI (Camera Control Interface) slave 59 performs communication under the initiative of a CCI master 88 (FIG. 6) of the application processor 22 in accordance with the CSI-2 standard.

[0081] The controller 60 reads out various settings stored in the register 47 and, according to those settings, controls each block constituting the extended-mode-compatible CSI-2 transmission circuit 31. For example, the controller 60 controls switching between transmission of packets having a packet structure conforming to the existing CSI-2 standard and transmission of packets having a packet structure in the extended mode, according to the contents of the data to be transmitted.

[0082] Then, in the image sensor 21, a parallel transmission setting, which is a communication setting for setting to perform parallel transmission as described above with reference to Fig. 3, is written from the application processor 22 to the register 47. As a result, the controller 60 refers to the parallel transmission setting in the register 47, and supplies a parallel transmission enable signal para_en indicating whether or not parallel transmission is enabled to the packet header generator 52, the payload header generator 53, the CRC calculator 57, the lane distributor 58, and the physical layer processor 45.

[0083] For example, when the parallel transmission enable signal para_en is valid, the packet header generator 52 generates (copies) a packet header for each lane, and the payload header generator 53 generates an MC and an LN for each lane. In this case, the CRC calculator 57 calculates a CRC from the payload for each lane to generate a packet footer, and the lane distributor 58 appropriately distributes what is to be transmitted for each lane.

[0084] The image sensor 21 is configured in this manner, and is capable of transmitting packets to the application processor 22 by parallel transmission as described with reference to FIG.

[0085] In addition, the image sensor 21 can generate an extended packet having the packet structure shown in FIG.

[0086] FIG. 6 is a block diagram showing an example of the configuration of the application processor 22 including the extended mode-compatible CSI-2 receiving circuit 32. As shown in FIG.

[0087] 6, the application processor 22 is configured to include, in addition to the extended mode-compatible CSI-2 receiving circuit 32, a physical layer processing unit 71, an I2C / I3C master 72, a register 73, and an error processing unit 74. The extended mode-compatible CSI-2 receiving circuit 32 is also configured to include a packet header detection unit 81, a lane merging unit 82, an interpretation unit 83, selection units 84 and 85, a CRC calculation unit 86, an unpacking unit 87, and a CCI master 88.

[0088] The physical layer processing unit 71 can execute physical layer processing of both C-PHY and D-PHY. As described above, the physical layer processing unit 45 of the image sensor 21 executes physical layer processing of either C-PHY or D-PHY, and the physical layer processing unit 71 executes the same physical layer processing as that executed in the physical layer processing unit 45.

[0089] The I2C / I3C master 72 takes the lead in communicating with the I2C / I3C slave 46 (FIG. 5) of the image sensor 21 based on the I2C or I3C standard.

[0090] In the register 73, various settings to be written to the register 47 of the image sensor 21 are recorded.

[0091] The error processing unit 74 is supplied with a short packet reception flag for error notification output from the packet header detection unit 81, a crc error detection signal output from the CRC calculation unit 86, and MC (Message Count for GLD) and LN output from the interpretation unit 83. The error processing unit 74 performs error processing, which will be described later with reference to the flowchart of Fig. 12, to identify a target lane in which disconnection or errors frequently occur, and writes a setting to stop use of the target lane to the register 73. The error processing unit 74 also sets the CCI master 88 to reduce the communication speed associated with stopping use of the target lane, for example, or causes the CCI master 88 to perform communication to perform recovery processing of the target lane.

[0092] The packet header detection unit 81 detects a packet header from the packet supplied from the physical layer processing unit 71, and checks the data type stored in the packet header. Then, when the extension mode setting information in the data type of the packet header indicates the extension mode (DataType[5:3]=3'b111), the packet header detection unit 81 supplies an extension mode detection flag indicating the extension mode to the interpretation unit 83, the selection unit 84, and the selection unit 85. Furthermore, the packet header detection unit 81 supplies a merging enable signal mrg_en indicating whether or not to enable merging of the divided four lanes to the lane merging unit 82 based on the packet header.

[0093] That is, the packet header detection unit 81 detects a packet header in which setting information (such as data type) indicating conditions set for data transmitted by a packet is stored according to the existing CSI-2 standard. At this time, the packet header detection unit 81 outputs an extension mode detection flag according to extension mode setting information indicating whether or not the extension mode is an extension mode using an extension header, which is stored in an unused area defined as unused in the existing CSI-2 standard in the data type, which is setting information indicating the type of data transmitted by the packet, thereby switching between reception of a packet with a packet structure according to the existing CSI-2 standard and reception of a packet with a packet structure in the extended mode. In addition, the packet header detection unit 81 recognizes which type of extension mode is present among multiple types of extension modes prepared as extension modes, according to extension mode type information stored in an unused area of ​​the data type defined as unused in the existing CSI-2 standard.

[0094] When the reassembly enable signal mrg_en supplied from the packet header detection unit 81 is valid, the lane merging unit 82 receives and reassembles the packets divided into four lanes supplied from the physical layer processing unit 71. Then, the lane merging unit 82 supplies the packet of one lane to the interpretation unit 83, the selection unit 84, and the selection unit 85.

[0095] When the extended mode detection flag supplied from the packet header detection unit 81 indicates the extended mode, the interpretation unit 83 reads the extended payload header, optional extended payload header, and optional extended payload footer from the packet supplied from the lane merging unit 82 based on the packet structure of the extended mode. Then, the interpretation unit 83 interprets the setting information stored in the extended payload header, optional extended payload header, and optional extended payload footer.

[0096] That is, the interpretation unit 83 receives an extended payload header placed at the beginning of a payload conforming to the existing CSI-2 standard as an extended header, and interprets the setting information stored in the extended payload header. When the optional extension header setting information stored in the extended header indicates that an optional extension header selectively transmitted according to an application is to be transmitted, the interpretation unit 83 receives an optional extension header following the extended header, and interprets the setting information stored in the optional extension header. When a packet transmitted in the extended mode is an extended long packet storing data transmitted as a payload in the existing CSI-2 standard, the interpretation unit 83 receives an optional extended payload footer placed following a legacy payload in which data is stored, and interprets the optional extended payload footer.

[0097] Then, the interpretation unit 83 reads out, for example, the vehicle row number and the source ID stored in the optional extended payload header, and outputs them to a downstream LSI (not shown).

[0098] In addition, if the extended mode detection flag supplied from the packet header detection unit 81 does not indicate the extended mode, that is, if a packet of an existing packet structure is supplied, the interpretation unit 83 stops without performing the above-mentioned processing.

[0099] The selector 84 selectively supplies data to an unpacking unit 87 based on the packet structure of the existing packet or the packet structure of the extended packet in accordance with the extension mode detection flag supplied from the packet header detector 81 .

[0100] The selection unit 85 selectively supplies data to a CRC calculation unit 86 based on the packet structure of the existing packet or the packet structure of the extended packet in accordance with the extension mode detection flag supplied from the packet header detection unit 81 .

[0101] The CRC calculation unit 86 calculates the CRC of the packet header, payload, extended payload header, optional extended payload header, or optional extended payload footer selectively supplied via the selection unit 85. If a CRC error is detected, the CRC calculation unit 86 outputs a CRC error detection signal indicating that fact to a downstream LSI (not shown).

[0102] The unpacking unit 87 performs an unpacking process to extract image data stored in the payload selectively supplied via the selection unit 84, and outputs the obtained image data to a downstream LSI (not shown).

[0103] The CCI master 88 takes the lead in communicating with the CCI slave 59 (FIG. 5) of the image sensor 21 based on the CSI-2 standard.

[0104] Then, in the application processor 22, the parallel transmission setting is written to the register 73, similarly to the register 47 of the image sensor 21. Then, the packet header detection unit 81, the lane merging unit 82, the interpretation unit 83, and the CRC calculation unit 86 refer to the parallel transmission setting of the register 73 and receive packets transmitted in parallel from the image sensor 21.

[0105] For example, a packet header detection unit 81 detects a packet header transmitted for each lane, and an interpretation unit 83 interprets the MC and LN transmitted for each lane. Also, a CRC calculation unit 86 calculates a CRC based on the payload for each lane and detects a CRC error.

[0106] Furthermore, in the application processor 22, the packet header detection unit 81 can detect an error notification packet (CSI-2 Short Packet shown in FIG. 4) transmitted from an error notification packet generation unit 89 in FIG. 7, which will be described later. When the packet header detection unit 81 detects an error notification packet, it outputs a flag indicating that fact (Error notification Short Packet reception flag) to a downstream LSI (not shown).

[0107] The application processor 22 is configured in this manner, and is capable of receiving packets transmitted from the image sensor 21 by parallel transmission as described with reference to FIG.

[0108] Furthermore, the application processor 22 can receive extended packets transmitted from the image sensor 21 and interpret the setting information stored in the extended payload header, the optional extended payload header, and the optional extended payload footer to acquire image data. At this time, even if any of the lanes is disconnected, the CSI-2 receiving circuit 32 can receive the payload of the packet transmitted by a normal lane among the multiple lanes based on the WC indicating the number of bytes of the payload for each lane.

[0109] FIG. 7 is a block diagram showing an example of the configuration of the serializer 23 including a CSI-2 receiving circuit 33. As shown in FIG.

[0110] In the serializer 23 shown in Fig. 7, the same reference numerals are used for the components common to the application processor 22 in Fig. 6, and detailed description thereof will be omitted. That is, the serializer 23 is configured to include a physical layer processing unit 71, an I2C / I3C master 72, and a register 73, and the CSI-2 receiving circuit 33 is configured to include a packet header detection unit 81, a lane merging unit 82, a CRC calculation unit 86, and a CCI master 88, in that they are configured in common with the application processor 22 in Fig. 6.

[0111] On the other hand, the serializer 23 has a different configuration from the application processor 22 in FIG. 6 in that the CSI-2 receiving circuit 33 includes an error notification packet generating unit 89.

[0112] The error notification packet generator 89 generates and outputs the error notification packet shown in FIG.

[0113] As described above, the communication system 11 transmits a packet footer (CRC) for each lane independently. This makes it possible to identify which lane an error occurred in. If a lane is detected in which a certain number of CRC errors have been identified, it is determined that the error frequency is high in that lane, and the application processor 22 sets the registry of the image sensor 21 so that the lane is not used, changes the mode, and resumes communication.

[0114] In addition, in the communication system 11, the packet header is transmitted independently for each lane, and the WC is defined as the number of bytes sent for each lane, rather than the total length of the payload. This allows normal lanes to continue receiving data even if there is a lane with a problem such as a disconnection, sync loss, or a 2-bit error in the packet header.

[0115] Furthermore, in the communication system 11, the MC is transmitted independently for each lane and incremented for each lane. Furthermore, the LaneNumber may be transmitted at the same time to clearly indicate which lane it was sent on. The MC is cleared to 0 at the beginning of the frame. This allows the CSI-2 receiving circuit 33 to easily detect a disconnection or Sync loss only in the LINK layer (CSI-2) without changing the PHY layer (D-PHY or C-PHY). Furthermore, the CSI-2 receiving circuit 33 can determine a disconnection or Sync loss only from the absence of the MC in the LINK layer.

[0116] Furthermore, in the communication system 11, when a serious error occurs that prevents data from being output from the SerDes transmission circuit 34 (sync loss, disconnection, 2-bit or more error in PH), error information can be transmitted to the downstream application processor 22. At this time, by transmitting an error notification packet (CSI-2 Short Packet shown in FIG. 4) in accordance with the CSI-2 format, the error information can be transmitted at high speed. This allows the downstream application processor 22 to immediately know of the error in the SerDes transmission circuit 34. Then, when the application processor 22 receives error information on a specific lane a predetermined number of times or more, it can instruct the image sensor 21 and the SerDes transmission circuit 34 to stop using that lane.

[0117] As described above, in the communication system 11, the application processor 22 can quickly identify in which lane disconnection, SYNC loss, or frequent occurrence of errors occurs. This allows the application processor 22 to bypass a specific lane and continue communication using only normal lanes, thereby improving reliability and enabling more secure communication, such as in-vehicle communication, to be supported.

[0118] <Communication processing> The communication processing performed by the image sensor 21 and the application processor 22 will be described with reference to FIGS.

[0119] FIG. 8 is a flowchart illustrating a process in which the image sensor 21 transmits a packet.

[0120] For example, the process starts when the image sensor 21 is connected to the application processor 22 via the bus 26. In step S11, the controller 60 determines whether or not to use the extended mode when starting communication with the application processor 22. For example, the controller 60 checks the extended mode setting stored in the register 47, and determines that the extended mode is to be used if the extended mode setting indicating that the extended mode is to be used has been written by the application processor 22.

[0121] If the controller 60 determines in step S11 that the extended mode is not to be used, the process proceeds to step S12.

[0122] In step S12, the I2C / I3C slave 46 receives a command to start transmitting image data transmitted from the application processor 22 (in step S54 of FIG. 10, which will be described later). Furthermore, the I2C / I3C slave 46 receives communication settings conforming to the CSI-2 standard transmitted together with the command to start transmitting, and writes the settings to the register 47 via the CCI slave 59.

[0123] In step S13, the image sensor 21 performs a conventional packet transmission process, based on the communication settings stored in the register 47, to transmit a packet having a packet structure conforming to the existing CSI-2 standard to the application processor 22.

[0124] On the other hand, if the controller 60 determines in step S11 that the extended mode is to be used, the process proceeds to step S14.

[0125] In step S14, the I2C / I3C slave 46 receives fixed communication settings required for communication in the extended mode (for example, a copy of PH / PF for each lane during GLD) and writes them to the register 47 via the CCI slave 59.

[0126] In step S15, the I2C / I3C slave 46 receives a command to start transmitting image data transmitted from the application processor 22 (in step S57 of FIG. 10, which will be described later). Furthermore, the I2C / I3C slave 46 receives communication settings conforming to the CSI-2 standard transmitted together with the command to start transmitting, and writes the settings to the register 47 via the CCI slave 59.

[0127] In step S16, the controller 60 determines whether or not to start transmitting packets, and waits until it determines to start transmitting packets.

[0128] If it is determined in step S16 that packet transmission is to be started, the process proceeds to step S17, where the controller 60 determines whether the data is to be transmitted in the extended mode. Here, the controller 60 determines that the data is to be transmitted in the extended mode depending on the contents of the data to be transmitted, for example, if the data is to be transmitted in a predetermined use case, the data is to be transmitted in the extended mode.

[0129] If the controller 60 determines in step S17 that the data should be transmitted in the extended mode, the process proceeds to step S18, where an extended mode transmission process (see FIG. 9) is performed to transmit an extended packet corresponding to the extended mode.

[0130] On the other hand, if the controller 60 determines in step S17 that the data is not to be transmitted in the extended mode, the process proceeds to step S19.

[0131] In step S19, the controller 60 determines whether or not to transmit a short packet. For example, the controller 60 determines to transmit a short packet at the start and end of a frame.

[0132] If the controller 60 determines in step S19 to transmit a short packet, the process proceeds to step S20. In step S20, the packet header generator 52 generates a packet header and transmits a short packet having a conventional packet structure to the application processor 22.

[0133] On the other hand, if the controller 60 determines in step S19 not to transmit a short packet (i.e., to transmit a long packet), the process proceeds to step S21. In step S21, the packing unit 51 stores the image data in the payload, and the CRC calculation unit 57 calculates the CRC to generate a long packet of a conventional packet structure and transmits it to the application processor 22.

[0134] After the process of step S18, step S20, or step S21, the process proceeds to step S22, where the controller 60 ends the packet transmission process. After that, the process returns to step S16, and the process of transmitting the packet is similarly repeated for the next packet.

[0135] FIG. 9 is a flowchart illustrating the extended mode transmission process performed in step S18 of FIG.

[0136] In step S31, the packet header generation unit 52 generates a packet header that stores the VC, data type, WC, etc., and transmits it to the application processor 22. At this time, the packet header generation unit 52 writes, to the data type of the packet header, extension mode setting information (DataType[5:3]=3'b111) indicating the extension mode, and extension type setting information (DataType[1:0]=2'b00) identifying that the mode setting of the extension mode is extension mode 0. In addition, the packet header is transmitted independently for each lane.

[0137] In step S32, the application processor 22 determines whether to transmit an extended short packet. For example, the controller 60 determines to transmit an extended short packet at the start of a frame and at the end of a frame.

[0138] If the application processor 22 determines in step S32 to transmit an extended short packet, the process proceeds to step S33.

[0139] In step S33, the payload header generator 53 transmits an extended payload header in which the data type (DataType[7:0]) is set to short packet in the first byte of the payload. At this time, the payload header generator 53 performs various settings (e.g., OePH[7:0], OePF[3:0], etc.) to be stored in the extended payload header.

[0140] In step S34, the payload header generating unit 53 stores a frame number (FN: Frame Number) in the second byte of the payload and transmits it.

[0141] In step S35, the payload header generating unit 53 generates and transmits an OePH (optional extended payload header) in accordance with the setting (OePH[7:0]) made in step S33.

[0142] In step S36, the CRC calculation unit 57 calculates a CRC and transmits it as a packet footer. At this time, the packet footer is transmitted independently for each lane.

[0143] On the other hand, if the application processor 22 determines in step S32 not to transmit an extended short packet (that is, to transmit a long packet), the process proceeds to step S37.

[0144] In step S37, the payload header generator 53 transmits an extended payload header in which the data type (DataType[7:0]) is set to other than a short packet in the first byte of the payload. At this time, the payload header generator 53 performs various settings (e.g., OePH[7:0], OePF[3:0], etc.) to be stored in the extended payload header.

[0145] In step S38, the payload header generating unit 53 generates and transmits an OePH (optional extended payload header) in accordance with the setting (OePH[7:0]) made in step S37.

[0146] In step S39, the packing unit 51 packs the image data supplied from the image processing unit 43, generates a legacy payload, and transmits it.

[0147] In step S40, the payload footer generating unit 54 generates and transmits an OePH (optional extended payload header) in accordance with the setting (OePF[3:0]) made in step S37.

[0148] In step S41, the CRC calculation unit 57 calculates a CRC and transmits it as a packet footer. At this time, the packet footer is transmitted independently for each lane.

[0149] After the process of step S36 or S41, the extended mode transmission process ends.

[0150] As described above, the image sensor 21 can generate and transmit an extended short packet or an extended long packet.

[0151] FIG. 10 is a flowchart illustrating a process in which the application processor 22 receives a packet.

[0152] For example, the process starts when the image sensor 21 is connected to the application processor 22 via the bus 26. In step S51, the initial settings of the image sensor 21 (for example, whether C-PHY or D-PHY is to be used as the physical layer) are written to the register 73 and transmitted to the image sensor 21 by the I2C / I3C master 72 via the CCI master 88. As a result, the initial settings are written to the register 47 of the image sensor 21.

[0153] In step S52, it is recognized whether the image sensor 21 supports the extended mode. For example, it is possible to recognize whether the image sensor 21 supports the extended mode by acquiring a setting value (e.g., extended PH / PF compatible capability) stored in the register 47 of the image sensor 21 by the I2C / I3C master 72. Alternatively, it is possible to recognize in advance whether the image sensor 21 supports the extended mode based on, for example, a manual input.

[0154] In step S53, it is determined whether the image sensor 21 supports the extended mode and whether the application executed by the application processor 22 requests the use of the extended mode.

[0155] If it is determined in step S53 that the image sensor 21 does not support the extended mode or that use of the extended mode is not required, the process proceeds to step S54.

[0156] In step S54, the I2C / I3C master 72 transmits an image data transmission start command to the image sensor 21. At this time, communication settings in accordance with the CSI-2 standard are also transmitted.

[0157] In step S55, the application processor 22 performs a conventional packet reception process to receive a packet having a packet structure conforming to the existing CSI-2 standard, based on the communication setting transmitted in step S54.

[0158] On the other hand, if it is determined in step S53 that the image sensor 21 supports the extended mode and that the application executed by the application processor 22 requests the use of the extended mode, the process proceeds to step S56.

[0159] In step S56, before communication in the extended mode is started, the I2C / I3C master 72 transmits fixed communication settings required for communication in the extended mode, whereby the fixed communication settings are written to the register 47 of the image sensor 21 (step S14 in FIG. 8).

[0160] In step S57, the I2C / I3C master 72 transmits an image data transmission start command to the image sensor 21. At this time, communication settings in accordance with the CSI-2 standard are also transmitted.

[0161] In step S58, the packet header detection unit 81 determines whether or not packet reception has started by checking the data supplied from the physical layer processing unit 71, and waits for processing until it is determined that packet reception has started. For example, when the packet header detection unit 81 detects a packet header from the data supplied from the physical layer processing unit 71, it determines that packet reception has started. At this time, the packet header is transmitted independently for each lane.

[0162] If the packet header detection unit 81 determines in step S58 that packet reception has started, the process proceeds to step S59.

[0163] In step S59, the packet header detection unit 81 checks the data type of the packet header detected in step S58 and determines whether the packet that has started to be received is an extended packet that corresponds to the extended mode. For example, when the extended mode setting information in the data type of the packet header indicates the extended mode (DataType[5:3]=3'b111), the packet header detection unit 81 determines that the packet that has started to be received is an extended packet.

[0164] If the packet header detection unit 81 determines in step S59 that the packet that has started to be received is an extended packet, the process proceeds to step S60, where an extended mode reception process (see FIG. 11) is performed to receive the extended packet.

[0165] On the other hand, if the packet header detection unit 81 determines in step S59 that the packet that has started to be received is not an extended packet, the process proceeds to step S61.

[0166] In step S61, the packet header detection unit 81 checks the data type (DataType[5:0]) of the packet header detected in step S58, and determines whether the packet that has started to be received is a short packet.

[0167] In step S61, if the packet header detection unit 81 determines that the packet that has started to be received is a short packet, the process proceeds to step S62. In step S62, the packet header detection unit 81 receives a short packet having a conventional packet structure transmitted from the image sensor 21.

[0168] On the other hand, if the packet header detection unit 81 determines in step S61 that the packet that has started to be received is not a short packet (i.e., reception of a long packet has started), the process proceeds to step S63. In step S63, the unpacking unit 87 receives the payload of the long packet with the conventional packet structure transmitted from the image sensor 21 and extracts the image data, and the CRC calculation unit 86 receives the WC+1-th byte transmitted following the packet header as a CRC.

[0169] After the process of step S60, step S62, or step S63, the process proceeds to step S64, where the packet reception process ends. After that, the process returns to step S58, and the process of receiving the next packet is repeated in the same manner.

[0170] FIG. 11 is a flowchart illustrating the extended mode reception process performed in step S60 of FIG.

[0171] In step S71, the packet header detection unit 81 determines whether the mode setting of the extended mode is extended mode 0. For example, when the extended type setting information in the data type of the packet header indicates extended mode 0 (DataType[1:0] = 2'b00), the packet header detection unit 81 determines that the mode setting of the extended mode is extended mode 0.

[0172] In step S71, if the packet header detection unit 81 determines that the mode setting of the extended mode is extended mode 0, the process proceeds to step S72. In step S72, the interpretation unit 83 receives the first byte of the payload as an extended payload header.

[0173] In step S73, the interpretation unit 83 checks the data type (DataType[7:0]) of the extended payload header received in step S72 to determine whether the packet that has started to be received is an extended short packet.

[0174] In step S73, if the interpretation unit 83 determines that the packet is an extended short packet, the process proceeds to step S74. In step S74, the interpretation unit 83 receives an optional extended payload header according to the setting (OePH[7:0]) stored in the extended payload header received in step S72.

[0175] In step S75, the CRC calculation unit 86 receives the WC+1 byte transmitted following the optional extended payload header as a CRC. At this time, the CRC, which is the packet footer, is transmitted independently for each lane.

[0176] On the other hand, if the interpretation unit 83 determines in step S73 that the packet is not an extended short packet (i.e., reception of an extended long packet has started), the process proceeds to step S76. In step S76, the interpretation unit 83 receives an optional extended payload header according to the setting (OePH[7:0]) stored in the extended payload header received in step S72.

[0177] In step S77, the unpacking unit 87 receives the legacy payload of the extended long packet transmitted from the image sensor 21 and extracts the image data.

[0178] In step S78, the interpretation unit 83 receives the optional extended payload footer in accordance with the setting (OePF[3:0]) stored in the extended payload header received in step S72.

[0179] In step S79, the CRC calculation unit 86 receives the WC+1 byte transmitted following the optional extended payload footer as a CRC. At this time, the CRC, which is the packet footer, is transmitted independently for each lane.

[0180] If it is determined in step S71 that the mode setting of the extended mode is not extended mode 0, the extended mode reception process is terminated after the process of step S75 or after the process of step S79.

[0181] As described above, the application processor 22 can receive an extended short packet or an extended long packet and obtain data.

[0182] FIG. 12 is a flowchart illustrating the error processing performed by the error processing unit 74 in FIG.

[0183] In step S81, the error processing unit 74 determines whether or not a CRC error has been detected, that is, whether or not the crc error detection signal output from the CRC calculation unit 86 indicates that a CRC error has been detected.

[0184] If the error processor 74 determines in step S81 that a CRC error has been detected, the process proceeds to step S82. In step S82, the error processor 74 increments (+1) the error count register for the lane in which the CRC error has been detected.

[0185] In step S83, the error processing unit 74 determines whether or not the value of the error count register incremented in step S82 has exceeded a predetermined number of times.

[0186] If the error processing unit 74 determines in step S83 that the value of the error count register does not exceed the predetermined number of times, the process proceeds to step S84. In step S84, the application processor 22 discards the received data in which a CRC error has been detected, and then the process returns to step S81, and the same process is repeated thereafter.

[0187] On the other hand, if the error processor 74 determines in step S81 that a CRC error has not been detected, the process proceeds to step S85. In step S85, the error processor 74 determines whether or not an error notification short packet has been received. For example, the error processor 74 can make this determination in accordance with the Error Notification Short Packet reception flag output from the packet header detector 81.

[0188] If the error processing unit 74 determines in step S85 that a short packet for error notification has been received, the process proceeds to step S86.

[0189] In step S86, the error processing unit 74 stops using the lane in which the error notification short packet indicates that an error has occurred. Then, the error processing unit 74 transmits a notification that the use of the lane has been stopped from the CCI master 88 via the I2C / I3C master 72 to the image sensor 21, the serializer 23, and the deserializer 24, and causes them to perform recovery processing for the lane.

[0190] That is, in this case, since the short packet for notifying an error was received, it can be recognized that buses 26 and 25-2 are normal and that a break has occurred in bus 25-1. However, if buses 25-1 and 25-2 do not have the same number of lanes, the communication speeds cannot be balanced. For this reason, when a break in bus 25-1 is detected, even if bus 25-2 has usable lanes, a process is performed to make the number of lanes the same in buses 25-1 and 25-2.

[0191] Thereafter, the process returns to step S81, and the same process is repeated thereafter.

[0192] On the other hand, if the error processor 74 determines in step S85 that the error notification short packet has not been received, the process proceeds to step S87. In step S87, the error processor 74 determines whether the state in which some lanes cannot receive has occurred a predetermined number of times or more.

[0193] If the error processing unit 74 determines in step S87 that the state in which some lanes are unable to receive has occurred a predetermined number of times or more, the process proceeds to step S88.

[0194] In step S88, the error processing unit 74 identifies the lane in which the error has occurred based on the MC (Message Count for GLD) and LN (Lane Number) transmitted independently in each lane, which are interpreted and output by the interpretation unit 83 in the setting information stored in the optional extension payload header. After the process of step S88, the process proceeds to step S86, and the same process as described above is performed thereafter.

[0195] That is, in this case, the fact that MCs are missing consecutively indicates that buses 25-1 and 26 are normal, and that a break has occurred in bus 25-2. However, if buses 25-1 and 25-2 do not have the same number of lanes, the balance of communication speeds cannot be maintained. For this reason, the broken lane of bus 25-2 is identified, and the corresponding lane of bus 25-1 is also prohibited from use.

[0196] On the other hand, if the error processing unit 74 determines in step S87 that the state in which some lanes are unable to receive has not occurred the predetermined number of times or more, the process proceeds to step S89.

[0197] In step S89, the error processing unit 74 determines whether or not an interrupt notifying of a disconnection has been received.

[0198] Here, for example, when the deserializer 24 detects a break in the bus 26, it can notify the error processing unit 74 of the detection of the break in the bus 26 by using one of the HS-GPIO signal lines of the bus 25-2 as a break error detection interrupt line. Therefore, in step S87, the error processing unit 74 can determine whether or not an interrupt notifying the break is received by using the HS-GPIO signal line as the break error detection interrupt line. Alternatively, it is also possible to detect a break in the bus 26 as one of the detected errors by using one of the HS-GPIO signal lines of the bus 25-2 as an error detection interrupt line and reading the specific error content via the I2C / I3C master 72 from an internal register of the deserializer 24.

[0199] If the error processing unit 74 determines in step S89 that it has received an interrupt notifying of the disconnection, the process proceeds to step S90. In step S90, the error processing unit 74 sets the CCI master 88 to stop using the lane in which the disconnection has occurred and to reduce the communication speed of the CSI-2 communication.

[0200] That is, in this case, a break occurs in bus 26, and when bus 26 is configured with multiple lanes, the lane where the break occurs is disabled to continue communication. Then, in response to the reduction in the bandwidth of bus 26, the communication speeds of buses 25-1 and 25-2 are reduced to maintain a balance in communication speed.

[0201] After the process of step S90, or if it is determined in step S89 that an interrupt notifying of a disconnection has not been received, the process returns to step S81, and the same processes are repeated thereafter.

[0202] As described above, the error processing unit 74 can quickly identify lanes where many CRC errors are detected, disconnected lanes notified by short packets for error notification, lanes where reception is frequently not possible, lanes notified by receiving interrupts notifying disconnection, etc. This allows the application processor 22 to stop using the lanes identified by the error processing unit 74 and continue communication using only normal lanes. Therefore, the communication system 11 can improve reliability and support more secure communication such as in-vehicle communication.

[0203] <Second Configuration Example of Communication System> A configuration example of a second embodiment of a communication system to which the present technology is applied will be described with reference to Figs.

[0204] In FIG. 13, a communication system 11 according to the first embodiment and a communication system 11A according to the second embodiment will be compared and described.

[0205] For example, as shown in A of FIG. 13, the communication system 11 is configured such that on the image sensor 21 side, a CSI-2 transmitting circuit is connected to a physical layer (A-PHY Tx), and on the application processor 22 side, the physical layer (A-PHY Rx) is connected to a CSI-2 receiving circuit.

[0206] Therefore, in the communication system 11, it was necessary to change the circuit configuration of the existing CSI-2 receiving circuit and CSI-2 transmitting circuit.

[0207] In contrast, as shown in B of FIG. 13, the communication system 11A is configured such that, on the image sensor 21 side, the CSI-2 transmitting circuit and the physical layer (A-PHY Tx) are connected via an intermediate layer (Adaptation Layer), and, on the application processor 22 side, the physical layer (A-PHY Rx) and the CSI-2 receiving circuit are connected via an intermediate layer (Adaptation Layer).

[0208] In this way, the communication system 11A can use the circuit configurations of the existing CSI-2 receiving circuit and CSI-2 transmitting circuit as they are by providing the intermediate layer. That is, by providing the intermediate layer having the functions necessary for parallel transmission as described above with reference to Fig. 3, it is possible to avoid changing the circuit configurations of the existing CSI-2 receiving circuit and CSI-2 transmitting circuit.

[0209] That is, as shown in Fig. 14, the packet header and MC can be transmitted independently for each lane, and the CRC can be calculated from the payload for each lane and transmitted independently for each lane, and this can be additionally processed by the middle layer (adaptation layer). Also, the payload similar to that of the conventional CSI-2 can be processed by the existing CSI-2 receiving circuit and CSI-2 transmitting circuit.

[0210] FIG. 15 shows a schematic configuration example of an image sensor 21A and an application processor 22A that constitute a communication system 11A.

[0211] 15, the image sensor 21A includes a non-volatile memory 101, a CSI-2 transmission circuit 102, an intermediate layer 103, a selection unit 104, and a physical layer processing unit 105. The application processor 22A includes a non-volatile memory 111, a physical layer processing unit 112, an intermediate layer 113, a selection unit 114, and a CSI-2 transmission circuit 115.

[0212] For example, the physical layer processing unit 105 and the physical layer processing unit 112 can selectively switch between any one of the physical layers A-PHY, D-PHY, and C-PHY. A selection signal for selecting one of them is supplied from the non-volatile memory 101 to each block of the image sensor 21A, and is supplied from the non-volatile memory 111 to each block of the application processor 22A.

[0213] Therefore, for example, when the selection signal indicates that A-PHY is selected, in the image sensor 21A, the CSI-2 transmission circuit 102 supplies packets to the intermediate layer 103, which generates a packet header and MC for each lane and calculates a CRC from the payload for each lane. Then, the selection unit 104 supplies the output from the intermediate layer 103 to the physical layer processing unit 105, which performs processing using A-PHY as the physical layer.

[0214] In the application processor 22A, the physical layer processing unit 112 performs processing using A-PHY as the physical layer, and the received packets are supplied to the intermediate layer 113, which processes those transmitted for each lane. The selection unit 114 then supplies the output from the intermediate layer 113 to the CSI-2 transmission circuit 115, which processes the packets.

[0215] On the other hand, when the selection signal indicates that D-PHY or C-PHY is selected, in the image sensor 21A, the CSI-2 transmission circuit 102 supplies a packet to the physical layer processing unit 105 via the selection unit 104, and processing is performed in the physical layer processing unit 105 using D-PHY or C-PHY as the physical layer.

[0216] Then, in the application processor 22A, the physical layer processing unit 112 performs processing using D-PHY or C-PHYY as the physical layer, and the received packet is supplied to the CSI-2 transmission circuit 115 via the selection unit 114.

[0217] <Computer configuration example> FIG. 16 is a block diagram showing an example of the hardware configuration of a computer that executes the above-mentioned series of processes by a program.

[0218] In the computer, a CPU (Central Processing Unit) 201, a ROM (Read Only Memory) 202, a RAM (Random Access Memory) 203, and an EEPROM (Electronically Erasable and Programmable Read Only Memory) 204 are interconnected via a bus 205. An input / output interface 206 is further connected to the bus 205, and the input / output interface 206 is connected to the outside.

[0219] In the computer configured as above, the CPU 201 performs the above-mentioned series of processes by, for example, loading the programs stored in the ROM 202 and EEPROM 204 into the RAM 203 via the bus 205 and executing them. Furthermore, the programs executed by the computer (CPU 201) can be written in advance into the ROM 202, or can be installed or updated in the EEPROM 204 from the outside via the input / output interface 206.

[0220] Here, in this specification, the processing performed by a computer according to a program does not necessarily have to be performed in chronological order according to the order described in the flowchart. In other words, the processing performed by a computer according to a program also includes processing executed in parallel or individually (for example, parallel processing or processing by objects).

[0221] The program may be processed by one computer (processor), or may be distributed among multiple computers. Furthermore, the program may be transferred to a remote computer for execution.

[0222] Furthermore, in this specification, a system refers to a collection of multiple components (devices, modules (parts), etc.), regardless of whether all the components are in the same housing. Therefore, multiple devices housed in separate housings and connected via a network, and a single device in which multiple modules are housed in a single housing, are both systems.

[0223] Also, for example, the configuration described above as one device (or processing unit) may be divided and configured as multiple devices (or processing units). Conversely, the configurations described above as multiple devices (or processing units) may be combined and configured as one device (or processing unit). Also, it is of course possible to add configurations other than those described above to the configuration of each device (or each processing unit). Furthermore, as long as the configuration and operation of the system as a whole are substantially the same, part of the configuration of one device (or processing unit) may be included in the configuration of another device (or other processing unit).

[0224] Furthermore, for example, the present technology can be configured as cloud computing, in which a single function is shared and processed collaboratively by multiple devices via a network.

[0225] Furthermore, for example, the above-mentioned program can be executed in any device, as long as the device has the necessary functions (functional blocks, etc.) and can obtain the necessary information.

[0226] Also, for example, each step described in the above flow chart can be executed by one device, or can be shared and executed by multiple devices. Furthermore, when one step includes multiple processes, the multiple processes included in the one step can be executed by one device, or can be shared and executed by multiple devices. In other words, multiple processes included in one step can be executed as multiple step processes. Conversely, processes described as multiple steps can be executed collectively as one step.

[0227] In addition, the processing of the steps of the program executed by the computer may be executed in chronological order according to the order described in this specification, or may be executed in parallel, or individually at a necessary timing such as when a call is made. In other words, the processing of each step may be executed in an order different from the order described above, as long as no contradiction occurs. Furthermore, the processing of the steps of the program may be executed in parallel with the processing of another program, or may be executed in combination with the processing of another program.

[0228] In addition, the present technologies described in this specification can be implemented independently and individually, as long as there is no contradiction. Of course, any of the present technologies can be implemented in combination. For example, a part or all of the present technology described in any of the embodiments can be implemented in combination with a part or all of the present technology described in another embodiment. In addition, any of the present technologies described above can be implemented in combination with other technologies not described above.

[0229] <Examples of configuration combinations> The present technology can also be configured as follows. (1) a transmission unit that, when distributing packets to a plurality of lanes and transmitting the packets to a receiving communication device, transmits at least one of a packet header and a packet footer of the packets independently for each of the lanes; A communication device comprising: (2) a packet footer generating unit that generates, as the packet footer for each lane, a CRC (Cyclic Redundancy Check) calculated from the payload of the packet distributed to the corresponding lane; The communication device according to (1) above, further comprising: (3) a packet header generating unit that generates the packet header for each lane, the packet header including a word count indicating the number of bytes of the payload of the packet to be distributed to the corresponding lane; The communication device according to (1) or (2) above, further comprising: (4) a payload header generating unit that generates a payload header to be placed at the beginning of the payload of the packet, The transmitter transmits the payload header for each lane independently, The payload header includes a message count that is incremented for each lane, and optionally includes a lane number that identifies the lane along which the message is sent. A communication device according to any one of (1) to (3) above. (5) A communication device When distributing packets to a plurality of lanes and transmitting the packets between a receiving communication device and the receiving communication device, at least one of a packet header and a packet footer of the packets is transmitted independently for each of the lanes. A communication method including: (6) A computer of the communication device When distributing packets to a plurality of lanes and transmitting the packets between a receiving communication device and the receiving communication device, at least one of a packet header and a packet footer of the packets is transmitted independently for each of the lanes. A program for executing communication processing including the above. (7) A receiving section that receives packets distributed to multiple lanes from a transmitting communication device. Equipped with At least one of a packet header and a packet footer of the packet is transmitted independently for each of the lanes. Communications equipment. (8) The packet footer transmitted for each lane is a CRC (Cyclic Redundancy Check) calculated from the payload of the packet distributed to the corresponding lane, The communication device further includes an error processing unit that determines that the lane should be stopped when the number of CRC errors detected based on the CRC is equal to or greater than a predetermined number, and sets the transmitting communication device to stop using the lane. The communication device according to (7) above. (9) The packet header transmitted for each lane includes a word count indicating the number of bytes of the payload of the packet to be distributed to the corresponding lane, The receiving unit receives a payload of the packet transmitted through a normal lane among the plurality of lanes based on the word count. A communication device according to (7) or (8) above. (10) A payload header is placed at the beginning of the payload of the packet, the payload header including a message count incremented for each lane and a lane number for identifying the lane through which the message is transmitted as necessary; and an error processing unit that identifies the lane in which an abnormality has occurred among the plurality of lanes based on the message count and the lane number, and sets the transmitting communication device to stop using the lane. A communication device according to any one of (7) to (9) above. (11) a notification section which is directly connected to the transmitting communication device via a bus, and which, when detecting that a predetermined malfunction has occurred on the bus based on a packet header or a packet footer of the packet, notifies another receiving communication device in a subsequent stage of error information indicating the content of the malfunction. The communication device according to any one of (7) to (10) above, further comprising: (12) A communication device Receive packets distributed to multiple lanes from a transmitting communication device Including, At least one of a packet header and a packet footer of the packet is transmitted independently for each of the lanes. A communication method including: (13) A computer of the communication device Receive packets distributed to multiple lanes from a transmitting communication device Including, At least one of a packet header and a packet footer of the packet is transmitted independently for each of the lanes. A program for executing communication processing including the above.

[0230] In addition, the present embodiment is not limited to the above-described embodiment, and various modifications are possible without departing from the scope of the present disclosure. In addition, the effects described in this specification are merely examples and are not limiting, and other effects may be obtained. [Explanation of symbols]

[0231] 11 communication system, 21 image sensor, 22 application processor, 23 serializer, 24 deserializer, 25 and 26 bus, 31 extended mode CSI-2 transmitter, 32 extended mode CSI-2 receiver, 33 CSI-2 receiver, 34 SerDes transmitter, 35 SerDes receiver, 36 CSI-2 transmitter, 41 pixels, 42 AD converter, 43 image processor, 44 pixel CRC calculator, 45 physical layer processor, 46 I2C / I3C slave, 47 register, 51 packer, 52 packet header generator, 53 payload header generator, 54 payload footer generator, 55 and 56 selector, 57 CRC calculator, 58 lane distributor, 59 CCI slave, 60 controller, 71 Physical layer processing unit, 72 I2C / I3C master, 73 register, 81 packet header detection unit, 82 lane merging unit, 83 interpretation unit, 84 and 85 selection unit, 86 CRC calculation unit, 87 unpacking unit, 88 CCI master, 89 error notification packet generation unit

Claims

1. A transmission unit that, when distributing packets to a plurality of lanes and transmitting the packets between a receiving communication device and the receiving communication device, transmits at least one of a packet header and a packet footer of the packets independently for each of the lanes; a payload header generator that generates a payload header to be placed at the beginning of the payload of the packet; Equipped with The transmitter transmits the payload header for each lane independently, The payload header includes a message count that is incremented for each lane, and a lane number that identifies the lane on which each message is being sent. A communication device comprising:

2. a packet footer generating unit that generates, as the packet footer for each lane, a CRC (Cyclic Redundancy Check) calculated from the payload of the packet distributed to the corresponding lane; The communication device of claim 1 further comprising:

3. a packet header generating unit that generates the packet header for each lane, the packet header including a word count indicating the number of bytes of the payload of the packet to be distributed to the corresponding lane; The communication device of claim 1 further comprising:

4. A communication device When distributing packets to a plurality of lanes and transmitting the packets between a receiving communication device and the receiving communication device, at least one of a packet header and a packet footer of the packets is transmitted independently for each of the lanes; generating a payload header to be placed at the beginning of the payload of the packet; Including, Transmitting the payload header independently for each of the lanes; The payload header includes a message count that is incremented for each lane, and a lane number that identifies the lane on which each message is being sent. Communication methods.

5. A computer of the communication device When distributing packets to a plurality of lanes and transmitting the packets between a receiving communication device and the receiving communication device, at least one of a packet header and a packet footer of the packets is transmitted independently for each of the lanes; generating a payload header to be placed at the beginning of the payload of the packet; Including, Transmitting the payload header independently for each of the lanes; The payload header includes a message count that is incremented for each lane, and a lane number that identifies the lane on which each message is being sent. A program for executing communication processes.

6. At least one of a packet header and a packet footer of a packet distributed and transmitted from a transmitting communication device to a plurality of lanes is transmitted independently for each of the lanes; A payload header including a message count incremented for each lane and a lane number identifying the lane through which the message is transmitted is disposed at the beginning of the payload of the packet; A receiving unit for receiving the packet; an error processing unit that identifies a lane in which an abnormality has occurred among the plurality of lanes based on the message count and the lane number, and sets the transmitting communication device to stop using the lane; A communication device comprising:

7. The packet footer transmitted for each lane is a CRC (Cyclic Redundancy Check) calculated from the payload of the packet distributed to the corresponding lane, The communication device further includes an error processing unit that determines that the lane should be stopped when the number of CRC errors detected based on the CRC is equal to or greater than a predetermined number, and sets the transmitting communication device to stop using the lane. The communication device according to claim 6.

8. The packet header transmitted for each lane includes a word count indicating the number of bytes of the payload of the packet to be distributed to the corresponding lane, The receiving unit receives a payload of the packet transmitted through a normal lane among the plurality of lanes based on the word count. The communication device according to claim 6.

9. a notification section which is directly connected to the transmitting communication device via a bus, and which, when detecting that a predetermined malfunction has occurred on the bus based on a packet header or a packet footer of the packet, notifies another receiving communication device in a subsequent stage of error information indicating the content of the malfunction. The communication device of claim 6 further comprising:

10. At least one of a packet header and a packet footer of a packet distributed and transmitted from a transmitting communication device to a plurality of lanes is transmitted independently for each of the lanes; A payload header including a message count incremented for each lane and a lane number identifying the lane to be transmitted is placed at the beginning of the payload of the packet, A communication device receiving the packet; and identifying a lane in which an abnormality has occurred among the plurality of lanes based on the message count and the lane number, and setting the transmitting communication device to stop using the lane; A communication method including:

11. At least one of a packet header and a packet footer of a packet distributed and transmitted from a transmitting communication device to a plurality of lanes is transmitted independently for each of the lanes; A payload header including a message count incremented for each lane and a lane number identifying the lane to be transmitted is placed at the beginning of the payload of the packet, A computer of the communication device receiving the packet; and identifying a lane in which an abnormality has occurred among the plurality of lanes based on the message count and the lane number, and setting the transmitting communication device to stop using the lane; A program for executing communication processing including the above.

Citation Information

Patent Citations

  • Transmitter and receiver

    JP2010129018A

  • Data transmitter, data receiver, data transmitter / receiver and control method of data transmitter / receiver

    JP2012199724A

  • Processing apparatus, image sensor, and system

    JP2017211864A