WO2022059655A1 - 通信装置、通信システム及び通信方法 - Google Patents
通信装置、通信システム及び通信方法 Download PDFInfo
- Publication number
- WO2022059655A1 WO2022059655A1 PCT/JP2021/033613 JP2021033613W WO2022059655A1 WO 2022059655 A1 WO2022059655 A1 WO 2022059655A1 JP 2021033613 W JP2021033613 W JP 2021033613W WO 2022059655 A1 WO2022059655 A1 WO 2022059655A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- gpio
- sampling
- information
- packet
- signal
- Prior art date
Links
- 238000004891 communication Methods 0.000 title claims abstract description 232
- 238000000034 method Methods 0.000 title claims description 37
- 238000005070 sampling Methods 0.000 claims abstract description 562
- 230000008859 change Effects 0.000 claims description 49
- 230000005540 biological transmission Effects 0.000 claims description 48
- 230000001360 synchronised effect Effects 0.000 claims description 19
- 230000008569 process Effects 0.000 claims description 8
- 238000001514 detection method Methods 0.000 claims description 5
- 239000003623 enhancer Substances 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 32
- 239000000872 buffer Substances 0.000 description 28
- 230000006870 function Effects 0.000 description 28
- 101001128814 Pandinus imperator Pandinin-1 Proteins 0.000 description 15
- 230000008054 signal transmission Effects 0.000 description 9
- 101001024685 Pandinus imperator Pandinin-2 Proteins 0.000 description 6
- 239000000284 extract Substances 0.000 description 5
- 238000005538 encapsulation Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 230000000630 rising effect Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 238000007792 addition Methods 0.000 description 1
- 239000002775 capsule Substances 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L5/00—Arrangements affording multiple use of the transmission path
- H04L5/14—Two-way operation using the same type of signal, i.e. duplex
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/382—Information transfer, e.g. on bus using universal interface adapter
- G06F13/385—Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/02—Capturing of monitoring data
- H04L43/022—Capturing of monitoring data by sampling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0823—Errors, e.g. transmission errors
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
- H04L43/106—Active monitoring, e.g. heartbeat, ping or trace-route using time related information in packets, e.g. by adding timestamps
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2212/00—Encapsulation of packets
Definitions
- This disclosure relates to communication devices, communication systems and communication methods.
- M_SerDes SerDes for Master
- S_SerDes SerDes for Slave
- GPIO General Purpose Input / Output
- M_SerDes that received data from Master by GPIO communication samples the received data, converts it into a packet of a predetermined communication protocol, and then sends it to S_SerDes.
- sampling at a constant cycle increases the amount of sampling data.
- the signal logic may change rarely in the data received by GPIO communication, but as long as such data is sampled at regular intervals, the amount of data after sampling cannot be reduced, and M_SerDes The total amount of packets sent and received between and S_SerDes will increase.
- the present disclosure provides a communication device, a communication system, and a communication method capable of efficiently performing serial communication.
- a controller for determining a time stamp as a starting point and a unit period of the time stamp starting from the starting point and a controller.
- the GPIO General Purpose Input / Output
- the GPIO signal from the Master is synchronized with the time stamp, and all the sampling data sampled in a fixed sampling cycle or the frequency of logical change of the GPIO signal.
- An encapsulator that generates a first GPIO packet containing sampling data and sampling position information sampled at sampling intervals according to A LINK that generates an Up link packet containing the first GPIO packet, Provided is a communication device including a PHY for transmitting a transmission signal conforming to a predetermined communication protocol including the Up link packet to a communication partner device.
- the controller receives the GPIO setting information including the sampling mode information specifying the first mode or the second mode, the time stamp, and the sampling period from the Master.
- the encapsulater is In the first mode, the first GPIO packet including all the sampling data obtained by sampling the first GPIO signal received from the Master is generated in the sampling cycle starting from the start point.
- the value of the sampling data sampled at the first sampling timing is different from the value of the sampling data sampled at the second sampling timing in which the sampling cycle has elapsed from the first sampling timing.
- the first GPIO packet including the sampling data sampled at the second sampling timing and the first time information indicating the second sampling timing may be generated.
- the PHY receives a transmission signal conforming to the predetermined communication protocol from the communication partner device, and receives the transmission signal.
- the LINK separates the second GPIO packet from the transmitted signal.
- the deencapcerator may reproduce the second GPIO signal based on the mode information, the start point, the sampling period, and the second GPIO packet.
- the deencapcerator is In the first mode, one or more sampling data are included in the second GPIO packet, and the second sampling data is sampled each time the sampling cycle elapses from the start point. Allocate each of the sampling data contained in the GPIO packet of the above, and reproduce the second GPIO signal.
- each of the one or more sampling data is included in the second GPIO packet in association with the second time information indicating the sampling timing, and the sampling timing indicated by the second time information. Then, the sampling data corresponding to the second time information is assigned, and the same sampling data is used for each sampling cycle until the sampling timing of the next second time information in the second GPIO packet.
- the second GPIO signal may be reproduced by repeating the process of allocating.
- a second timer that outputs time information synchronized with the first timer in the Master is provided.
- the deencapcerator has a memory for storing the second GPIO signal.
- the second GPIO packet contains time stamp information regarding the output timing of the second GPIO signal.
- the deencapcerator transmits the second GPIO signal to the Master without storing it in the memory, and the time stamp information has the second value.
- the memory is used.
- the second GPIO signal may be read out and transmitted to the Master.
- the controller Before starting GPIO communication with the Master, the controller controls the encapsulator to generate the packet based on the GPIO setting information transmitted from the Master by a communication method different from the GPIO communication. You may.
- the GPIO setting information may include at least one of the sampling frequency information of the GPIO signal, the GPIO pin setting information, the GPIO configuration information, and the data length information of the sampled data.
- the encapsulator receives the first GPIO packet including header information including at least one of the sampling mode information, the sampling frequency information, the GPIO pin setting information, the GPIO configuration information, and the data length information. May be generated.
- the GPIO configuration information may include the number of pins for GPIO communication, the GPIO pin setting information, and a time slot for storing the GPIO communication information.
- the encapsulator may generate the first GPIO packet including the header information without including the sampled data before transmitting the packet containing the sampled data to the communication partner device.
- the encapsulator may include the first GPIO packet that does not include the sampled data but includes the header information, the first GPIO packet that includes the header information and the sampled data, and the header information. At least one of the first GPIO packets containing the sampled data without inclusion may be generated.
- the encapsulator may add at least one of the time stamp information and the error detection information to the first GPIO packet.
- the communication protocol is a TDD (Time Division Duplex) communication protocol.
- the unit cycle may be one frame period of the TDD communication method.
- a PHY that receives a transmission signal conforming to a predetermined communication protocol from a communication partner device, and LINK that separates the first GPIO packet including the time control command from the transmission signal
- a controller that determines the start point based on the time control command,
- the first indicating that the sampling mode information included in the header information in the first GPIO packet includes all the sampling data obtained by sampling the GPIO (General Purpose Input / Output) signal transmitted from the Master at a constant sampling cycle.
- the first mode is determined by determining whether it is the first mode or the second mode indicating that the sampling data and the sampling position information sampled at the sampling interval according to the frequency of the logical change of the GPIO signal are included.
- a communication device is provided that comprises a deencapcerator that converts one GPIO packet into a first GPIO signal and transmits it to Slave.
- the deencapcerator is In the first mode, one or more sampling data are included in the first GPIO packet, and the first sampling data is sampled each time the sampling cycle elapses from the starting point. Allocate each of the sampling data contained in the GPIO packet of the above, and reproduce the first GPIO signal.
- each of the one or more sampling data is included in the first GPIO packet in association with the first time information indicating the sampling timing in which the sampling data is sampled, and the first time information is included. At the sampling timing shown, the sampling data corresponding to the first time information is assigned, and the sampling timing of the next first time information in the first GPIO packet is the same for each sampling cycle.
- the first GPIO signal may be reproduced by repeating the process of allocating the sampling data.
- a second timer that outputs time information synchronized with the first timer in the Master is provided.
- the deencapcerator has a memory for storing the first GPIO signal.
- the first GPIO packet contains time stamp information regarding the output timing of the first GPIO signal.
- the deencapcerator transmits the first GPIO signal to the Slave without storing it in the memory, and the time stamp information has the second value.
- the memory is used.
- the first GPIO signal may be read out and transmitted to the Slave.
- a second GPIO signal containing sampling data and sampling position information obtained by sampling the second GPIO signal from the Slave with a fixed sampling cycle or a sampling interval according to the frequency of logical change of the GPIO signal from the start point may be equipped with an enhancer that generates GPIO packets.
- the encapsulater is In the first mode, the second GPIO packet including all the sampling data obtained by sampling the second GPIO signal received from the Slave is generated in the sampling cycle starting from the start point. In the second mode, the value of the sampling data sampled at the first sampling timing is different from the value of the sampling data sampled at the second sampling timing in which the sampling cycle has elapsed from the first sampling timing. In this case, the second GPIO packet including the sampling data sampled at the second sampling timing and the time information indicating the second sampling timing may be generated.
- the controller may perform input / output control of GPIO pins based on GPIO pin setting information transmitted from the Master via the communication partner device before starting GPIO communication with the Slave.
- the header information may include at least one of sampling frequency information, GPIO pin setting information, GPIO configuration information, and data length information of the sampled data.
- the communication protocol may be a TDD (Time Division Duplex) communication protocol.
- the Master SerDes and Slave SerDes that perform serial communication according to a predetermined communication protocol are provided.
- the Master SerDes A first controller that determines a time stamp as a start point and a unit period of the time stamp starting from the start point.
- the GPIO General Purpose Input / Output
- the GPIO General Purpose Input / Output
- a first encapsulator that generates a first GPIO packet containing sampling data and sampling position information sampled at sampling intervals according to The first LINK that generates the Up link packet including the first GPIO packet, It has a first PHY that transmits a transmission signal conforming to a predetermined communication protocol including the Up link packet to a communication partner device, and has.
- the Slave SerDes A second PHY that receives a transmission signal conforming to the predetermined communication protocol from the communication partner device, and A second LINK that separates the second GPIO packet containing the time control command from the transmission signal, A second controller that determines the starting point based on the time control command, In the first mode indicating that the sampling mode information included in the header information in the second GPIO packet includes all the sampling data obtained by sampling the second GPIO signal transmitted from the Master at a constant sampling cycle. The second GPIO packet is determined to be present or in the second mode indicating that the sampling data and the sampling position information sampled at the sampling interval according to the frequency of the logical change of the GPIO signal are included. Is provided with a communication system comprising a first deencapcerator that converts the second GPIO signal into a second GPIO signal and transmits the second GPIO signal to the Slave.
- Master SerDes and Slave SerDes are communication methods for performing serial communication by a predetermined communication protocol.
- the Master SerDes A time stamp as a starting point and a unit cycle of the time stamp starting from the starting point are determined.
- the GPIO signal from the Master is synchronized with the time stamp and sampled at the sampling interval according to the frequency of the logical change of all the sampling data sampled in a fixed sampling cycle or the logic change of the GPIO signal.
- Generate a first GPIO packet containing the sampled data and sampling position information Generate an Up link packet containing the first GPIO packet A transmission signal conforming to a predetermined communication protocol including the Up link packet is transmitted to the Slave SerDes.
- the Slave SerDes A transmission signal conforming to the predetermined communication protocol is received from the communication partner device, and the transmission signal is received.
- the second GPIO packet containing the time control instruction is separated from the transmission signal.
- a second controller that determines the starting point based on the time control command, In the first mode indicating that the sampling mode information included in the header information included in the second GPIO packet includes all the sampling data obtained by sampling the second GPIO signal from the Master in a fixed sampling cycle.
- the second GPIO packet is determined to be present or in the second mode indicating that the sampling data and the sampling position information sampled at the sampling interval according to the frequency of the logical change of the GPIO signal are included. Is converted into the second GPIO signal and transmitted to Slave, a communication method is provided.
- the block diagram which shows the schematic structure of the communication system provided with the communication device which concerns on one Embodiment.
- the figure which shows an example of GPIO header information Data structure diagram of a packet containing only GPIO header information. Data structure diagram of a packet containing only sampling data. Data structure diagram of a packet containing only GPIO header information and sampling data. The figure which shows the detail of GPIO header information and data at the time of full sampling. The figure which shows the detail of GPIO header information and data when performing edge sampling. The figure explaining the details of pin arrangement.
- FIG. 1 is a block diagram showing a schematic configuration of a communication system including a communication device according to an embodiment.
- the communication system of FIG. 1 is, for example, a camera image recognition system which is a part of ADAS (Advanced Driver Assistance System).
- ADAS Advanced Driver Assistance System
- Communication system 1 in FIG. 1 includes Master 10, Master SerDes (M_SerDes) 100, Slave, and Slave SerDes (S_SerDes) 200. Of these, at least one of M_SerDes100 and S_SerDes200 is the communication device according to the embodiment of the present disclosure.
- M_SerDes100 and S_SerDes200 are connected to each other so that they can communicate with each other according to a predetermined communication standard (hereinafter referred to as "communication standard X").
- the predetermined communication standard X includes, for example, FPD-Link III, A-phy, ASA, and the like, and is not limited.
- Each of M_SerDes100 and S_SerDes200 corresponds to the communication device according to this embodiment. In this specification, an example in which M_SerDes100 and S_SerDes200 perform serial signal transmission by the TDD method will be mainly described.
- Master 10 and M_SerDes 100 can send and receive serial signals at least by GPIO (General Purpose Input / Output) communication.
- GPIO General Purpose Input / Output
- Master 10 and M_SerDes 100 may have a function of transmitting and receiving serial signals by I2C (Inter-Integrated Circuit) communication, SPI (Serial Peripheral Interface) communication, and the like.
- the signal path on the transmission path (cable) 6 that transmits information serially from S_SerDes200 to M_SerDes100 is called DownLink, and the signal on the transmission path 6 that transmits information serially from M_SerDes100 to S_SerDes200.
- the route is called UPLink.
- Master 10 in FIG. 1 has a controller 11, a timer 12, and input / output buffers 13 and 14 for GPIO communication.
- FIG. 1 shows only the block configuration related to GPIO communication inside Master 10.
- Master 10 may have functions other than GPIO communication, but it is omitted in FIG.
- the controller 11 generates a GPIO signal to be transmitted to the M_SerDes 100 and controls the transmission and reception of the GPIO signal via the input / output buffers 13 and 14.
- the timer 12 is used to synchronize the time with M_SerDes100, Slave20, and S_SerDes200, as will be described later.
- M_SerDes100 includes a controller 101, an encapsulator (Enc) 150, a LinkLayerBlock (hereinafter, also referred to as DLL or LINK) 120, a PHYLayerBlock (PHY) 110, and a deencapcerator (DeEnc) 160. , The timer 102, and the input / output buffers 103 and 104.
- Enc encapsulator
- LinkLayerBlock hereinafter, also referred to as DLL or LINK
- PHYLayerBlock PHYLayerBlock
- DeEnc deencapcerator
- the controller 101 determines the time stamp as the start point and the unit cycle of the time stamp starting from the start point based on the time information from the timer 102. In addition, the controller 101 controls the Enc150 to generate an UPLink packet and the DeEnc160 to control the extraction from the DownLink packet. In addition, the controller 101 acquires GPIO setting information, unit cycle, and sampling cycle setting values from Master 10 by I2C communication. That is, the controller 101 includes an I2C controller function with the Master 10. Further, the controller 101 performs all sampling in which the data in the received GPIO packet is sampled at a fixed sampling cycle based on the header information in the GPIO packet extracted from the DownLink packet received from S_SerDes200. It is determined whether the data is included or the sampling data and the sampling position sampled at the sampling interval according to the logical change of the GPIO signal are included.
- the unit cycle is the time interval of the time stamp.
- M_SerDes100 and S_SerDes200 may be given a unit period as setting information in advance.
- the Master 10 may transmit unit cycle information to the controller 101 in the M_SerDes 100 and the controller 201 in the S_SerDes 200 via I2C communication.
- the encapsulator 150 synchronizes the GPIO signal from Master 10 with the time stamp every unit cycle specified by the controller 101, and responds to the logical change of all the sampling data or GPIO signal sampled in a fixed sampling cycle. Generates a packet of a predetermined communication protocol including sampling data sampled at a sampling interval and a sampling position. In the full sampling mode (first mode), the encapsulator 150 generates a first GPIO packet containing all the sampling data obtained by sampling the first GPIO signal received from the Master in the sampling cycle starting from the start point. do.
- the encapsulator 150 uses the sampling data in which the value of the sampling data sampled at the first sampling timing is the sampling data sampled at the second sampling timing after the sampling cycle has elapsed from the first sampling timing.
- the first GPIO packet including the sampling data sampled at the second sampling timing and the first time information indicating the second sampling timing is generated.
- DLL120 generates UPLink packets by combining the packets generated by Enc (also called GPIO packets) with other transmission packets. Further, the DLL 120 receives the DownLink packet transmitted from the S_SerDes200 via the DownLink, extracts the GPIO packet from the DownLink packet, and transmits the GPIO packet to the deencapcerator 160.
- Enc also called GPIO packets
- the PHY 110 outputs the UPLink packet from the DLL 120 to the transmission path according to the UPLink output timing by TDD. Further, the PHY 110 receives the DownLink packet transmitted from the S_SerDes200 and transmits it to the DLL 120.
- the deencapcerator 160 Under the control of the controller 101, the deencapcerator 160 receives the GPIO packet extracted from the DownLink packet by the DLL 120 and converts it into a GPIO signal. The deencapcerator 160 transmits the converted GPIO signal to the Master 10 via the input / output buffer. The deencapcerator 160 reproduces the second GPIO signal based on the mode information, the starting point, the sampling period, and the second GPIO packet. More specifically, the deencapcerator 160 reproduces the second GPIO signal based on the mode information, the starting point, the sampling period and the second GPIO packet.
- the deencapcerator 160 contains one or more sampling data in the second GPIO packet, and the sampling cycle elapses from the start point.
- Each of the sampling data included in the second GPIO packet is assigned to each of the sampling data to be sampled each time, and the second GPIO signal is reproduced.
- the encapsulator 150 includes each of the one or more sampling data in the second GPIO packet in association with the second time information indicating the sampling timing, and the second GPIO packet is included. Sampling data corresponding to the second time information is assigned at the sampling timing indicated by the time information, and the same sampling data is used for each sampling cycle until the sampling timing of the next second time information in the second GPIO packet. The process of allocating the second GPIO signal is repeated to reproduce the second GPIO signal.
- Timer 102 outputs time information.
- the time information from the timer 102 is input to the controller 101, the encapsulator 150, and the deencapcerator 160.
- the encoder 150 adds time stamp information and time information to the GPIO packet based on the time information from the timer 102.
- Slave 20 has a controller 21, a timer 22, and input / output buffers 23 and 24.
- FIG. 1 shows only the block configuration related to GPIO communication inside Slave 20.
- Slave 20 may have a function other than GPIO communication, but it is omitted in FIG.
- the controller 21 controls to send and receive GPIO signals to and from S_SerDes200 via the input / output buffers 23 and 24.
- the timer 22 can synchronize with S_SerDes200, Master10, and M_SerDes100 as described later.
- the S_SerDes200 includes a controller 201, an encapsulator (Enc) 250, a LinkLayerBlock (DLL) 220, a PHYLayerBlock (PHY) 210, a deencapcerator (DeEnc) 260, a timer 202, and an input / output buffer. It has 203, 204 and an I2C controller 270.
- the controller 201 collects all the sampling data in which the data in the received GPIO packet is sampled at a fixed sampling cycle based on the header information in the GPIO packet extracted from the UPLink packet received from M_SerDes100. Determine whether to include or include sampling data and sampling positions sampled at sampling intervals according to the logical change of the GPIO signal. Further, the controller 201 controls the Enc 250 to generate a packet and the DeEnc 260 to control the extraction of a GPIO signal from the packet.
- the controller 201 has a function of performing I2C communication with the Slave 20 via the I2C controller 270. The functionality of the I2C controller 270 may be included in the controller 201.
- the Enc250 synchronizes the GPIO signal from Slave 20 with the time stamp every unit cycle, and samples all the sampling data sampled in a fixed sampling cycle or at the sampling interval according to the logical change of the GPIO signal. Generates a packet (GPIO packet) of a predetermined communication protocol including the sampled data and sampling position.
- DLL 220 combines GPIO packets generated by Enc 250 with other transmission packets to generate DownLink packets. In addition, DLL 220 extracts the GPIO packet from the UPLink packet received from M_SerDes100 via UPLink and sends it to DeEnc260.
- the PHY 210 outputs the Down Link packet from the DLL 220 to the transmission path according to the Down Link output timing by TDD. Further, the PHY 210 receives the UPLink packet transmitted from the M_SerDes100 and transmits it to the DLL 220.
- the DeEnc 260 Under the control of the controller 201, the DeEnc 260 receives the GPIO packet extracted from the UPLink packet by the DLL 220 and converts it into a GPIO signal. The DeEnc 260 transmits the converted GPIO signal to the Slave 20 via the input / output buffers 203 and 204.
- Timer 202 outputs time information.
- the time information from the timer 202 is input to the controller, Enc 250, and DeEnc 260.
- the Enc 250 adds a time stamp to the GPIO packet based on the time information from the timer 202.
- FIG. 2A is a block diagram showing the internal configuration of the encapsulator 150 in M_SerDes100.
- the internal configuration of Enc250 in S_SerDes200 is also the same as in FIG. 2A.
- the encoder 150 has a sampler 53, an encoder 52, and an Enc core 51.
- the sampler 53 samples the GPIO signal transmitted from the Master 10 at a fixed sampling cycle and transmits all the sampled sampling data, or sampling at a sampling interval according to the logical change of the GPIO signal. Transmit data and sampling position.
- sampling a GPIO signal at a constant sampling cycle is called full sampling, and sampling at a sampling interval according to a logical change of the GPIO signal is called edge sampling. More specifically, in full sampling, the GPIO signal is sampled at each sampling period and all the sampled sampling data is transmitted. In edge sampling, the GPIO signal is sampled for each sampling cycle, and the sampling data sampled at the sampling interval in which the GPIO signal changes logically and the sampling position are transmitted as a set.
- the encoder 52 encodes the data sampled by the sampler 53.
- the Enc core 51 adds header information and a type stamp to the coded data encoded by the encoder 52 to generate a GPIO packet.
- the GPIO packet generated by the Enc core 51 is sent to the DLL 120.
- FIG. 2B is a block diagram showing the internal configuration of the deencapcerator 160 in M_SerDes100.
- the internal configuration of DeEnc260 in S_SerDes200 is also the same as in FIG. 2B.
- the deencapsulator 160 has a DeEnc core 61, a decoder 62, a memory (mem) 63, and a selector (sel) 64.
- the DeEnc core 61 separates the GPIO packet extracted by the DLL from the DownLink packet received from S_SerDes200 via the transmission path and outputs the encoded data.
- the decoder 62 decodes the coded data output from the DeEnc core 61 into sampling data before coding, and temporarily stores the coded data in the memory 63.
- the selector 64 restores the original GPIO signal based on the sampling data stored in the memory 63 and the sampling data decoded by the decoder 62.
- the GPIO signal output from the selector 64 is transmitted to the Master 10 via the input / output buffers 103 and 104.
- FIG. 1 shows an example in which Master 10 performs GPIO communication with one M_SerDes 100 and Slave 20 performs GPIO communication with one S_SerDes 200. It can be assumed that Slave 20 will perform GPIO communication with multiple S_SerDes 200. That is, one Master 10 can perform serial signal transmission with a plurality of Slave 20s via a plurality of M_SerDes 100s and a plurality of S_SerDes 200s.
- FIG. 3 is a block diagram showing a schematic configuration of a communication system 1 including a plurality of M_SerDes 100, 400 that perform GPIO communication with Master 10 and a plurality of S_SerDes 200, 500 that perform GPIO communication with a plurality of Slave 20, 90. be.
- the internal configuration of each M_SerDes 100, 400, the internal configuration of each S_SerDes 200, 500, and the internal configuration of each Slave 20, 90 are the same as in FIG. Master 10 communicates at least GPIO with multiple M_SerDes 100, 400.
- Each of the plurality of M_SerDes 100, 400 performs serial signal transmission with one of the plurality of S_SerDes 200, 500 by, for example, the TDD method.
- Each of the plurality of Slave 20, 90 performs GPIO communication with at least one of the plurality of S_SerDes 200, 500.
- FIG. 4 is a diagram showing the relationship between the TDD cycle and the sampling cycle of the encapsulator 150 in M_SerDes100.
- the sampling period of Enc 250 in S_SerDes 200 is the same as the sampling period of the encapsulator 150 in M_SerDes 100.
- the controller 101 in M_SerDes100 sets the time stamp, which is the starting point for sampling the GPIO signal, based on the time information from the timer 102. Further, the controller 101 sets a type stamp for each TDD cycle (unit interval) of the TDD method. In FIG. 4, three time stamps are illustrated as an example, and the time interval of these time stamps coincides with the TDD cycle.
- the sampler 53 in the encapsulator 150 samples the GPIO signal in synchronization with the time stamp set by the controller 101.
- M_SerDes100 selects whether to perform full sampling or edge sampling based on the GPIO setting information from Master10. More specifically, the controller 101 acquires the GPIO setting information transmitted from Master 10 via I2C communication, and based on the acquired GPIO setting information, performs full sampling or edge sampling for M_SerDes 100. Instruct whether to do it.
- the GPIO setting information includes at least one of GPIO signal sampling frequency information, GPIO pin setting information, GPIO configuration information, and data length information of sampled data.
- the GPIO configuration information includes the number of pins for GPIO communication, the GPIO pin setting information, and the time slot for storing the GPIO communication information.
- the sampler 53 in the encapsulator 150 starts sampling in synchronization with the time stamp, and then samples the GPIO signal at regular intervals. More specifically, the sampler 53 samples the GPIO signal in synchronization with the rising or falling edges of the clock (not shown) synchronized with the time stamp when performing full sampling.
- the sampler 53 is the same as full sampling in that when edge sampling is performed, sampling is started in synchronization with the time stamp and sampling is performed at each sampling cycle, but there is a logical change in the GPIO signal.
- the sampling data of the time is transmitted together with the sampling position. Therefore, as shown in the latter half period of FIG. 4, when the logic of the GPIO signal does not change within one TDD cycle, the sampling data is not transmitted, so that the data amount of the sampling data can be reduced.
- the Master 10 specifies in the GPIO setting information whether M_SerDes100 and S_SerDes200 will fully sample the GPIO signal or edge sample it.
- the GPIO setting information includes GPIO mode information, and if the GPIO mode information is in full sampling mode, M_SerDes100 and S_SerDes200 perform full sampling, and if the GPIO mode information is in edge sampling mode. , M_SerDes100 and S_SerDes200 perform edge sampling.
- FIG. 5 is a diagram illustrating full sampling in detail.
- M_SerDes100 and S_SerDes200 perform full sampling.
- GPIO signals are sampled at regular time intervals between two adjacent time stamps.
- M_SerDes100 and S_SerDes200 perform serial signal transmission by the TDD method, the interval between two adjacent time stamps is 1 TDD cycle.
- the sampler 53 starts sampling the GPIO signal in synchronization with the time stamp that is the starting point.
- sampling is started in synchronization with the first time stamp, and sampling data data0 is acquired.
- the sampling data is 1-bit data of 0 or 1.
- sampling is performed 500 times in total within one TDD cycle.
- the 500 sampled sampling data data0, data10, ..., Data4990 are arranged in order to generate a packet containing 500-bit serial data.
- header information and a time stamp are added in addition to the serial data shown in FIG.
- the sampling frequency of the sampler 53 is specified by Master 10 in the GPIO setting information as described later.
- Master 10 sets the optimum sampling frequency suitable for the GPIO signal.
- 500 sampling data are arranged in order to generate a packet, but a packet including the position information of each sampling data and the sampling data may be generated. Further, the sampler 53 may sample the GPIO signal at the rising edge of the clock or may sample the GPIO signal at the falling edge.
- FIG. 6 is a diagram illustrating edge sampling in detail.
- M_SerDes100 and S_SerDes200 perform edge sampling.
- edge sampling sampling data sampled at the timing when a logical change of the GPIO signal occurs between two adjacent time stamps is transmitted together with the sampling position. More specifically, sampling is started in synchronization with the time stamp (a) which is the starting point, and sampling data data0 is acquired. After that, sampling is performed at a constant sampling cycle, but only when the logic of the GPIO signal changes ((b), (c), (d), (e)), the sampling data and the sampling position are combined. Is transmitted. In the example of FIG.
- the time interval between two adjacent time stamps is 1 TDD cycle, and a sampling cycle at a fixed interval is provided in the 1 TDD cycle.
- the sampling data at the sampling timing located immediately after the timing when the logic of the GPIO signal is changed is transmitted together with the sampling position.
- the sampling timing in which the logical change of the GPIO signal occurs is indicated by the solid line arrow line, and the sampling timing in which the logical change does not occur is indicated by the broken line arrow line.
- the GPIO signal may be sampled at the rising edge or the falling edge of the clock.
- FIG. 6 shows an example of generating serial data in which sampling positions and sampling data are combined and arranged.
- the sampling position synchronized with the first time stamp transmits the sampling data even if there is no logical change in the GPIO signal. That is, the sampling position pos0 and the sampling data data0 are paired and transmitted.
- serial data is generated by combining each sampling position and sampling data only for the timing POS2, POS4, ..., POS499 where the GPIO signal has a logical change.
- GPIO packets are generated by adding time stamp information and header information to the serial data of FIG.
- a packet may be generated by pairing the sampling timing time information and sampling data.
- the time information of the sampling timing does not have to be an absolute time, and may be a relative time from the sampling start time.
- FIG. 7 is a diagram showing an example in which the sampling position is represented by absolute time or relative time within a unit cycle.
- FIG. 7 illustrates two types of data formats.
- the upper data format shows an example in which the time information is set to 16-bit absolute time
- the lower data format shows an example in which the time information is set to 8-bit relative time.
- the relative time is the time difference from the sampling start time.
- the relative time may be a bit string on the lower side of the bit string representing the absolute time.
- the packets sent and received by M_SerDes100 and S_SerDes200 via the transmission path include time stamp information and GPIO header information in addition to the serial data in the data formats shown in FIGS. 5 to 7.
- FIG. 8 is a diagram showing an example of GPIO header information. As will be described in detail later, the GPIO header information in FIG. 8 is different at the time of full sampling and at the time of edge sampling, but FIG. 8 shows the individual information included in the GPIO header information at the time of both samplings collectively. ing.
- the GPIO header information includes GPIO mode (GPIO mode (T)), GPIO pin information (GPIO Pin info (U) or (R)), and data placement information (Data placement (W)). And include.
- the time stamp information t_stamp (S) is 1 bit, and if it is 0, it means that the time stamp does not exist, and if it is 1, it means that the time information is newly inserted immediately after the time stamp information t_stamp (S). show.
- the GPIO mode (T) is, for example, 3-bit information, and if the most significant bit is 0, it indicates full sampling, and if the most significant bit is 1, it indicates edge sampling. If the lower 2 bits of the 3 bits of the GPIO mode (T) are 00, it indicates that the GPIO header information includes the GPIO configuration information (configuration) and data information. If the lower 2 bits are 01, it means that the GPIO header information includes the GPIO configuration information but does not include the data information. If the lower 2 bits are 10, it means that the GPIO header information includes the data information but does not include the GPIO configuration information. If the lower 2 bits are 11, it indicates that the GPIO header information includes user-defined information (User define).
- GPIO pin information (U) or (R) includes the pin number.
- the pin number is represented by, for example, 4 bits from the 4th bit to the 7th bit of the GPIO header information. Further, the lower two bits of the GPIO header information indicate whether the pin is in the disabled state, the signal input, the signal input in the high impedance state, or the signal output.
- the data arrangement information (W) is 2-bit information. If it is 00, it means that one pin uses eight time slots to transmit serial data, and if it is 01, it means that each pin has a maximum of two pins. Indicates that serial data is transmitted using four time slots. If it is 10, it means that each pin transmits serial data using two time slots with a maximum of four pins. If it is 11, it means that a maximum of 16 pins are used, and each pin uses one time slot to transmit serial data. A specific example of this data arrangement information (W) is shown in FIG. 12, which will be described later.
- the GPIO header information at the time of full sampling includes (T) and (U) of FIG. 8
- the GPIO header information at the time of edge sampling includes (T) and (T) of FIG. R) Including.
- 9A, 9B and 9C are diagrams showing the data structure of the packet transmitted by M_SerDes100 or S_SerDes200.
- FIG. 9A shows a case where a packet containing only GPIO header information is transmitted, and the packet in this case includes time stamp information, header information, and CRC which is an error detection signal.
- the packet of FIG. 9A does not contain data.
- FIG. 9B shows a case where a packet containing only sampling data is transmitted, and the packet in this case includes time stamp information, full sampling or edge sampling data, and CRC.
- FIG. 9B does not include GPIO header information.
- FIG. 9C shows a case where a packet including GPIO header information and sampling data is transmitted, and the packet in this case includes time stamp information, GPIO header information, full sampling or edge sampling data, and CRC. As described above, the packet of FIG. 9C is used when the GPIO header information and the data are transmitted in combination.
- the packets of FIGS. 9B and 9C include serial data in which a plurality of sampling data are arranged in order at the time of full sampling, and include serial data in which a plurality of sets are arranged in order by combining sampling position information and sampling data at the time of edge sampling. I'm out.
- the packets of FIGS. 9A, 9B and 9C show an example in which the time stamp information t_stamp (S) is 0.
- the time stamp information t_stamp (S) is 1, the time information is inserted between the time stamp information t_stamp (S) and the GPIO header information in the packet of FIG. 9A, and the time stamp information t_stamp in the packet of FIG. 9B.
- the time information is inserted between (S) and the sampling information, and in the packet of FIG. 9C, the time information is inserted between the time stamp information t_stamp (S) and the GPIO header information.
- 10 and 11 are diagrams showing details of GPIO header information included in the GPIO packet generated by the encapsulator 150 in M_SerDes100 or Enc250 in S_SerDes200.
- FIG. 10 shows GPIO header information when full sampling is performed
- FIG. 11 shows GPIO header information when edge sampling is performed.
- the GPIO header information is partially different between the GPIO packet transmitted by the UP Link and the GPIO packet transmitted by the Down Link.
- the GPIO header information differs depending on whether it is full sampling or edge sampling.
- the header information of the GPIO packet generated by the encapsulator 150 in M_SerDes100 is 8 bytes described as UPLink in FIG.
- the header information of the GPIO packet for UPLink in FIG. 10 shows an example in which two time slots are selected as described later.
- the two time slots use a maximum of four pins (Pin1 to Pin4), and each pin transmits one bit at the same time in parallel, so that one byte of data is transmitted in the two time slots.
- the time slot indicates how many GPIO signal sampling data are transmitted at the same time.
- the first byte of the header information of the GPIO packet for UPLink in FIG. 10 is the GPIO mode (T), and bit [7] and bit [1: 0] are used. If the bit [7] is 0, it is full sampling, and if it is 1, it is edge sampling. If the bit [1: 0] is 00, it indicates that the GPIO configuration information and data information are included in the second and subsequent bytes. If the bit [1: 0] is 01, it means that only the GPIO configuration information is included in the second and subsequent bytes. If the bit [1: 0] is 10, it means that only the data information is included in the second and subsequent bytes. If the bit [1: 0] is 11, it means that the user-defined information is included in the second and subsequent bytes.
- the second byte is GPIO pin information (U).
- Bit [1: 0] is Pin1 information
- bit [3: 2] is Pin2 information
- bit [5: 4] is Pin3 information
- bit [7: 6] is Pin4 information.
- the information of each pin of Pin1 to Pin4 is represented by 2 bits, 00 represents a disabled state, 01 represents a signal input, 10 represents a signal input in a high impedance state, and 11 represents a signal output.
- pins In the case of 2 time slots, up to 4 pins can be used for signal input or signal output.
- Pin1 to Pin3 are used for signal input and Pin4 is used for signal output. That is, it is shown that Pin1 to Pin3 are used for UPLink and Pin4 is used for DownLink.
- the third byte is the sampling frequency, which is a part (V) of the pin configuration information. For example, if the third byte is 0x01, the sampling frequency is 250 MHz (sampling cycle is 4 nsec), and if it is 0xFA, the sampling frequency is 1 MHz (sampling cycle is 1 ⁇ sec).
- the 4th byte is the pin arrangement (pin pattern) which is a part (W) of the pin configuration information. For example, if the 4th byte is 0x00, it is an 8 time slot, if it is 0x01, it is a 4 time slot, if it is 0x02, it is a 2 time slot, if it is 0x03, it is a 1 time slot, and if it is 0x04, it is a half time slot. In the example of FIG. 10, 0x02 indicating 2 time slots is described.
- FIG. 12 is a diagram illustrating the details of the pin arrangement.
- a serial signal is transmitted bit by bit using one pin, so that 8 time slots are required to transmit 1 byte of data.
- 4 time slots since each pin transmits a serial signal one bit at a time using two pins, it takes 4 time slots to transmit 1 byte of data.
- two time slots since each pin transmits a serial signal one bit at a time using four pins, it takes two time slots to transmit one byte of data.
- one time slot since each pin transmits a serial signal one bit at a time using eight pins, one time slot is required to transmit one byte of data. Since the half-time slot uses 16 pins and each pin transmits a serial signal one bit at a time, a half-time slot is required to transmit 2-byte data.
- the potential of each pin according to the selected time slot may be fixed to the high potential or the low potential.
- the 5th to 7th bytes (X) and (Y) of the header information of the GPIO packet for UPLink are data information.
- the fifth byte is the data length. In the example of FIG. 10, it is described as 0x02, which indicates that it is 2 bytes.
- the 6th to 7th bytes show the data arrangement of each pin of the data transmitted by UPLink.
- Pin1 to Pin3 transmit four types of data Data0 to Data3 in parallel. Specifically, after Pin1 to Pin3 transmit Data0 bit by bit, Pin1 to Pin3 transmit Data1 bit by bit, then Pin1 to Pin3 transmit Data2 bit by bit, and finally Pin1 to Pin3. Shows an example of transmitting Data3 bit by bit.
- the 8th byte (Q) of the GPIO packet for UPLink is error detection information (CRC).
- CRC error detection information
- the first byte of the header information of the GPIO packet for DownLink in FIG. 10 is the GPIO mode, which is the same as the GPIO mode for UPLink.
- the second byte is GPIO pin information, which is the same as GPIO pin information for UPLink.
- Pin4 is assigned for DownLink.
- the 3rd to 4th bytes are pin configuration information.
- the 4th byte is 0x00, which indicates that it is an 8 time slot.
- the fifth byte is the data length.
- the sixth byte is data information. In the example of FIG. 10, it is shown that four kinds of data (Data0 to Data3) are transmitted in order by using Pin4.
- the 7th byte is CRC.
- FIG. 11 shows GPIO header information of the GPIO packet when edge sampling is performed.
- the first byte of the header information of the GPIO packet for UP Link in FIG. 11 is the GPIO mode (T), which is the same as the GPIO mode in the header information in FIG.
- the second byte is GPIO pin information (R). If bit [7] is 0, it indicates the continuation of packet transmission, and if it is 1, it indicates the end of packet transmission. If bit [5: 4] is 00, it represents a disabled state, if it is 01, it represents a signal input, a signal input in a high impedance state, and 11 represents a signal output.
- the second byte bit [3: 0] is a pin number. The pin number is described as 0x01, which represents Pin1.
- sampling frequency information V
- V sampling frequency information
- the 3rd to 7th bytes are data information (X) and (Z).
- X data information
- Z data information
- FIG. 11 shows an example in which Pin1 and Pin2 are assigned for UPLink and Pin4 is assigned for DownLink. Pin3 is don't care.
- Information on Pin1 is described in the 4th to 7th bytes of UPLink in FIG. More specifically, the information on the first logical change point of Pin1 is described in the 4th to 5th bytes, and the information on the second logical change point of Pin2 is described in the 6th to 7th bytes.
- Pin2 information is described in the 8th to 11th bytes of UPLink in FIG.
- Pin1 has two logical change points, whereas Pin2 has one logical change point. Therefore, for Pin2, the information of the first logical change point is in the 9th to 11th bytes. It has been described.
- the 12th byte (Q) is CRC information.
- the first byte of DownLink in FIG. 11 is GPIO mode information, and the second byte is GPIO pin information. Although it is described as 0x04 as GPIO pin information, this is a pin number indicating Pin4. Information on the logical change point of Pin4 is described in the 4th to 5th bytes.
- the sixth byte is CRC information.
- FIG. 13 is a diagram in which signal transmission sequences (1) to (10) are added to a block diagram showing the internal configuration of M_SerDes 100.
- FIG. 14 is a diagram showing a sampling waveform of M_SerDes 100, a GPIO packet, and an UP (Down) Link packet at the time of full sampling.
- Master 10 uses a protocol such as I2C to the controller 101 in M_SerDes 100 for GPIO header information ((R), (T), (U), (V), (W)), timer 102 time control command. , Has a function to send GPIO setting information.
- Master 10 writes the new set time of timer 102 as GPIO header information and time control instruction to the corresponding register of controller 101 using the I2C protocol.
- the controller 101 can synchronize the time of the timer 12 in the Master 10 and the timer 102 in the M_SerDes 100 by reflecting it on the timer 102.
- controller 101 sets GPIO.
- M_SerDes100 has a controller 101, a timer 102, input / output buffers 103 and 104, an encapsulator 150, a deencapcerator 160, and a LINK 120 and a PHY 110.
- the controller 101 controls the timer 102, the input / output buffers 103, 104, the encapsulator 150, and the deencapcerator 160.
- the encapsulator 150 has a sampling period (V) in which the GPIO signal (1) from the Master 10 is specified by the time information input from the timer 102 and the GPIO header information ((T) to (X)) transmitted from the controller 101. ) Sampling (2), encoding in the specified GPIO mode (T) (3) to convert to sampling data (Y), and GPIO header information ((T)-(X)) in the sampling data (Y) ) And the time stamp information t_stamp (S) related to the time information transmitted from the controller 101 are encapsulated and attached with CRC (Q) to send the packet (4) to LINK 120. As described above, the time stamp information t_stamp (S) is 1-bit information of 0 or 1.
- the encapsulator 150 can generate a GPIO packet containing the time control command transmitted from Master 10 via I2C communication as data and send it to S_SerDes 200.
- the S_SerDes200 can synchronize the Master10, M_SerDes100, and S_SerDes200 by restoring the time control instruction in the GPIO packet and setting it in the timer 202.
- the deencapcerator 160 deencapsulates the input signal (5) from the LINK 120 with the GPIO header information ((T)-(W)) transmitted from the controller 101, and collects the sampling data (Y). Extract (6), restore the sampled data (Y) packet to the original GPIO signal (8), and write to memory 63 as needed.
- the deencapcerator 160 determines the output timing of the GPIO signal based on the time information input from the timer 102. In this case, the restored GPIO signal is sent to the selector 64 without writing to the memory 63.
- the deencapcerator 160 determines the output timing of the GPIO signal based on the time information immediately after that. In this case, the restored GPIO signal is written to the memory 63, and the GPIO signal is read from the memory 63 and selected at the timing when the time information input from the timer 102 matches the time information immediately after the time stamp information t_stamp (S). It has a function (10) to send to Master 10 via 64.
- the GPIO signal can be transmitted to the Master 10 at the timing according to the time information set by the Slave 20.
- S time stamp information
- M_SerDes 100, and S_SerDes 200 are provided, GPIO signals can be transmitted to Master 10 at the timing according to the time information set by each Slave 20. can.
- the deencapsulator 160 has a function to send new GPIO header information to the controller 101 if new GPIO header information ((T) to (W)) is set after decapsulation (6). have.
- the GPIO header information transmitted from the controller 101 includes the GPIO mode (T) indicating the data format of the transmitted / received data, the Pin information (U) of the GPIO used, the sampling cycle information (V), and the data array. Includes information (W) and data length (X).
- the deencapsulator 160 uses the selection signal of selector 64 from the controller 101 to path (7).
- the GPIO signal that has been restored is passed and transmitted to Master 10 without delay (10).
- FIG. 15 is a diagram showing a sampling waveform of M_SerDes 100, a GPIO packet, and an UP (Down) Link packet at the time of edge sampling.
- Master 10 has a function to send GPIO header information ((R), (T) to (W)), time control command of timer 102, and GPIO setting information to controller 101 of M_SerDes100 using a protocol such as I2C. have.
- the controller 101 in M_SerDes100 controls the timer 102, the input / output buffers 103, 104, the encapsulator 150, and the deencapcerator 160.
- the encapsulator 150 is a GPIO signal (1) from Master 10 with time information input from timer 102 and GPIO header information ((R), (T), (V), (X)) transmitted from controller 101. Is sampled in the specified sampling period (2) and encoded in the specified GPIO mode (T) (3) to convert it to sampling data (Z), and the GPIO header information ((R)) is converted to the sampling data (Z). ), (T), (V), (X)) and the time stamp information t_stamp (S) related to the time information sent from the controller 101 is encapsulated and attached with CRC (Q) to send the packet (4) to LINK 120. It has a function to send.
- the decapsulator 160 decapsulates the input signal (5) from the LINK 120 with the GPIO header information ((R), (T), (V)) transmitted from the controller 101 (6), and the sampling data (Z). ) Is taken out (6), the sampled data (Z) packet is restored to the original GPIO signal (8), and the memory 63 is written. Further, the decapcerator 160 reads out the data written in the memory 63 after the time information input from the timer 102 and the time information immediately after the time stamp information t_stamp (S) match (9), and sends the data to the Master 10 (9).
- the GPIO header information transmitted from the controller 101 includes GPIO mode (T) indicating the data format of the transmitted / received data, the Pin number & setting information (R) of the GPIO being used, and the sampling cycle information (V). Includes data length (X).
- the deencapsulator 160 uses the selection signal from the controller 101 to output the GPIO signal (7). ) And the selector 64, and send to Master 10 without delay (10).
- FIG. 16 is a diagram in which signal transmission sequences (1) to (11) are added to a block diagram showing the internal configuration of S_SerDes 200.
- FIG. 17 is a diagram showing UP (Down) Link packets sent and received by S_SerDes 200 at the time of full sampling.
- S_SerDes200 has an I2C controller 270, a controller 201, a timer 202, input / output buffers 203 and 204, a deencapsulator 260, and an encapsulator 250.
- the I2C controller 270 communicates with the controller 21 of Slave 20 using a protocol such as I2C.
- the controller 201 has a function of controlling the LINK 220 and PHY 210 that are transmitted and received by the communication protocol X, and the timers 202, Enc 250, DeEnc 260, and I2C controller 270 that are internal blocks. Before starting GPIO communication with Slave 20, the controller 201 performs input / output control of the GPIO pin based on the GPIO pin setting information transmitted from the Master 10 via the communication partner device.
- the deencapsulator 260 has a function of decapsulating the packet (5) of the communication protocol X and restoring the original GPIO signal and GPIO header information.
- the deencapcerator 260 indicates that the sampling mode information included in the header information in the first GPIO packet includes all the sampling data obtained by sampling the GPIO signal transmitted from the Master in a fixed sampling period. It is a mode (first mode) or an edge sampling mode (second mode) indicating that it contains sampling data and sampling position information sampled at sampling intervals according to the frequency of logical changes in the GPIO signal.
- the first GPIO packet is converted into the first GPIO signal and transmitted to Slave.
- the deencapcerator 260 contains one or more sampling data in the first GPIO packet, and the sampling data is sampled every time the sampling cycle elapses from the starting point. Each of the sampling data included in the first GPIO packet is assigned to each of the above, and the first GPIO signal is reproduced.
- the deencapcerator 260 is included in the first GPIO packet in association with the first time information indicating the sampling timing in which each of the one or more sampling data is sampled. Sampling data corresponding to the first time information is assigned at the sampling timing indicated by the time information, and the same sampling data is used for each sampling cycle until the sampling timing of the next first time information in the first GPIO packet. The process of allocating the first GPIO signal is repeated to reproduce the first GPIO signal.
- the encapsulator 250 samples and encapsulates the GPIO signal from Slave 20 and sends the packet (4) to M_SerDes 100.
- the encapsulator 250 uses the time information input from the timer 202 and the GPIO header information ((T) to (X)) transmitted from the controller 201 to obtain the GPIO signal (1) from the Slave 20 at the specified sampling period ( Sampling in V) (2), encoding in the specified GPIO mode (T) (3) to convert to sampling data (Y), and GPIO header information ((T)-(X) in the sampling data (Y) )) And has a function to encapsulate the time information and time stamp information t_stamp (S) transmitted from the controller 201, attach CRC (Q), and send the packet (4) to LINK 220.
- the encapsulator 250 includes sampling data and sampling position information in which the second GPIO signal from Slave 20 is sampled from the starting point at a fixed sampling cycle or at a sampling interval according to the frequency of logical change of the GPIO signal. Generate a second GPIO packet. More specifically, in full sampling mode, the encapsulator generates a second GPIO packet containing all the sampling data sampled from the second GPIO signal received from Slave in a sampling period starting from the starting point. In the edge sampling mode, the encapsulator 250 determines that the value of the sampling data sampled at the first sampling timing is different from the value of the sampling data sampled at the second sampling timing after the sampling cycle has elapsed from the first sampling timing. , A second GPIO packet including sampling data sampled at the second sampling timing and time information indicating the second sampling timing is generated.
- the deencapcerator 260 decapsulates the input signal (5) from the LINK 220 with the GPIO header information ((T)-(W)) transmitted from the controller 201, and extracts the sampling data (Y). (6) Restore the sampling data (Y) packet to the original GPIO signal (8), and write it to the memory 63 as needed.
- the deencapcerator 260 determines the output timing of the GPIO signal based on the time information input from the timer 202. In this case, the restored GPIO signal is sent to the selector 64 without writing to the memory 63.
- the deencapcerator 260 determines the output timing of the GPIO signal based on the time information immediately after that. In this case, the restored GPIO signal is written to the memory 63, and the GPIO signal is read from the memory 63 and selected at the timing when the time information input from the timer 202 matches the time information immediately after the time stamp information t_stamp (S). It has a function (10) to send to Slave 20 via 64.
- the deencapcerator 260 matches the time information input from the timer 202 with the time information immediately after the time stamp information t_stamp (S). It has a function (10) to read the data written in the memory 63 from (9) and send it to Slave 20.
- the GPIO signal can be transmitted to the Slave 20 at the timing according to the time information set by the Master 10.
- GPIO signals should be transmitted to each Slave 20 at the same timing according to the time information set by Master 10. Can be done.
- the deencapsulator 260 has a function to set the input / output buffers 203 and 204 according to the setting information (U) of the input / output buffers 203 and 204 after decapsulation (6) and a capsule. If the de-encapsulation (6) contains new GPIO header information ((T)-(W)), it has a function to send the new GPIO header information to the controller 201.
- the controller 201 When the received GPIO packet contains a time control instruction to the timer 202, the controller 201 reflects the new set time included in the time control instruction to the timer 202, so that the timer 12 and the timer 202 Time can be synchronized.
- FIG. 18 is a diagram showing UP (Down) packets sent and received by S_SerDes 200 during edge sampling.
- Encapsulator 250 in S_SerDes 200 is from Slave 20 based on the time information input from timer 202 and GPIO header information ((R), (T), (V), (X)) sent from controller 201.
- GPIO signal (1) is sampled (2) in the specified sampling period (V), encoded in the specified GPIO mode (T) (3), converted to sampling data (Y), and sampled data (Sampling data (Y).
- GPIO header information ((R), (T), (V), (X)) and time information and time stamp information t_stamp (S) transmitted from controller 201 are added to Y) and encapsulated, and CRC (Q) ) Is added to have a function to send a packet (4) to LINK 220.
- the deencapcerator 260 decapsulates the input signal (5) from the LINK 220 with the GPIO header information ((R), (T), (V)) transmitted from the controller 201, and the sampling data (Y). ) Is taken out (6), the sampled data (Y) packet is restored to the original GPIO signal (8), and the memory 63 is written.
- the deencapcerator 260 reads out the data written in the memory 63 after the time information input from the timer 202 and the time information immediately after the time stamp information t_stamp (S) match (9), and the Slave 20 If the function (10) to send to and the decapsulation (6) include the setting information (U) of the pins connected to the input / output buffers 203 and 204, set the input / output buffers 203 and 204 according to the contents. It has a function and a function to send the new GPIO header information to the controller 201 when the new GPIO header information ((R), (T), (V)) is included in the decapsulation (6).
- the deencapsulator 260 encapsulates the packet (5) from the LINK 220 with the GPIO header information ((T)-(X) or (R), (T), (V)) transmitted from the controller 201. Release, take out the sampled data (Y) (6), restore the original GPIO signal from the sampled data (Y) packet (8), and write it to the memory 63.
- FIG. 19 is a diagram showing a data structure of a packet input to the deencapcerator 260.
- the deencapcerator 260 reads out the data written in the memory 63 (9) and sends it to the Slave 20. It has a function (10).
- the deencapsulator 260 has a function to set the input / output buffers 203 and 204 according to the setting information (U) of the pins connected to the input / output buffers 203 and 204 when the decapsulation (6) is included. , If the decapsulation (6) contains new GPIO header information ((T)-(X) or (R), (T), (V)), send the new GPIO header information to controller 201. Has a function to do.
- the deencapsulator 260 decapsulates the packet (5), and if the packet (5) contains the pin setting information (U) or (R) connected to the input / output buffers 203 and 204, the corresponding pin setting is performed. Check the information (U) or (R) and set the GPIO.
- the setting information (U) or (R) of the input / output buffer 203 is IN, perform GPIO setting in which the output from Slave 20 is input as GPIO. If the setting information (U) or (R) of the input / output buffer 204 is OUT, set the GPIO to output the input signal to Slave 20 as a GPO. If the I / O buffers 203 and 204 are pulled up or pulled down, the GPIO setting information (U) or (R) is IN_float (pull up / pull down).
- the input / output buffers 103 and 104 can also be set in the controller 101 in M_SerDes100 in the same way.
- FIG. 20 is a diagram showing procedures (1) to (6) for time synchronization between the timer 12 in the Master 10, the timer 102 in the M_SerDes 100, and the timer 202 in the S_SerDes 200.
- Master 10 sends a time control command for time synchronization with timer 12 of Master 10 and timer 102 of M_SerDes 100 to the controller 101 via I2C.
- M_SerDes100 sets the timer 102 so that it will be the same time as the timer 12 of the Master 10 in response to the reception command.
- Master 10 encapsulates the time control instruction that synchronizes the time between timer 12 of Master 10 and timer 202 of S_SerDes 200 in the format of protocol X with the encoder 150 of M_SerDes 100.
- the controller 201 sets the timer 202 so that the time is the same as the timer 12 of the Master 10 in response to the reception command. With the above, time synchronization of each timer (12,102,202) becomes possible.
- FIG. 21 is a diagram showing procedures (7) to (12) for time synchronization of timer 12 in Master 10, timers 102, 402 in M_SerDes 100, 400, and timers 202, 502 in S_SerDes 200, 500. Is.
- Master 10 sends a time control command to the controllers 101 and 401 to synchronize the time with the timer 12 of Master 10 and timers 102 and 402 of M_SerDes 100 and 400.
- M_SerDes100, 400 sets timer102, 402 so that the time is the same as timer 12 of Master 10 according to the reception command.
- Master 10 encapsulates the time control instruction that synchronizes the time between the timer 12 of Master 10 and the timers 202 and 502 of S_SerDes 200 and 500 in the format of protocol X with the encoders 150 and 450 of M_SerDes 100 and 400.
- Encapsulation is released by the deencapsulators 160 and 560 of S_SerDes 200, 500, returned to the time control command, and sent to the controllers 201 and 501 of S_SerDes 200, 500.
- the controllers 201 and 501 set the timer 502 so that the time is the same as the timer 12 of the Master 10 in response to the reception command.
- time synchronization of each timer 12, 402, 502 becomes possible. Therefore, the time synchronization of each timer 12, 102, 202, 402, 502 enables the time synchronization of the entire system, and the instruction execution start time from the Master 10 can be synchronized with a plurality of devices in the system.
- the M_SerDes 100 and S_SerDes 200 can sample GPIO signals from Master 10 or Slave 20 by either full sampling or edge sampling, if necessary. For example, when the toggle rate of the GPIO signal is high, it is possible to eliminate the omission of the GPIO signal by selecting full sampling. Further, when the toggle rate of the GPIO signal is low, by selecting edge sampling, only the information of the start point and the logical change point of the GPIO signal can be acquired, the amount of data can be reduced, and the data can be transmitted efficiently.
- M_SerDes100 performs GPIO communication with Master10 and S_SerDes200 performs GPIO communication with Slave20
- M_SerDes100 and S_SerDes200 use a predetermined communication protocol X.
- Serial signal transmission can be performed.
- the predetermined communication protocol X is, for example, a TDD system of a half-duplex communication system
- GPIO communication is a full-duplex communication system. Therefore, M_SerDes100 and S_SerDes200 can perform high-speed serial communication by converting a signal of a full-duplex communication system into a packet of a half-duplex communication system.
- M_SerDes100 generates a packet to be transmitted to S_SerDes100 based on the GPIO setting information transmitted from Master 10 by a communication method different from GPIO communication before starting communication with S_SerDes200. be able to. Since this GPIO setting information is included in the GPIO header information of the packet, it can be easily acquired by S_SerDes100. Therefore, S_SerDes100 can extract the GPIO signal from the packet or convert the GPIO signal from Slave 20 into a packet based on the GPIO setting information from Master 10.
- the present technology can have the following configurations.
- a controller that determines a time stamp as a start point and a unit period of the time stamp starting from the start point.
- the GPIO General Purpose Input / Output
- An encapsulator that generates a first GPIO packet containing sampling data and sampling position information sampled at sampling intervals according to A LINK that generates an Up link packet containing the first GPIO packet,
- a communication device including a PHY that transmits a transmission signal conforming to a predetermined communication protocol including the Up link packet to a communication partner device.
- the controller receives GPIO setting information including sampling mode information for designating the first mode or the second mode, a time stamp, and a sampling period from the Master.
- the encapsulater is In the first mode, the first GPIO packet including all the sampling data obtained by sampling the first GPIO signal received from the Master is generated in the sampling cycle starting from the start point. In the second mode, the value of the sampling data sampled at the first sampling timing is different from the value of the sampling data sampled at the second sampling timing in which the sampling cycle has elapsed from the first sampling timing.
- the first GPIO packet is generated, which includes the sampling data sampled at the second sampling timing and the first time information indicating the second sampling timing, according to (1). Communication device.
- the PHY receives a transmission signal conforming to the predetermined communication protocol from the communication partner device, and receives the transmission signal.
- the LINK separates the second GPIO packet from the transmitted signal.
- the communication device according to (2), wherein the deencapcerator reproduces the second GPIO signal based on the mode information, the start point, the sampling period, and the second GPIO packet.
- the deencapcerator is In the first mode, one or more sampling data are included in the second GPIO packet, and the second sampling data is sampled each time the sampling cycle elapses from the start point.
- each of the one or more sampling data is included in the second GPIO packet in association with the second time information indicating the sampling timing, and the sampling timing indicated by the second time information. Then, the sampling data corresponding to the second time information is assigned, and the same sampling data is used for each sampling cycle until the sampling timing of the next second time information in the second GPIO packet.
- a second timer that outputs time information synchronized with the first timer in the Master is provided.
- the deencapcerator has a memory for storing the second GPIO signal.
- the second GPIO packet contains time stamp information regarding the output timing of the second GPIO signal.
- the deencapcerator transmits the second GPIO signal to the Master without storing the second GPIO signal in the memory, and the time stamp information has the second value.
- the memory is used.
- the communication device according to (3) or (4), which reads out the second GPIO signal and transmits it to the Master.
- the controller Before starting GPIO communication with the Master, the controller generates the packet based on the GPIO setting information transmitted from the Master by a communication method different from the GPIO communication.
- the communication device according to any one of (2) to (5), which controls.
- the GPIO setting information includes at least one of the sampling frequency information of the GPIO signal, the GPIO pin setting information, the GPIO configuration information, and the data length information of the sampled data (6).
- the first encapsulator includes header information including at least one of the sampling mode information, the sampling frequency information, the GPIO pin setting information, the GPIO configuration information, and the data length information.
- the communication device according to (6), which generates a GPIO packet.
- the communication device (9) The communication device according to (8), wherein the GPIO configuration information includes a number of pins for performing GPIO communication, the GPIO pin setting information, and a time slot for storing the GPIO communication information.
- the encapsulator generates the first GPIO packet including the header information without including the sampled data before transmitting the packet containing the sampled data to the communication partner device.
- the communication device (10) The encapsulator includes the first GPIO packet that does not include the sampled data but includes the header information, the first GPIO packet that includes the header information and the sampled data, and the said.
- the communication device according to (8) or (9), which generates at least one of the first GPIO packet containing the sampled data without including header information.
- the communication device (12) The communication device according to (11), wherein the encapsulator adds at least one of a time stamp information and an error detection information to the first GPIO packet.
- the communication protocol is a TDD (Time Division Duplex) communication method communication protocol.
- the communication device according to any one of (1) to (12), wherein the unit cycle is one frame period of the TDD communication method.
- a PHY that receives a transmission signal conforming to a predetermined communication protocol from a communication partner device, and LINK that separates the first GPIO packet including the time control command from the transmission signal, A controller that determines the start point based on the time control command, The first indicating that the sampling mode information included in the header information in the first GPIO packet includes all the sampling data obtained by sampling the GPIO (General Purpose Input / Output) signal transmitted from the Master at a constant sampling cycle. The first mode is determined by determining whether it is the first mode or the second mode indicating that the sampling data and the sampling position information sampled at the sampling interval according to the frequency of the logical change of the GPIO signal are included.
- a communication device comprising a deencapcerator that converts one GPIO packet into a first GPIO signal and transmits it to Slave.
- the deencapcerator is In the first mode, one or more sampling data are included in the first GPIO packet, and the first sampling data is sampled each time the sampling cycle elapses from the starting point. Allocate each of the sampling data contained in the GPIO packet of the above, and reproduce the first GPIO signal.
- each of the one or more sampling data is included in the first GPIO packet in association with the first time information indicating the sampling timing in which the sampling data is sampled, and the first time information is included.
- sampling data corresponding to the first time information is assigned, and the sampling timing of the next first time information in the first GPIO packet is the same for each sampling cycle.
- the communication device according to (14), wherein the process of allocating the sampling data is repeated to reproduce the first GPIO signal.
- a second timer that outputs time information synchronized with the first timer in the Master is provided.
- the deencapcerator has a memory for storing the first GPIO signal.
- the first GPIO packet contains time stamp information regarding the output timing of the first GPIO signal. When the time stamp information has the first value, the deencapcerator transmits the first GPIO signal to the Slave without storing it in the memory, and the time stamp information has the second value.
- the communication device When the first GPIO signal is stored in the memory and the time information of the second timer matches the time information inserted after the time stamp information in the first GPIO packet, the memory is used.
- the communication device according to (14) or (15), which reads out the first GPIO signal and transmits it to the Slave.
- the second GPIO signal from the Slave starting from the start point, includes sampling data and sampling position information sampled at a fixed sampling period or a sampling interval according to the frequency of logical change of the GPIO signal.
- the communication device according to any one of (14) to (16), comprising an enhancer for generating a second GPIO packet.
- the encapsulator is In the first mode, the second GPIO packet including all the sampling data obtained by sampling the second GPIO signal received from the Slave is generated in the sampling cycle starting from the start point. In the second mode, the value of the sampling data sampled at the first sampling timing is different from the value of the sampling data sampled at the second sampling timing in which the sampling cycle has elapsed from the first sampling timing.
- the communication device according to (17), wherein the second GPIO packet including the sampling data sampled at the second sampling timing and the time information indicating the second sampling timing is generated. (19)
- the controller performs input / output control of the GPIO pin based on the GPIO pin setting information transmitted from the Master via the communication partner device before starting the GPIO communication with the Slave (14).
- the communication device according to any one of (18).
- the header information includes at least one of sampling frequency information, GPIO pin setting information, GPIO configuration information, and data length information of the sampled data, according to (14) to (19).
- the communication device according to any one of the items.
- the communication device is a TDD (Time Division Duplex) communication protocol.
- the Master SerDes A first controller that determines a time stamp as a start point and a unit period of the time stamp starting from the start point.
- the GPIO General Purpose Input / Output
- the GPIO signal from the Master is synchronized with the time stamp, and all the sampling data sampled in a fixed sampling cycle or the frequency of logical change of the GPIO signal.
- a first encapsulator that generates a first GPIO packet containing sampling data and sampling position information sampled at sampling intervals according to The first LINK that generates the Up link packet including the first GPIO packet, It has a first PHY that transmits a transmission signal conforming to a predetermined communication protocol including the Up link packet to a communication partner device, and has.
- the Slave SerDes A second PHY that receives a transmission signal conforming to the predetermined communication protocol from the communication partner device, and A second LINK that separates the second GPIO packet containing the time control command from the transmission signal, A second controller that determines the starting point based on the time control command, In the first mode indicating that the sampling mode information included in the header information in the second GPIO packet includes all the sampling data obtained by sampling the second GPIO signal transmitted from the Master at a constant sampling cycle. The second GPIO packet is determined to be present or in the second mode indicating that the sampling data and the sampling position information sampled at the sampling interval according to the frequency of the logical change of the GPIO signal are included.
- a communication system comprising a first deencapcerator, which converts the second GPIO signal into a second GPIO signal and transmits the second GPIO signal to the Slave.
- (23) A communication method in which Master SerDes and Slave SerDes perform serial communication according to a predetermined communication protocol.
- the Master SerDes A time stamp as a starting point and a unit cycle of the time stamp starting from the starting point are determined. Starting from the start point, the GPIO signal from the Master is synchronized with the time stamp and sampled at the sampling interval according to the frequency of the logical change of all the sampling data sampled in a fixed sampling cycle or the logic change of the GPIO signal.
- a transmission signal conforming to a predetermined communication protocol including the Up link packet is transmitted to the Slave SerDes.
- the Slave SerDes A transmission signal conforming to the predetermined communication protocol is received from the communication partner device, and the transmission signal is received.
- the second GPIO packet containing the time control instruction is separated from the transmission signal.
- a second controller that determines the starting point based on the time control command, In the first mode indicating that the sampling mode information included in the header information included in the second GPIO packet includes all the sampling data obtained by sampling the second GPIO signal from the Master in a fixed sampling cycle.
- the second GPIO packet is determined to be present or in the second mode indicating that the sampling data and the sampling position information sampled at the sampling interval according to the frequency of the logical change of the GPIO signal are included. Is converted into the second GPIO signal and transmitted to Slave, a communication method.
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Health & Medical Sciences (AREA)
- Cardiology (AREA)
- General Health & Medical Sciences (AREA)
- Environmental & Geological Engineering (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
Description
前記開始点を起点として、MasterからのGPIO (General Purpose Input/Output)信号を、前記タイムスタンプに同期させて、一定のサンプリング周期でサンプリングされた全てのサンプリングデータ又は前記GPIO信号の論理変化の頻度に応じたサンプリング間隔でサンプリングされたサンプリングデータ及びサンプリング位置情報を含む第1のGPIOパケットを生成するエンカプセレータと、
前記第1のGPIOパケットを含むUp linkパケットを生成するLINKと、
前記Up linkパケットを含む所定の通信プロトコルに準拠した伝送信号を通信相手装置に送信するPHYと、を備える、通信装置が提供される。
前記エンカプセレータは、
前記第1のモードでは、前記開始点を起点とする前記サンプリング周期で、前記Masterから受信した第1のGPIO信号をサンプリングした全ての前記サンプリングデータを含む前記第1のGPIOパケットを生成し、
前記第2のモードでは、第1のサンプリングタイミングでサンプリングした前記サンプリングデータの値が、前記第1のサンプリングタイミングから前記サンプリング周期が経過した第2のサンプリングタイミングでサンプリングした前記サンプリングデータの値と異なる場合に、前記第2のサンプリングタイミングでサンプリングした前記サンプリングデータと、前記第2のサンプリングタイミングを示す第1の時間情報と、を含む前記第1のGPIOパケットを生成してもよい。
前記PHYは、前記所定の通信プロトコルに準拠した伝送信号を前記通信相手装置から受信し、
前記LINKは、第2のGPIOパケットを前記伝送信号から分離し、
前記デエンカプセレータは、前記モード情報と前記開始点と前記サンプリング周期と前記第2のGPIOパケットとに基づいて、前記第2のGPIO信号を再生してもよい。
前記第1のモードでは、1以上のサンプリングデータが前記第2のGPIOパケットに含まれており、前記開始点を起点として前記サンプリング周期が経過するたびにサンプリングするサンプリングデータのそれぞれに、前記第2のGPIOパケットに含まれるサンプリングデータのそれぞれを割り当てて、前記第2のGPIO信号を再生し、
前記第2のモードでは、1以上のサンプリングデータのそれぞれがサンプリングタイミングを示す第2の時間情報と紐づけて前記第2のGPIOパケットに含まれており、前記第2の時間情報が示すサンプリングタイミングで、前記第2の時間情報に対応する前記サンプリングデータを割り当てて、前記第2のGPIOパケット内の次の前記第2の時間情報のサンプリングタイミングまでは、前記サンプリング周期ごとに同一の前記サンプリングデータを割り当てる処理を繰り返して、前記第2のGPIO信号を再生してもよい。
前記デエンカプセレータは、前記第2のGPIO信号を記憶するメモリを有し、
前記第2のGPIOパケットは、前記第2のGPIO信号の出力タイミングに関するタイムスタンプ情報を含んでおり、
前記デエンカプセレータは、前記タイムスタンプ情報が第1の値のときは、前記第2のGPIO信号を前記メモリに記憶することなく前記Masterに送信し、前記タイムスタンプ情報が第2の値のときは、前記第2のGPIO信号を前記メモリに記憶し、前記第2タイマの時間情報が前記第2のGPIOパケット内の前記タイムスタンプ情報の後に挿入される時間情報と一致すると、前記メモリから前記第2のGPIO信号を読み出して、前記Masterに送信してもよい。
前記単位周期は、前記TDD通信方式の1フレーム期間であってもよい。
時刻制御命令を含む第1のGPIOパケットを前記伝送信号から分離するLINKと、
前記時刻制御命令に基づいて開始点を決定するコントローラと、
前記第1のGPIOパケット内のヘッダ情報に含まれるサンプリングモード情報が、Masterから送信されたGPIO (General Purpose Input/Output)信号を一定のサンプリング周期でサンプリングした全てのサンプリングデータを含むことを示す第1のモードであるか、又は前記GPIO信号の論理変化の頻度に応じたサンプリング間隔でサンプリングされたサンプリングデータ及びサンプリング位置情報を含むことを示す第2のモードであるかを判別して、前記第1のGPIOパケットを第1のGPIO信号に変換してSlaveに送信するデエンカプセレータと、を備える、通信装置が提供される。
前記第1のモードでは、1以上のサンプリングデータが前記第1のGPIOパケットに含まれており、前記開始点を起点として前記サンプリング周期が経過するたびにサンプリングするサンプリングデータのそれぞれに、前記第1のGPIOパケットに含まれるサンプリングデータのそれぞれを割り当てて、前記第1のGPIO信号を再生し、
前記第2のモードでは、1以上のサンプリングデータのそれぞれがサンプリングされたサンプリングタイミングを示す第1の時間情報と紐づけて前記第1のGPIOパケットに含まれており、前記第1の時間情報が示すサンプリングタイミングで、前記第1の時間情報に対応する前記サンプリングデータを割り当てて、前記第1のGPIOパケット内の次の前記第1の時間情報のサンプリングタイミングまでは、前記サンプリング周期ごとに同一の前記サンプリングデータを割り当てる処理を繰り返して、前記第1のGPIO信号を再生してもよい。
前記デエンカプセレータは、前記第1のGPIO信号を記憶するメモリを有し、
前記第1のGPIOパケットは、前記第1のGPIO信号の出力タイミングに関するタイムスタンプ情報を含んでおり、
前記デエンカプセレータは、前記タイムスタンプ情報が第1の値のときは、前記第1のGPIO信号を前記メモリに記憶することなく前記Slaveに送信し、前記タイムスタンプ情報が第2の値のときは、前記第1のGPIO信号を前記メモリに記憶し、前記第2タイマの時間情報が前記第1のGPIOパケット内の前記タイムスタンプ情報の後に挿入される時間情報と一致すると、前記メモリから前記第1のGPIO信号を読み出して、前記Slaveに送信してもよい。
前記第1のモードでは、前記開始点を起点とする前記サンプリング周期で、前記Slaveから受信した前記第2のGPIO信号をサンプリングした全ての前記サンプリングデータを含む前記第2のGPIOパケットを生成し、
前記第2のモードでは、第1のサンプリングタイミングでサンプリングした前記サンプリングデータの値が、前記第1のサンプリングタイミングから前記サンプリング周期が経過した第2のサンプリングタイミングでサンプリングした前記サンプリングデータの値と異なる場合に、前記第2のサンプリングタイミングでサンプリングした前記サンプリングデータと、前記第2のサンプリングタイミングを示す時間情報と、を含む前記第2のGPIOパケットを生成してもよい。
前記Master SerDesは、
開始点となるタイムスタンプと、前記開始点を起点とする前記タイムスタンプの単位周期とを決定する第1コントローラと、
前記開始点を起点として、MasterからのGPIO (General Purpose Input/Output)信号を、前記タイムスタンプに同期させて、一定のサンプリング周期でサンプリングされた全てのサンプリングデータ又は前記GPIO信号の論理変化の頻度に応じたサンプリング間隔でサンプリングされたサンプリングデータ及びサンプリング位置情報を含む第1のGPIOパケットを生成する第1エンカプセレータと、
前記第1のGPIOパケットを含むUp linkパケットを生成する第1LINKと、
前記Up linkパケットを含む所定の通信プロトコルに準拠した伝送信号を通信相手装置に送信する第1PHYと、を有し、
前記Slave SerDesは、
前記所定の通信プロトコルに準拠した伝送信号を通信相手装置から受信する第2PHYと、
時刻制御命令を含む第2のGPIOパケットを前記伝送信号から分離する第2LINKと、
時刻制御命令に基づいて開始点を決定する第2コントローラと、
前記第2のGPIOパケット内のヘッダ情報に含まれるサンプリングモード情報が、Masterから送信された第2のGPIO信号を一定のサンプリング周期でサンプリングした全てのサンプリングデータを含むことを示す第1のモードであるか、又は前記GPIO信号の論理変化の頻度に応じたサンプリング間隔でサンプリングされたサンプリングデータ及びサンプリング位置情報を含むことを示す第2のモードであるかを判別して、前記第2のGPIOパケットを前記第2のGPIO信号に変換してSlaveに送信する第1デエンカプセレータと、を有する、通信システムが提供される。
前記Master SerDesは、
開始点となるタイムスタンプと、前記開始点を起点とする前記タイムスタンプの単位周期とを決定し、
前記開始点を起点として、MasterからのGPIO信号を、前記タイムスタンプに同期させて、一定のサンプリング周期でサンプリングされた全てのサンプリングデータ又は前記GPIO信号の論理変化の頻度に応じたサンプリング間隔でサンプリングされたサンプリングデータ及びサンプリング位置情報を含む第1のGPIOパケットを生成し、
前記第1のGPIOパケットを含むUp linkパケットを生成し、
前記Up linkパケットを含む所定の通信プロトコルに準拠した伝送信号を前記Slave SerDesに送信し、
前記Slave SerDesは、
前記所定の通信プロトコルに準拠した伝送信号を通信相手装置から受信し、
時刻制御命令を含む第2のGPIOパケットを前記伝送信号から分離し、
時刻制御命令に基づいて開始点を決定する第2コントローラと、
前記第2のGPIOパケットに含まれるヘッダ情報に含まれるサンプリングモード情報が、Masterからの第2のGPIO信号を一定のサンプリング周期でサンプリングされた全てのサンプリングデータを含むことを示す第1のモードであるか、又は前記GPIO信号の論理変化の頻度に応じたサンプリング間隔でサンプリングされたサンプリングデータ及びサンプリング位置情報を含むことを示す第2のモードであるかを判別して、前記第2のGPIOパケットを前記第2のGPIO信号に変換してSlaveに送信する、通信方法が提供される。
図10はフルサンプリングを行う場合のGPIOヘッダ情報を示し、図11はエッジサンプリングを行う場合のGPIOヘッダ情報を示している。図10と図11を比較すればわかるように、UP Linkで伝送されるGPIOパケットとDown Linkで伝送されるGPIOパケットでは、GPIOヘッダ情報が一部異なる。また、フルサンプリングかエッジサンプリングかによっても、GPIOヘッダ情報が異なる。
図11はエッジサンプリングを行う場合のGPIOパケットのGPIOヘッダ情報を示している。図11のUP Link用のGPIOパケットのヘッダ情報の1バイト目はGPIOモード(T)であり、図10のヘッダ情報のGPIOモードと同じである。
次に、フルサンプリング時のM_SerDes 100の動作を説明する。図13はM_SerDes 100の内部構成を示すブロック図に信号の伝送順序(1)~(10)を加えた図である。図14はフルサンプリング時のM_SerDes 100のサンプリング波形、GPIOパケット、及びUP (Down) Linkパケットを示す図である。
図15はエッジサンプリング時のM_SerDes 100のサンプリング波形、GPIOパケット、及びUP (Down) Linkパケットを示す図である。
図16はS_SerDes 200の内部構成を示すブロック図に信号の伝送順序(1)~(11)を加えた図である。図17はフルサンプリング時にS_SerDes 200が送受するUP (Down) Linkパケットを示す図である。
図18はエッジサンプリング時にS_SerDes 200が送受するUP (Down)パケットを示す図である。S_SerDes 200内のエンカプセレータ250は、タイマ202から入力される時間情報と、コントローラ201から送信されるGPIOヘッダ情報((R),(T),(V),(X))に基づいてSlave 20からのGPIO信号(1)を指定されたサンプリング周期(V)でサンプリング(2)し、指定されたGPIOモード(T)でエンコードする(3)ことでサンプリングデータ(Y)に変換し、サンプリングデータ(Y)にGPIOヘッダ情報((R),(T),(V),(X))とコントローラ201から送信される時間情報やタイムスタンプ情報t_stamp (S)を加えてカプセル化して、CRC(Q)を付けて、LINK 220へパケット(4)を送信する機能をもつ。
デエンカプセレータ260は、LINK 220からのパケット(5)を、コントローラ201から送信されるGPIOヘッダ情報((T)~(X)又は(R),(T),(V))でカプセル化解除し、サンプリングデータ(Y)を取り出し(6)、サンプリングデータ(Y)のパケットから元のGPIO信号へ復元し(8)、メモリ63に書き込む。
図20は、Master 10内のタイマ12と、M_SerDes 100内のタイマ102と、S_SerDes 200内のタイマ202との時刻同期を行う手順(1)~(6)を示す図である。
以上により 各timer(12,102,202)の時刻同期が可能となる。
図21は、Master 10内のタイマ12と、M_SerDes 100, 400内のタイマ102, 402と、S_SerDes 200, 500内のタイマ202, 502の時刻同期を行う手順(7)~(12)を示す図である。
本実施形態に係るM_SerDes 100とS_SerDes 200は、必要に応じて、フルサンプリングとエッジサンプリングのいずれかで、Master 10又はSlave 20からのGPIO信号をサンプリングすることができる。例えば、GPIO信号のトグル率が高い場合には、フルサンプリングを選択することにより、GPIO信号の取りこぼしをなくすことができる。また、GPIO信号のトグル率が低い場合には、エッジサンプリングを選択することにより、GPIO信号の開始点と論理変化点の情報のみを取得でき、データ量を削減でき、効率よくデータを伝送できる。
(1)開始点となるタイムスタンプと、前記開始点を起点とする前記タイムスタンプの単位周期とを決定するコントローラと、
前記開始点を起点として、MasterからのGPIO (General Purpose Input/Output)信号を、前記タイムスタンプに同期させて、一定のサンプリング周期でサンプリングされた全てのサンプリングデータ又は前記GPIO信号の論理変化の頻度に応じたサンプリング間隔でサンプリングされたサンプリングデータ及びサンプリング位置情報を含む第1のGPIOパケットを生成するエンカプセレータと、
前記第1のGPIOパケットを含むUp linkパケットを生成するLINKと、
前記Up linkパケットを含む所定の通信プロトコルに準拠した伝送信号を通信相手装置に送信するPHYと、を備える、通信装置。
(2)前記コントローラは、第1のモードまたは第2のモードを指定するサンプリングモード情報とタイムスタンプとサンプリング周期とを含むGPIO設定情報を前記Masterから受信し、
前記エンカプセレータは、
前記第1のモードでは、前記開始点を起点とする前記サンプリング周期で、前記Masterから受信した第1のGPIO信号をサンプリングした全ての前記サンプリングデータを含む前記第1のGPIOパケットを生成し、
前記第2のモードでは、第1のサンプリングタイミングでサンプリングした前記サンプリングデータの値が、前記第1のサンプリングタイミングから前記サンプリング周期が経過した第2のサンプリングタイミングでサンプリングした前記サンプリングデータの値と異なる場合に、前記第2のサンプリングタイミングでサンプリングした前記サンプリングデータと、前記第2のサンプリングタイミングを示す第1の時間情報と、を含む前記第1のGPIOパケットを生成する、(1)に記載の通信装置。
(3)第2のGPIO信号を生成して前記Masterに送信するデエンカプセレータをさらに備え、
前記PHYは、前記所定の通信プロトコルに準拠した伝送信号を前記通信相手装置から受信し、
前記LINKは、第2のGPIOパケットを前記伝送信号から分離し、
前記デエンカプセレータは、前記モード情報と前記開始点と前記サンプリング周期と前記第2のGPIOパケットとに基づいて、前記第2のGPIO信号を再生する、(2)に記載の通信装置。
(4)前記デエンカプセレータは、
前記第1のモードでは、1以上のサンプリングデータが前記第2のGPIOパケットに含まれており、前記開始点を起点として前記サンプリング周期が経過するたびにサンプリングするサンプリングデータのそれぞれに、前記第2のGPIOパケットに含まれるサンプリングデータのそれぞれを割り当てて、前記第2のGPIO信号を再生し、
前記第2のモードでは、1以上のサンプリングデータのそれぞれがサンプリングタイミングを示す第2の時間情報と紐づけて前記第2のGPIOパケットに含まれており、前記第2の時間情報が示すサンプリングタイミングで、前記第2の時間情報に対応する前記サンプリングデータを割り当てて、前記第2のGPIOパケット内の次の前記第2の時間情報のサンプリングタイミングまでは、前記サンプリング周期ごとに同一の前記サンプリングデータを割り当てる処理を繰り返して、前記第2のGPIO信号を再生する、(3)に記載の通信装置。
(5)前記Master内の第1タイマと同期した時間情報を出力する第2タイマを備え、
前記デエンカプセレータは、前記第2のGPIO信号を記憶するメモリを有し、
前記第2のGPIOパケットは、前記第2のGPIO信号の出力タイミングに関するタイムスタンプ情報を含んでおり、
前記デエンカプセレータは、前記タイムスタンプ情報が第1の値のときは、前記第2のGPIO信号を前記メモリに記憶することなく前記Masterに送信し、前記タイムスタンプ情報が第2の値のときは、前記第2のGPIO信号を前記メモリに記憶し、前記第2タイマの時間情報が前記第2のGPIOパケット内の前記タイムスタンプ情報の後に挿入される時間情報と一致すると、前記メモリから前記第2のGPIO信号を読み出して、前記Masterに送信する、(3)又は(4)に記載の通信装置。
(6)前記コントローラは、前記MasterとのGPIO通信を開始する前に、前記MasterからGPIO通信とは異なる通信方式にて送信された前記GPIO設定情報に基づいて、前記エンカプセレータが前記パケットを生成する制御を行う、(2)乃至(5)のいずれか一項に記載の通信装置。
(7)前記GPIO設定情報は、前記GPIO信号のサンプリング周波数情報と、GPIOピン設定情報と、GPIO構成情報と、前記サンプリングされたデータのデータ長情報と、の少なくとも一つを含む、(6)に記載の通信装置。
(8)前記エンカプセレータは、前記サンプリングモード情報と、前記サンプリング周波数情報と、前記GPIOピン設定情報と、GPIO構成情報と、前記データ長情報との少なくとも一つを含むヘッダ情報を含む前記第1のGPIOパケットを生成する、(6)に記載の通信装置。
(9)前記GPIO構成情報は、GPIO通信を行うピンの数と、前記GPIOピン設定情報と、GPIO通信情報を格納するタイムスロットとを含む、(8)に記載の通信装置。
(10)前記エンカプセレータは、前記サンプリングされたデータを含むパケットを前記通信相手装置に送信する前に、前記サンプリングされたデータを含まずに前記ヘッダ情報を含む前記第1のGPIOパケットを生成する、(8)又は(9)に記載の通信装置。
(11)前記エンカプセレータは、前記サンプリングされたデータを含まずに前記ヘッダ情報を含む前記第1のGPIOパケットと、前記ヘッダ情報と前記サンプリングされたデータとを含む前記第1のGPIOパケットと、前記ヘッダ情報を含まずに前記サンプリングされたデータを含む前記第1のGPIOパケットとの少なくとも一つを生成する、(8)又は(9)に記載の通信装置。
(12)前記エンカプセレータは、前記第1のGPIOパケットにタイムスタンプ情報と誤り検知情報との少なくとも一方を付加する、(11)に記載の通信装置。
(13)前記通信プロトコルは、TDD (Time Division Duplex)通信方式の通信プロトコルであり、
前記単位周期は、前記TDD通信方式の1フレーム期間である、(1)乃至(12)のいずれか一項に記載の通信装置。
(14)所定の通信プロトコルに準拠した伝送信号を通信相手装置から受信するPHYと、
時刻制御命令を含む第1のGPIOパケットを前記伝送信号から分離するLINKと、
前記時刻制御命令に基づいて開始点を決定するコントローラと、
前記第1のGPIOパケット内のヘッダ情報に含まれるサンプリングモード情報が、Masterから送信されたGPIO (General Purpose Input/Output)信号を一定のサンプリング周期でサンプリングした全てのサンプリングデータを含むことを示す第1のモードであるか、又は前記GPIO信号の論理変化の頻度に応じたサンプリング間隔でサンプリングされたサンプリングデータ及びサンプリング位置情報を含むことを示す第2のモードであるかを判別して、前記第1のGPIOパケットを第1のGPIO信号に変換してSlaveに送信するデエンカプセレータと、を備える、通信装置。
(15)前記デエンカプセレータは、
前記第1のモードでは、1以上のサンプリングデータが前記第1のGPIOパケットに含まれており、前記開始点を起点として前記サンプリング周期が経過するたびにサンプリングするサンプリングデータのそれぞれに、前記第1のGPIOパケットに含まれるサンプリングデータのそれぞれを割り当てて、前記第1のGPIO信号を再生し、
前記第2のモードでは、1以上のサンプリングデータのそれぞれがサンプリングされたサンプリングタイミングを示す第1の時間情報と紐づけて前記第1のGPIOパケットに含まれており、前記第1の時間情報が示すサンプリングタイミングで、前記第1の時間情報に対応する前記サンプリングデータを割り当てて、前記第1のGPIOパケット内の次の前記第1の時間情報のサンプリングタイミングまでは、前記サンプリング周期ごとに同一の前記サンプリングデータを割り当てる処理を繰り返して、前記第1のGPIO信号を再生する、(14)に記載の通信装置。
(16)前記Master内の第1タイマと同期した時間情報を出力する第2タイマを備え、
前記デエンカプセレータは、前記第1のGPIO信号を記憶するメモリを有し、
前記第1のGPIOパケットは、前記第1のGPIO信号の出力タイミングに関するタイムスタンプ情報を含んでおり、
前記デエンカプセレータは、前記タイムスタンプ情報が第1の値のときは、前記第1のGPIO信号を前記メモリに記憶することなく前記Slaveに送信し、前記タイムスタンプ情報が第2の値のときは、前記第1のGPIO信号を前記メモリに記憶し、前記第2タイマの時間情報が前記第1のGPIOパケット内の前記タイムスタンプ情報の後に挿入される時間情報と一致すると、前記メモリから前記第1のGPIO信号を読み出して、前記Slaveに送信する、(14)又は(15)に記載の通信装置。
(17)開始点を起点として、前記Slaveからの第2のGPIO信号を、一定のサンプリング周期又は前記GPIO信号の論理変化の頻度に応じたサンプリング間隔でサンプリングされたサンプリングデータ及びサンプリング位置情報を含む第2のGPIOパケットを生成するエンカプセレータを備える、(14)乃至(16)のいずれか一項に記載の通信装置。
(18)前記エンカプセレータは、
前記第1のモードでは、前記開始点を起点とする前記サンプリング周期で、前記Slaveから受信した前記第2のGPIO信号をサンプリングした全ての前記サンプリングデータを含む前記第2のGPIOパケットを生成し、
前記第2のモードでは、第1のサンプリングタイミングでサンプリングした前記サンプリングデータの値が、前記第1のサンプリングタイミングから前記サンプリング周期が経過した第2のサンプリングタイミングでサンプリングした前記サンプリングデータの値と異なる場合に、前記第2のサンプリングタイミングでサンプリングした前記サンプリングデータと、前記第2のサンプリングタイミングを示す時間情報と、を含む前記第2のGPIOパケットを生成する、(17)に記載の通信装置。
(19)前記コントローラは、前記SlaveとGPIO通信を開始する前に、前記Masterから前記通信相手装置を介して送信されたGPIOピン設定情報に基づいて、GPIOピンの入出力制御を行う、(14)乃至(18)のいずれか一項に記載の通信装置。
(20)前記ヘッダ情報は、サンプリング周波数情報と、GPIOピン設定情報と、GPIO構成情報と、前記サンプリングされたデータのデータ長情報と、の少なくとも一つを含む、(14)乃至(19)のいずれか一項に記載の通信装置。
(21)前記通信プロトコルは、TDD (Time Division Duplex)通信方式の通信プロトコルである、(14)乃至(20)のいずれか一項に記載の通信装置。
(22)所定の通信プロトコルによりシリアル通信を行うMaster SerDes及びSlave SerDesを備え、
前記Master SerDesは、
開始点となるタイムスタンプと、前記開始点を起点とする前記タイムスタンプの単位周期とを決定する第1コントローラと、
前記開始点を起点として、MasterからのGPIO (General Purpose Input/Output)信号を、前記タイムスタンプに同期させて、一定のサンプリング周期でサンプリングされた全てのサンプリングデータ又は前記GPIO信号の論理変化の頻度に応じたサンプリング間隔でサンプリングされたサンプリングデータ及びサンプリング位置情報を含む第1のGPIOパケットを生成する第1エンカプセレータと、
前記第1のGPIOパケットを含むUp linkパケットを生成する第1LINKと、
前記Up linkパケットを含む所定の通信プロトコルに準拠した伝送信号を通信相手装置に送信する第1PHYと、を有し、
前記Slave SerDesは、
前記所定の通信プロトコルに準拠した伝送信号を通信相手装置から受信する第2PHYと、
時刻制御命令を含む第2のGPIOパケットを前記伝送信号から分離する第2LINKと、
時刻制御命令に基づいて開始点を決定する第2コントローラと、
前記第2のGPIOパケット内のヘッダ情報に含まれるサンプリングモード情報が、Masterから送信された第2のGPIO信号を一定のサンプリング周期でサンプリングした全てのサンプリングデータを含むことを示す第1のモードであるか、又は前記GPIO信号の論理変化の頻度に応じたサンプリング間隔でサンプリングされたサンプリングデータ及びサンプリング位置情報を含むことを示す第2のモードであるかを判別して、前記第2のGPIOパケットを前記第2のGPIO信号に変換してSlaveに送信する第1デエンカプセレータと、を有する、通信システム。
(23)Master SerDes及びSlave SerDesが所定の通信プロトコルによりシリアル通信を行う通信方法であって、
前記Master SerDesは、
開始点となるタイムスタンプと、前記開始点を起点とする前記タイムスタンプの単位周期とを決定し、
前記開始点を起点として、MasterからのGPIO信号を、前記タイムスタンプに同期させて、一定のサンプリング周期でサンプリングされた全てのサンプリングデータ又は前記GPIO信号の論理変化の頻度に応じたサンプリング間隔でサンプリングされたサンプリングデータ及びサンプリング位置情報を含む第1のGPIOパケットを生成し、
前記第1のGPIOパケットを含むUp linkパケットを生成し、
前記Up linkパケットを含む所定の通信プロトコルに準拠した伝送信号を前記Slave SerDesに送信し、
前記Slave SerDesは、
前記所定の通信プロトコルに準拠した伝送信号を通信相手装置から受信し、
時刻制御命令を含む第2のGPIOパケットを前記伝送信号から分離し、
時刻制御命令に基づいて開始点を決定する第2コントローラと、
前記第2のGPIOパケットに含まれるヘッダ情報に含まれるサンプリングモード情報が、Masterからの第2のGPIO信号を一定のサンプリング周期でサンプリングされた全てのサンプリングデータを含むことを示す第1のモードであるか、又は前記GPIO信号の論理変化の頻度に応じたサンプリング間隔でサンプリングされたサンプリングデータ及びサンプリング位置情報を含むことを示す第2のモードであるかを判別して、前記第2のGPIOパケットを前記第2のGPIO信号に変換してSlaveに送信する、通信方法。
Claims (22)
- 開始点となるタイムスタンプと、前記開始点を起点とする前記タイムスタンプの単位周期とを決定するコントローラと、
前記開始点を起点として、MasterからのGPIO (General Purpose Input/Output)信号を、前記タイムスタンプに同期させて、一定のサンプリング周期でサンプリングされた全てのサンプリングデータ又は前記GPIO信号の論理変化の頻度に応じたサンプリング間隔でサンプリングされたサンプリングデータ及びサンプリング位置情報を含む第1のGPIOパケットを生成するエンカプセレータと、
前記第1のGPIOパケットを含むUp linkパケットを生成するLINKと、
前記Up linkパケットを含む所定の通信プロトコルに準拠した伝送信号を通信相手装置に送信するPHYと、を備える、通信装置。 - 前記コントローラは、第1のモードまたは第2のモードを指定するサンプリングモード情報とタイムスタンプとサンプリング周期とを含むGPIO設定情報を前記Masterから受信し、
前記エンカプセレータは、
前記第1のモードでは、前記開始点を起点とする前記サンプリング周期で、前記Masterから受信した第1のGPIO信号をサンプリングした全ての前記サンプリングデータを含む前記第1のGPIOパケットを生成し、
前記第2のモードでは、第1のサンプリングタイミングでサンプリングした前記サンプリングデータの値が、前記第1のサンプリングタイミングから前記サンプリング周期が経過した第2のサンプリングタイミングでサンプリングした前記サンプリングデータの値と異なる場合に、前記第2のサンプリングタイミングでサンプリングした前記サンプリングデータと、前記第2のサンプリングタイミングを示す第1の時間情報と、を含む前記第1のGPIOパケットを生成する、請求項1に記載の通信装置。 - 第2のGPIO信号を再生して前記Masterに送信するデエンカプセレータをさらに備え、
前記PHYは、前記所定の通信プロトコルに準拠した伝送信号を前記通信相手装置から受信し、
前記LINKは、第2のGPIOパケットを前記伝送信号から分離し、
前記デエンカプセレータは、前記サンプリングモード情報と前記開始点と前記サンプリング周期と前記第2のGPIOパケットとに基づいて、前記第2のGPIO信号を再生し、
前記第1のモードでは、1以上のサンプリングデータが前記第2のGPIOパケットに含まれており、前記開始点を起点として前記サンプリング周期が経過するたびにサンプリングするサンプリングデータのそれぞれに、前記第2のGPIOパケットに含まれるサンプリングデータのそれぞれを割り当てて、前記第2のGPIO信号を再生し、
前記第2のモードでは、1以上のサンプリングデータのそれぞれがサンプリングタイミングを示す第2の時間情報と紐づけて前記第2のGPIOパケットに含まれており、前記第2の時間情報が示すサンプリングタイミングで、前記第2の時間情報に対応する前記サンプリングデータを割り当てて、前記第2のGPIOパケット内の次の前記第2の時間情報のサンプリングタイミングまでは、前記サンプリング周期ごとに同一の前記サンプリングデータを割り当てる処理を繰り返して、前記第2のGPIO信号を再生する、請求項2に記載の通信装置。 - 前記Master内の第1タイマと同期した時間情報を出力する第2タイマを備え、
前記デエンカプセレータは、前記第2のGPIO信号を記憶するメモリを有し、
前記第2のGPIOパケットは、前記第2のGPIO信号の出力タイミングに関するタイムスタンプ情報を含んでおり、
前記デエンカプセレータは、前記タイムスタンプ情報が第1の値のときは、前記第2のGPIO信号を前記メモリに記憶することなく前記Masterに送信し、前記タイムスタンプ情報が第2の値のときは、前記第2のGPIO信号を前記メモリに記憶し、前記第2タイマの時間情報が前記第2のGPIOパケット内の前記タイムスタンプ情報の後に挿入される時間情報と一致すると、前記メモリから前記第2のGPIO信号を読み出して、前記Masterに送信する、請求項3に記載の通信装置。 - 前記コントローラは、前記MasterとのGPIO通信を開始する前に、前記MasterからGPIO通信とは異なる通信方式にて送信された前記GPIO設定情報に基づいて、前記エンカプセレータが前記パケットを生成する制御を行う、請求項2に記載の通信装置。
- 前記GPIO設定情報は、前記GPIO信号のサンプリング周波数情報と、GPIOピン設定情報と、GPIO構成情報と、前記サンプリングされたデータのデータ長情報と、の少なくとも一つを含む、請求項5に記載の通信装置。
- 前記エンカプセレータは、前記サンプリングモード情報と、前記サンプリング周波数情報と、前記GPIOピン設定情報と、GPIO構成情報と、前記データ長情報との少なくとも一つを含むヘッダ情報を含む前記第1のGPIOパケットを生成する、請求項6に記載の通信装置。
- 前記GPIO構成情報は、GPIO通信を行うピンの数と、前記GPIOピン設定情報と、GPIO通信情報を格納するタイムスロットとを含む、請求項7に記載の通信装置。
- 前記エンカプセレータは、前記サンプリングされたデータを含むパケットを前記通信相手装置に送信する前に、前記サンプリングされたデータを含まずに前記ヘッダ情報を含む前記第1のGPIOパケットを生成する、請求項7に記載の通信装置。
- 前記エンカプセレータは、前記サンプリングされたデータを含まずに前記ヘッダ情報を含む前記第1のGPIOパケットと、前記ヘッダ情報と前記サンプリングされたデータとを含む前記第1のGPIOパケットと、前記ヘッダ情報を含まずに前記サンプリングされたデータを含む前記第1のGPIOパケットとの少なくとも一つを生成する、請求項7に記載の通信装置。
- 前記エンカプセレータは、前記第1のGPIOパケットにタイムスタンプ情報と誤り検知情報との少なくとも一方を付加する、請求項10に記載の通信装置。
- 前記通信プロトコルは、TDD (Time Division Duplex)通信方式の通信プロトコルであり、
前記単位周期は、前記TDD通信方式の1フレーム期間である、請求項1に記載の通信装置。 - 所定の通信プロトコルに準拠した伝送信号を通信相手装置から受信するPHYと、
時刻制御命令を含む第1のGPIOパケットを前記伝送信号から分離するLINKと、
前記時刻制御命令に基づいて開始点を決定するコントローラと、
前記第1のGPIOパケット内のヘッダ情報に含まれるサンプリングモード情報が、Masterから送信されたGPIO (General Purpose Input/Output)信号を一定のサンプリング周期でサンプリングした全てのサンプリングデータを含むことを示す第1のモードであるか、又は前記GPIO信号の論理変化の頻度に応じたサンプリング間隔でサンプリングされたサンプリングデータ及びサンプリング位置情報を含むことを示す第2のモードであるかを判別して、前記第1のGPIOパケットを第1のGPIO信号に変換してSlaveに送信するデエンカプセレータと、を備える、通信装置。 - 前記デエンカプセレータは、
前記第1のモードでは、1以上のサンプリングデータが前記第1のGPIOパケットに含まれており、前記開始点を起点として前記サンプリング周期が経過するたびにサンプリングするサンプリングデータのそれぞれに、前記第1のGPIOパケットに含まれるサンプリングデータのそれぞれを割り当てて、前記第1のGPIO信号を再生し、
前記第2のモードでは、1以上のサンプリングデータのそれぞれがサンプリングされたサンプリングタイミングを示す第1の時間情報と紐づけて前記第1のGPIOパケットに含まれており、前記第1の時間情報が示すサンプリングタイミングで、前記第1の時間情報に対応する前記サンプリングデータを割り当てて、前記第1のGPIOパケット内の次の前記第1の時間情報のサンプリングタイミングまでは、前記サンプリング周期ごとに同一の前記サンプリングデータを割り当てる処理を繰り返して、前記第1のGPIO信号を再生する、請求項13に記載の通信装置。 - 前記Master内の第1タイマと同期した時間情報を出力する第2タイマを備え、
前記デエンカプセレータは、前記第1のGPIO信号を記憶するメモリを有し、
前記第1のGPIOパケットは、前記第1のGPIO信号の出力タイミングに関するタイムスタンプ情報を含んでおり、
前記デエンカプセレータは、前記タイムスタンプ情報が第1の値のときは、前記第1のGPIO信号を前記メモリに記憶することなく前記Slaveに送信し、前記タイムスタンプ情報が第2の値のときは、前記第1のGPIO信号を前記メモリに記憶し、前記第2タイマの時間情報が前記第1のGPIOパケット内の前記タイムスタンプ情報の後に挿入される時間情報と一致すると、前記メモリから前記第1のGPIO信号を読み出して、前記Slaveに送信する、請求項13に記載の通信装置。 - 開始点を起点として、前記Slaveからの第2のGPIO信号を、一定のサンプリング周期又は前記GPIO信号の論理変化の頻度に応じたサンプリング間隔でサンプリングされたサンプリングデータ及びサンプリング位置情報を含む第2のGPIOパケットを生成するエンカプセレータを備える、請求項13に記載の通信装置。
- 前記エンカプセレータは、
前記第1のモードでは、前記開始点を起点とする前記サンプリング周期で、前記Slaveから受信した前記第2のGPIO信号をサンプリングした全ての前記サンプリングデータを含む前記第2のGPIOパケットを生成し、
前記第2のモードでは、第1のサンプリングタイミングでサンプリングした前記サンプリングデータの値が、前記第1のサンプリングタイミングから前記サンプリング周期が経過した第2のサンプリングタイミングでサンプリングした前記サンプリングデータの値と異なる場合に、前記第2のサンプリングタイミングでサンプリングした前記サンプリングデータと、前記第2のサンプリングタイミングを示す時間情報と、を含む前記第2のGPIOパケットを生成する、請求項16に記載の通信装置。 - 前記コントローラは、前記SlaveとGPIO通信を開始する前に、前記Masterから前記通信相手装置を介して送信されたGPIOピン設定情報に基づいて、GPIOピンの入出力制御を行う、請求項13に記載の通信装置。
- 前記ヘッダ情報は、サンプリング周波数情報と、GPIOピン設定情報と、GPIO構成情報と、前記サンプリングされたデータのデータ長情報と、の少なくとも一つを含む、請求項13乃至18のいずれか一項に記載の通信装置。
- 前記通信プロトコルは、TDD (Time Division Duplex)通信方式の通信プロトコルである、請求項13に記載の通信装置。
- 所定の通信プロトコルによりシリアル通信を行うMaster SerDes及びSlave SerDesを備え、
前記Master SerDesは、
開始点となるタイムスタンプと、前記開始点を起点とする前記タイムスタンプの単位周期とを決定する第1コントローラと、
前記開始点を起点として、MasterからのGPIO (General Purpose Input/Output)信号を、前記タイムスタンプに同期させて、一定のサンプリング周期でサンプリングされた全てのサンプリングデータ又は前記GPIO信号の論理変化の頻度に応じたサンプリング間隔でサンプリングされたサンプリングデータ及びサンプリング位置情報を含む第1のGPIOパケットを生成する第1エンカプセレータと、
前記第1のGPIOパケットを含むUp linkパケットを生成する第1LINKと、
前記Up linkパケットを含む所定の通信プロトコルに準拠した伝送信号を通信相手装置に送信する第1PHYと、を有し、
前記Slave SerDesは、
前記所定の通信プロトコルに準拠した伝送信号を通信相手装置から受信する第2PHYと、
時刻制御命令を含む第2のGPIOパケットを前記伝送信号から分離する第2LINKと、
時刻制御命令に基づいて開始点を決定する第2コントローラと、
前記第2のGPIOパケット内のヘッダ情報に含まれるサンプリングモード情報が、Masterから送信された第2のGPIO信号を一定のサンプリング周期でサンプリングした全てのサンプリングデータを含むことを示す第1のモードであるか、又は前記GPIO信号の論理変化の頻度に応じたサンプリング間隔でサンプリングされたサンプリングデータ及びサンプリング位置情報を含むことを示す第2のモードであるかを判別して、前記第2のGPIOパケットを前記第2のGPIO信号に変換してSlaveに送信する第1デエンカプセレータと、を有する、通信システム。 - Master SerDes及びSlave SerDesが所定の通信プロトコルによりシリアル通信を行う通信方法であって、
前記Master SerDesは、
開始点となるタイムスタンプと、前記開始点を起点とする前記タイムスタンプの単位周期とを決定し、
前記開始点を起点として、MasterからのGPIO信号を、前記タイムスタンプに同期させて、一定のサンプリング周期でサンプリングされた全てのサンプリングデータ又は前記GPIO信号の論理変化の頻度に応じたサンプリング間隔でサンプリングされたサンプリングデータ及びサンプリング位置情報を含む第1のGPIOパケットを生成し、
前記第1のGPIOパケットを含むUp linkパケットを生成し、
前記Up linkパケットを含む所定の通信プロトコルに準拠した伝送信号を前記Slave SerDesに送信し、
前記Slave SerDesは、
前記所定の通信プロトコルに準拠した伝送信号を通信相手装置から受信し、
時刻制御命令を含む第2のGPIOパケットを前記伝送信号から分離し、
時刻制御命令に基づいて開始点を決定する第2コントローラと、
前記第2のGPIOパケットに含まれるヘッダ情報に含まれるサンプリングモード情報が、Masterからの第2のGPIO信号を一定のサンプリング周期でサンプリングされた全てのサンプリングデータを含むことを示す第1のモードであるか、又は前記GPIO信号の論理変化の頻度に応じたサンプリング間隔でサンプリングされたサンプリングデータ及びサンプリング位置情報を含むことを示す第2のモードであるかを判別して、前記第2のGPIOパケットを前記第2のGPIO信号に変換してSlaveに送信する、通信方法。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP21869342.2A EP4216485A4 (en) | 2020-09-18 | 2021-09-13 | COMMUNICATION DEVICE, COMMUNICATION SYSTEM AND COMMUNICATION METHOD |
JP2022550557A JPWO2022059655A1 (ja) | 2020-09-18 | 2021-09-13 | |
KR1020237010997A KR20230066378A (ko) | 2020-09-18 | 2021-09-13 | 통신 장치, 통신 시스템 및 통신 방법 |
CN202180062159.4A CN116250183A (zh) | 2020-09-18 | 2021-09-13 | 通信设备、通信系统和通信方法 |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US202063080382P | 2020-09-18 | 2020-09-18 | |
US63/080,382 | 2020-09-18 | ||
US17/469,298 | 2021-09-08 | ||
US17/469,298 US11601254B2 (en) | 2020-09-18 | 2021-09-08 | Communication apparatus, communications system, and communication method |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022059655A1 true WO2022059655A1 (ja) | 2022-03-24 |
Family
ID=80741016
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2021/033613 WO2022059655A1 (ja) | 2020-09-18 | 2021-09-13 | 通信装置、通信システム及び通信方法 |
Country Status (6)
Country | Link |
---|---|
US (1) | US11601254B2 (ja) |
EP (1) | EP4216485A4 (ja) |
JP (1) | JPWO2022059655A1 (ja) |
KR (1) | KR20230066378A (ja) |
CN (1) | CN116250183A (ja) |
WO (1) | WO2022059655A1 (ja) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11601254B2 (en) * | 2020-09-18 | 2023-03-07 | Sony Semiconductor Solutions Corporation | Communication apparatus, communications system, and communication method |
US11863500B2 (en) * | 2021-02-25 | 2024-01-02 | Sony Semiconductor Solutions Corporation | Communication apparatus, communications system, and communication method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004356742A (ja) * | 2003-05-27 | 2004-12-16 | Hitachi Ltd | 信号波形劣化補償器 |
JP2011239011A (ja) | 2010-05-06 | 2011-11-24 | Hitachi Kokusai Electric Inc | 無線基地局装置 |
US9000962B1 (en) * | 2014-01-28 | 2015-04-07 | Cadence Design Systems, Inc. | System and method for interleaved analog-to-digital conversion having scalable self-calibration of timing |
JP2015142189A (ja) * | 2014-01-28 | 2015-08-03 | 日本電信電話株式会社 | 分散型無線通信基地局システム及び通信方法 |
Family Cites Families (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2764631B1 (en) * | 2011-10-07 | 2020-11-25 | Audinate Pty Limited | Systems, methods and devices for networking over high impedance cabling |
US9292036B2 (en) * | 2013-05-24 | 2016-03-22 | Arm Limited | Data processing apparatus and method for communicating between a master device and an asynchronous slave device via an interface |
KR102328014B1 (ko) * | 2015-08-24 | 2021-11-18 | 삼성전자주식회사 | 싱글 와이어 인터페이스를 포함하는 장치와 이를 포함하는 데이터 처리 시스템 |
US20170222686A1 (en) * | 2016-02-01 | 2017-08-03 | Qualcomm Incorporated | Scalable, high-efficiency, high-speed serialized interconnect |
US20180083800A1 (en) * | 2016-09-22 | 2018-03-22 | Fresco Logic, Inc. | Aggregation Device, System, And Method Thereof |
US10212658B2 (en) * | 2016-09-30 | 2019-02-19 | Kinetic Technologies | Systems and methods for managing communication between devices |
CN110325929B (zh) * | 2016-12-07 | 2021-05-25 | 阿瑞路资讯安全科技股份有限公司 | 用于检测有线网络变化的信号波形分析的系统和方法 |
KR102585215B1 (ko) * | 2016-12-22 | 2023-10-05 | 삼성전자주식회사 | 타 장치와 단일 와이어를 통해 연결되는 장치 및 이를 포함하는 시스템의 동작 방법 |
WO2019055894A1 (en) * | 2017-09-18 | 2019-03-21 | Intel Corporation | TIME-ENCODED DATA COMMUNICATION PROTOCOL, APPARATUS AND METHOD FOR PRODUCING AND RECEIVING DATA SIGNAL |
US10515044B2 (en) * | 2017-11-01 | 2019-12-24 | Qualcomm Incorporated | Communicating heterogeneous virtual general-purpose input/output messages over an I3C bus |
US10855527B2 (en) * | 2018-04-03 | 2020-12-01 | Infineon Technologies Ag | Bidirectional communication using edge timing in a signal |
US10761641B2 (en) * | 2018-06-29 | 2020-09-01 | Intel Corporation | Dynamic on-demand joint processing of touch sensor data from multiple independent touch sensors at an electronic circuit |
US10958412B1 (en) * | 2020-01-22 | 2021-03-23 | Infineon Technologies Ag | Communication using edge timing in a signal |
US11601254B2 (en) * | 2020-09-18 | 2023-03-07 | Sony Semiconductor Solutions Corporation | Communication apparatus, communications system, and communication method |
-
2021
- 2021-09-08 US US17/469,298 patent/US11601254B2/en active Active
- 2021-09-13 WO PCT/JP2021/033613 patent/WO2022059655A1/ja unknown
- 2021-09-13 KR KR1020237010997A patent/KR20230066378A/ko active Search and Examination
- 2021-09-13 JP JP2022550557A patent/JPWO2022059655A1/ja active Pending
- 2021-09-13 EP EP21869342.2A patent/EP4216485A4/en active Pending
- 2021-09-13 CN CN202180062159.4A patent/CN116250183A/zh active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004356742A (ja) * | 2003-05-27 | 2004-12-16 | Hitachi Ltd | 信号波形劣化補償器 |
JP2011239011A (ja) | 2010-05-06 | 2011-11-24 | Hitachi Kokusai Electric Inc | 無線基地局装置 |
US9000962B1 (en) * | 2014-01-28 | 2015-04-07 | Cadence Design Systems, Inc. | System and method for interleaved analog-to-digital conversion having scalable self-calibration of timing |
JP2015142189A (ja) * | 2014-01-28 | 2015-08-03 | 日本電信電話株式会社 | 分散型無線通信基地局システム及び通信方法 |
Non-Patent Citations (1)
Title |
---|
See also references of EP4216485A4 |
Also Published As
Publication number | Publication date |
---|---|
CN116250183A (zh) | 2023-06-09 |
EP4216485A4 (en) | 2024-02-28 |
JPWO2022059655A1 (ja) | 2022-03-24 |
KR20230066378A (ko) | 2023-05-15 |
US20220094513A1 (en) | 2022-03-24 |
EP4216485A1 (en) | 2023-07-26 |
US11601254B2 (en) | 2023-03-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022059655A1 (ja) | 通信装置、通信システム及び通信方法 | |
KR102535076B1 (ko) | 원격 버스 활성화를 위한 시스템들 및 기술들 | |
US9348780B2 (en) | Circuit and methods to use an audio interface to program a device within an audio stream | |
US5748684A (en) | Resynchronization of a synchronous serial interface | |
CN1905655B (zh) | 通过标准视频电缆提供音频 | |
JPH10117184A (ja) | 移動電話における赤外線オーディオリンク | |
US9836274B2 (en) | Digital accessory interface calibration | |
CN109218154B (zh) | 一种基于fpga的千兆以太网到slip的转换系统 | |
KR20200130140A (ko) | 직렬 주변장치 인터페이스 기능을 가진 통신 시스템 | |
US20110153049A1 (en) | Isochronous audio network software interface | |
US20100042740A1 (en) | Method and device for data packing | |
JP2009038596A (ja) | データ送受信システム、データ送信装置、データ受信装置、クロック生成方法 | |
EP2051476A1 (en) | Method and system for transmission of digital audio in SPDIF format to one or more receivers | |
KR100451687B1 (ko) | 디지털 인터페이스 장치 | |
WO2000044126A1 (fr) | Procede et dispositif de transmission | |
EP3671720B1 (en) | Real-time on-chip data transfer system | |
US4964142A (en) | Receiver synchronization in encoder/decoder | |
KR100927092B1 (ko) | 피엘시 네트워크에서 파라미터 설정 방법 | |
JP2006270792A (ja) | フレーム伝送方法及び装置 | |
US20090097503A1 (en) | Method and system for transmission of decoded multi-channel digital audio in spdif format | |
JPH027229B2 (ja) | ||
JP2005079963A (ja) | 映像信号伝送システム及び方法並びに送信装置及び受信装置 | |
JP4789835B2 (ja) | Ieee1394送信装置、ieee1394受信装置、ieee1394送信方法およびieee1394受信方法 | |
WO2023149545A1 (ja) | 通信装置及び通信システム | |
CN117956048B (zh) | 一种mipi模式控制器与数据传输控制系统 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21869342 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2022550557 Country of ref document: JP Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 20237010997 Country of ref document: KR Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 2021869342 Country of ref document: EP Effective date: 20230418 |