Embodiments of the present disclosure relate generally to serial communication links and, more specifically, to events communicated on serial communication links and the timing of those events.
In many embedded control systems, and other computing systems, movement of data between peripheral devices and a host, or between peripheral devices, may be a significant amount of data traffic on the various buses that may exist in such systems. Moreover, some of this data traffic may include information related to events that occur and timing of these events.
In conventional inter-chip communication, one approach is to communicate such event information on dedicated lines signaling the events to manage the timing of the event communication. However, there is typically an extra cost for additional lines. The cost of adding lines might be high and even be prohibitive due to layout constraints. Another approach is to send the event information as soon as possible as the next communication packet on a serial communication link. However, this approach may lose important event details, for example, timing details about when an actual event occurred. Other deficiencies and limitations in these and other approaches may exist.
There is a need for communication of events and event timing details on serial communication links to indicate relative timing of events between a master and one or more slaves.
Some embodiments of the present disclosure relate, generally, to a method of prioritizing events. The method may include delaying two or more events, each event delayed for at least a delay time corresponding to a uniform delay; preventing additional frames from being started on a serial communication link while any of the two or more events is being delayed; transmitting an event frame corresponding to one of the two or more events with a highest priority after its corresponding delay time; holding events with a priority lower than the event frame being transmitted until after a corresponding delay time and no higher priority events are pending; and repeating the transmitting the event frame corresponding to a highest priority event until event frames have been transmitted for all of the two or more events. In one embodiment, the event frame includes event identifier bits indicating the frame being transmitted is an event frame and event bits indicating which event of the two or more events is being transmitted in the event frame.
Some embodiments of the present disclosure relate, generally, to a serial communication link transmitter. The serial communication link transmitter may include two or more delay circuits and priority logic. Each delay circuit may be configured for receiving an event occurrence corresponding to that delay circuit and delaying the event occurrence by a delay time corresponding to a frame time. The priority logic may be configured for: determining a priority order for two or more event occurrences; preventing additional frames from being started while any of the two or more delay circuits is delaying its corresponding event; transmitting an event frame corresponding to a highest priority event after its corresponding delay time; and holding event occurrences with a priority lower than the highest priority event in their corresponding delay circuit until after its corresponding delay time and no higher priority events are pending; and repeating the transmitting the event frame corresponding to a highest priority event until event frames have been transmitted for all of the two or more event occurrences. In one embodiment, the event frame includes event identifier bits indicating the frame being transmitted is an event frame and event bits indicating which event of two or more event occurrences is being transmitted in the event frame.
Some embodiments relate, generally, to a serial communication link transmitter. The serial communication link transmitter may include priority logic and transmission circuitry. The priority logic may comprise two or more priority modules corresponding to two or more event indicators. Each priority module may include a shift register for shifting the event indicator by a number of shifts equal to a number of bits in a frame time; logic to indicate a pending event if any bit in the shift register is asserted; logic for holding the shift register from shifting if there is a pending event in a higher priority module; and logic for indicating the event is ready to transmit if the event has reached the end of the shift register and there are no pending events in higher priority modules. The transmission circuitry may be configured for sending an event frame, wherein the transmission circuitry is configured to include in the event frame, event bits indicating which event of the two or more event indicators is being transmitted and event identifier bits indicating the frame being transmitted is an event frame.
Advantages of the embodiments of the disclosure will be apparent to those of ordinary skill in the art from the following detailed description and the accompanying drawings:
In the following detailed description, reference is made to the accompanying drawings, which form a part hereof, and in which are shown, by way of illustration, specific example embodiments in which the present disclosure may be practiced. These embodiments are described in sufficient detail to enable a person of ordinary skill in the art to practice the present disclosure. However, other embodiments may be utilized, and structural, material, and process changes may be made without departing from the scope of the disclosure. The illustrations presented herein are not meant to be actual views of any particular method, system, device, or structure, but are merely idealized representations that are employed to describe the embodiments of the present disclosure. The drawings presented herein are not necessarily drawn to scale. Similar structures or components in the various drawings may retain the same or similar numbering for the convenience of the reader; however, the similarity in numbering does not mean that the structures or components are necessarily identical in size, composition, configuration, or any other property.
It will be readily understood that the components of the embodiments as generally described herein and illustrated in the drawings may be arranged and designed in a wide variety of different configurations. Thus, the following description of various embodiments is not intended to limit the scope of the present disclosure, but is merely representative of various embodiments. While the various aspects of the embodiments may be presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
Furthermore, specific implementations shown and described are only examples and should not be construed as the only way to implement the present disclosure unless specified otherwise herein. Elements, circuits, and functions may be shown in block diagram form in order not to obscure the present disclosure in unnecessary detail. Conversely, specific implementations shown and described are exemplary only and should not be construed as the only way to implement the present disclosure unless specified otherwise herein. Additionally, block definitions and partitioning of logic between various blocks is exemplary of a specific implementation. It will be readily apparent to one of ordinary skill in the art that the present disclosure may be practiced by numerous other partitioning solutions. For the most part, details concerning timing considerations and the like have been omitted where such details are not necessary to obtain a complete understanding of the present disclosure and are within the abilities of persons of ordinary skill in the relevant art.
Those of ordinary skill in the art would understand that information and signals may be represented using any of a variety of different technologies and techniques. For example, data, instructions, commands, information, signals, bits, symbols, and chips that may be referenced throughout this description may be represented by voltages, currents, electromagnetic waves, magnetic fields or particles, optical fields or particles, or any combination thereof. Some drawings may illustrate signals as a single signal for clarity of presentation and description. It will be understood by a person of ordinary skill in the art that the signal may represent a bus of signals, wherein the bus may have a variety of bit widths and the present disclosure may be implemented on any number of data signals including a single data signal.
The various illustrative logical blocks, modules, and circuits described in connection with the embodiments disclosed herein may be implemented or performed with a general-purpose processor, a special-purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general-purpose processor (may also be referred to herein as a host processor or simply a host) may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, such as a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration. A general-purpose computer including a processor is considered a special-purpose computer while the general-purpose computer is configured to execute computing instructions (e.g., software code) related to embodiments of the present disclosure.
Also, it is noted that the embodiments may be described in terms of a process that is depicted as a flowchart, a flow diagram, a structure diagram, or a block diagram. Although a flowchart may describe operational acts as a sequential process, many of these acts may be performed in another sequence, in parallel, or substantially concurrently. In addition, the order of the acts may be re-arranged. A process may correspond to a method, a thread, a function, a procedure, a subroutine, a subprogram, etc. Furthermore, the methods disclosed herein may be implemented in hardware, software, or both. If implemented in software, the functions may be stored or transmitted as one or more instructions or code on computer-readable media. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another.
It should be understood that any reference to an element herein using a designation such as “first,” “second,” and so forth does not limit the quantity or order of those elements, unless such limitation is explicitly stated. Rather, these designations may be used herein as a convenient method of distinguishing between two or more elements or instances of an element. Thus, a reference to first and second elements does not mean that only two elements may be employed there or that the first element must precede the second element in some manner. In addition, unless stated otherwise, a set of elements may comprise one or more elements.
In an effort to make details in figures clearer, certain marked sections of some figures may be shown in an expanded view in another figures. In some cases section markings may obscure parts of a figure, but will be clear in the expanded view. Everything shown in an expanded view should be considered part of the corresponding figure, even some details that might be obscured in the corresponding figure by the section markings. Further, any discussion of a figure in this disclosure also applies to its expanded views, if any.
As used herein, the term “substantially” in reference to a given parameter, property, or condition means and includes to a degree that one of ordinary skill in the art would understand that the given parameter, property, or condition is met with a small degree of variance, such as, for example, within acceptable manufacturing tolerances. By way of example, depending on the particular parameter, property, or condition that is substantially met, the parameter, property, or condition may be at least 90% met, at least 95% met, or even at least 99% met.
As used herein, “serial communication link” means a communication link that transmits information as a serial group of bits. The protocol of the link includes a group of bits as an information payload, which may be of various sizes and may include other bits such as, for example, start bits, stop bits, parity bits, and address bits. The physical layer of the link may be a wired bus, such as, for example, RS-232, I2C, and SMBus. The physical layer of the link also may be wireless signals such as, for example, Infrared Data Association (IrDA) signals.
As used herein, the term “frame” defines a group of predetermined number of bits transferred on a serial communication link. As one example, in serial communication links such as a Universal Asynchronous Receiver/Transmitter (UART), a Universal Synchronous Receiver/Transmitter (USRT), or a Universal Synchronous/Asynchronous Receiver/Transmitter (USART), a frame may be defined as 10 bits to include a start bit, an 8-bit data payload, a parity bit, and a stop bit. The frame for one of these serial communication protocols may also be different lengths, such as, for example only, 8 bits to include a start bit, a 7-bit data payload, and a stop bit. As another example, an I2C serial communication protocol (or other protocols with multiple slave devices) may include longer frame sizes to allow inclusion of a slave address as well as a data payload.
Reference throughout this specification to “one embodiment,” “an embodiment,” or similar language means that a particular feature, structure, or characteristic described in connection with the indicated embodiment is included in at least one embodiment of the present disclosure. Thus, the phrases “in one embodiment,” “in an embodiment,” and similar language throughout this specification may, but do not necessarily, all refer to the same embodiment.
Some embodiments described herein relate to techniques for providing a uniform latency between an occurrence of an event at a bus master and its reception at a slave. In some embodiments, the event is communicated on a serial bus and the indicator of the event arrives at a slave coupled to the serial bus. In some embodiments, the uniform latency may be a fixed delay already known between the master and the slave. In other embodiments, the uniform latency may be communicated between the master and slave with timing information included. Still other embodiments described herein provide prioritization of multiple events that may occur during any given frame.
In dedicated serial communication systems, there is sometimes a need for transmitting “side information” of certain occurrences (e.g., events) between regular data communication packages (the transmission of the side information is referred to, herein, as “event transmission”). The event transmission should not destroy the main data communication packages, but the event transmissions should still identify uniquely the time of the event. As an example, the communication link may be based on a UART, or its synchronous version USRT, and the communication may be a U(S)ART frame.
Further, if a system supports multiple such events, then the system, according to one embodiment of the disclosure, will prioritize if two or more events occur too frequently (e.g., close in time) to be transmitted in individual frames and still provide the correct timing information. The present disclosure describes systems, devices and methods to prioritize these events in a way that seeks to ensure the highest priority event is transmitted even if a lower priority event comes first, but too close in time to be able to complete the transmission of the low priority event before one has to start the transmission of the high priority event.
Even though the main purpose of a communication link may be to transfer a certain type of data, the transmitter may need to inform the receiver of certain events taking place at the transmitter. A non-limiting system example is a microcontroller (MCU) controlling multiple complex display drivers on a display, such as, for example, a Liquid Crystal Display, (LCD), an Organic Light-Emitting Diode (OLED) display, etc. The display drivers might have complex circuitry for capacitive touch measurement requiring configuration and control by the MCU. Timing information (e.g., events) like horizontal synchronization (HSYNC) and vertical synchronization (VSYNC) might be necessary to time (e.g., synchronize) touch operations to the update rate of the display, for example, to compensate for the noise introduced by the display drivers.
Although embodiments of the disclosure may refer to “events,” e.g., “event frame,” “event insertion logic,” “event recovery logic,” the term “event” is not limited to an event driven system and is intended to encompass side information, generally, including side information about the regular data that is transferred from a transmitter to a receiver.
On the receiver 140 side, the receiver 140 may include event recovery logic 142, a processor 144, and a serial interface 146. The event recovery logic 142 may be configured to recover event information according to the various embodiments described in this disclosure.
While the embodiments described with reference to
A general description of processes for transmission of event frames follows, with reference to
One of ordinary skill in the art would understand that an event frame may comprise one or more fields. For example, a frame may have fields that comprise one or more bits, the one or more bits configurable to be indicative of the various information described in connections with the various embodiments of the present disclosure. One of ordinary skill in the art will recognize many permutations for the fields and the bits that comprise the fields.
In an embodiment where the system supports multiple events, event insertion logic may be configured to encode an event number in the event frame (shown, for example, as EV0 and EV1 in
On the receiver side, the event recovery logic of the receiver may be configured to decode an event frame to find the event delay value (e.g., in clocks defined by rising and falling edges of Ck). The receiver then counts a number of clocks based on the event delay value from a predefined point in the received event frame and asserts the correct event line and the end of the delay. In the example shown in
For signal group 220, a delay 222 between the start of present frame 212 and the occurrence of event 224 at transmitter (EV_IN) is 9 clocks. The event 224 gets transmitted out as an event frame 214 when the present frame 212 completes. At the end of the event frame 214, the receiver begins counting the number of clocks encoded in the event frame 214 as DL0-DL3 (9 clocks in this example) to create a delay 232. In one embodiment, the receiver may also use the event numbers EVO and EV1 to determine the source of the event 224 for this event frame 214. When the count terminates, the receiver asserts a receive side event 234 (EV_OUT), which is a uniform latency of 21 clocks relative to when the event 224 originally occurred at the transmitter.
For signal group 240, a delay 242 between the start of the present frame 212 and the occurrence of event 244 at the transmitter (EV_IN) is 4 clocks. The event 244 gets transmitted out as an event frame 214 when the present frame 212 completes. At the end of the event frame 214, the receiver begins counting the number of clocks encoded in the event frame 214 on DL0-DL3 (4 in this case) to create a delay 252. The receiver may also use the event numbers EVO and EV1 to determine the source of the event 244 for the event frame 214. When the count terminates, the receiver asserts a receive side event 254 at the receiver (EV_OUT), which is a uniform latency of 21 clocks relative to when the event 244 originally occurred at the transmitter.
For signal group 260, a delay 262 between the start of the present frame 212 and the occurrence of event 264 at the transmitter (EV_IN) is 0 clocks. The event 264 gets transmitted out as an event frame 214 when the present frame 212 completes. At the end of the event frame 214, the receiver begins counting the number of clocks encoded in the event frame 214 on DL0-DL3 (0 in this case) to create a delay 272. The receiver may also use event numbers EVO and EV1 to determine the source of the event 264 for this event frame 214. When the count terminates, the receiver asserts a receive side event 274 at the receiver (EV_OUT), which is a uniform latency of 21 clocks relative to when the event 264 originally occurred at the transmitter.
One of ordinary skill in the art would understand that the delay bits and event number bits may be positioned differently relative to each other than described with reference to
Thus, while
As with the embodiment discussed with reference to
On the receiver side, the receiver asserts its event output immediately (or after a fixed delay) when an event frame is received.
In the example in
For signal group 320, the delay is shown as 0 clocks. Event 322 is delayed for an event delay frame 324 (e.g., 10 cycles) and is then transmitted out as an event frame 326 from the transmitter. The delay in the transmitter ensures that any ongoing frame being transmitted when the event 322 occurs is completed before (or at the same time as) the end of the delay. At the end of the event frame 326, the receiver asserts a receive side event 328 (EV_OUT), which is a uniform latency of 23 clocks relative to when the event 322 originally occurred at the transmitter.
As discussed above with reference to
While
In its various embodiments, the present disclosure enables communication of timing for events on serial communication links with no need for additional lines in addition to those required by the communication system. The event is perceived by a slave as a uniform latency from the occurrence at the transmitter side regardless of where it happens in the communication package.
A description of prioritization of event transmission follows with reference to
In
In
One method to correct for these inconstancies in prioritizing events is to use transmit hardware (which may include software implementations) that creates a uniform latency by inserting a delay from the event equal to the frame length before sending the event frame, such as, for example, by using the embodiment illustrated in
In
The timing in
As shown in
Also as shown in
In many cases the two (or more) events happen randomly and this behavior is acceptable; the higher priority event frame is always transmitted at the right time. However, in some systems where a fixed relation exists between the two events it may be unacceptable that the lower priority event frame switches between being before or after the higher priority event frame. For such cases, an option may be included to turn off the prioritization that looks for other events in the pipe and just prioritize among those that are ready to be transmitted.
In this system, a serial bus is used to distribute Vertical Synchronization (VS) and Horizontal Synchronization (HS) event information from the display controller 816 to all of the touch acquisition sub-systems via a single control line 817, which is also used for data/control transfers. As an example, the control line 817 might be the Master TxD of a USART channel, which is used to send configuration data to the source driver ICs 834, and get Analog-to-Digital Control (ADC) samples representing touch data in return on the R×D line. The system Printed Circuit Board (PCB) 810 may be, for instance, a mobile phone, tablet, or any other system with a display, which supports touch sensing. As an example, the system PCB 810 may be connected to the TFT LCD panel 830 using a flexible printed circuit board 826, and the source driver ICs 834 may be mounted on the glass using silver epoxy. For some touch solutions, touch acquisition front-end 838 may be split and implemented on the source driver ICs 834. The measurements may then be transferred back to the touch controller 818 where the Central Processing Unit (CPU) 812 (and possible Digital Signal Processing (DSP) unit) performs a post-processing operation to filter noise and determine, for example, whether someone touches the screen with one or more fingers, or if some other touch event occurred.
The display controller 816, display source driver 836, and gate driver circuitry 832 in this embodiment may be totally unaware of the touch system. The display controller 816 controls the screen updating via control line 817. However, for the touch system it may be important to accurately synchronize its acquisition 845 to the display updating via control line 817 to avoid the noise from the source driver ICs 834 and gate driver ICs 832. The touch controller 818 IC receives the HS/VS signals (i.e., events) from the display controller 816, and the event insertion logic 820 prioritizes these events. In one embodiment, the event insertion logic 820 may implement embodiments of a delay circuit and priority logic, such as a delay circuit 520 and priority logic 510 (
It should be noted that
As a non-limiting example of event prioritization with touch displays, VSYNC is sent for each new image update, while there are several HSYNCs between each VSYNC, representing new lines within the same image. The prioritizing logic ensures that even if VSYNC and HSYNC appear simultaneously (which is the case in some systems), VSYNC should be assigned the higher priority and will win. However, if an HSYNC appears one USART frame before the VSYNC, jitter in the sampling time will determine whether both are transmitted without errors (if the lower priority HSYNC is detected first) or the higher-priority VSYNC is transferred first, with an error identification on the later occurring event. In either option A or option B, the higher priority VSYNC is always transmitted at the right time, but it might be confusing if an HSYNC belonging to the previous image comes after the VSYNC (and hence a new image)—even if it has an error identification. The timing between HSYNC and VSYNC is application specific—in one particular display it will always behave the same way, and the same behavior should always be expected in the system. Hence, there may be applications where the prioritizing (at least for these two events) should be turned off—in the sense that the lower-priority event (HSYNC) is discarded if it arrives while the higher-priority VSYNC is being transmitted.
Many of the functional units described in this specification may be described as modules, threads, or other segregations of programming code, in order to more particularly emphasize their implementation independence. Modules may be at least partially implemented in hardware, in one form or another. For example, a module may be implemented as a hardware circuit comprising custom VLSI circuits or gate arrays, off-the-shelf semiconductors such as logic chips, transistors, or other discrete components. A module may also be implemented in programmable hardware devices such as field programmable gate arrays, programmable array logic, programmable state machines, programmable logic devices, or the like.
Modules may also be implemented using software, stored on a physical storage device (e.g., a computer-readable storage medium), in memory, or a combination thereof for execution by various types of processors.
An identified module of executable code may, for instance, comprise one or more physical or logical blocks of computer instructions, which may, for instance, be organized as a thread, object, procedure, or function. Nevertheless, the executables of an identified module need not be physically located together, but may comprise disparate instructions stored in different locations which, when joined logically together, comprise the module and achieve the stated purpose for the module.
Indeed, a module of executable code may be a single instruction, or many instructions, and may even be distributed over several different code segments, among different programs, and across several storage or memory devices. Similarly, operational data may be identified and illustrated herein within modules, and may be embodied in any suitable form and organized within any suitable type of data structure. The operational data may be collected as a single data set, or may be distributed over different locations including over different storage devices, and may exist, at least partially, merely as electronic signals on a system or network. Where a module or portions of a module are implemented in software, the software portions are stored on one or more physical devices, which are referred to herein as computer-readable media.
In some embodiments, the software portions are stored in a non-transitory state such that the software portions, or representations thereof, persist in the same physical location for a period of time. Additionally, in some embodiments, the software portions are stored on one or more non-transitory storage devices, which include hardware elements capable of storing non-transitory states and/or signals representative of the software portions, even though other portions of the non-transitory storage devices may be capable of altering and/or transmitting the signals. One example of a non-transitory storage device includes a read-only memory (ROM), which may store signals and/or states representative of the software portions for a period of time. However, the ability to store the signals and/or states is not diminished by further functionality of transmitting signals that are the same as or representative of the stored signals and/or states. For example, a processor may access the ROM to obtain signals that are representative of the stored signals and/or states in order to execute the corresponding software instructions.
While the present disclosure has been described herein with respect to certain illustrated embodiments, those of ordinary skill in the art will recognize and appreciate that the present invention is not so limited. Rather, many additions, deletions, and modifications to the illustrated and described embodiments may be made without departing from the scope of the invention as hereinafter claimed along with their legal equivalents. In addition, features from one embodiment may be combined with features of another embodiment while still being encompassed within the scope of the invention as contemplated by the inventors.
Additional non-limiting embodiments of the disclosure include:
A touch panel system, comprising: a display system; a touch acquisition front-end; and a touch controller operatively coupled to the touch acquisition front-end by a serial communication link, wherein the touch controller includes a communication interface configured to: receive two or more event occurrences and delay the two or more event occurrences by a delay time corresponding to a uniform delay; determining a priority order for the two or more event occurrences; preventing additional frames from being started while any of the two or more delay circuits is delaying its corresponding event; transmitting an event frame corresponding to a highest priority event after its corresponding delay time; and holding event occurrences with a priority lower than the highest priority event in their corresponding delay circuit until after its corresponding delay time and no higher priority events are pending; repeating the transmitting the event frame corresponding to the highest priority event until event frames have been transmitted for all of the two or more event occurrences; wherein the event frame includes event identifier bits indicating the frame being transmitted is an event frame and event bits indicating which event of the two or more event occurrences is being transmitted in the event frame.
The touch panel system according to Embodiment 1, wherein the communication interface comprises two or more delay circuits, each delay circuit configured for receiving an event occurrence corresponding to that delay circuit and delaying the event occurrence by a delay time corresponding to a frame time.
The touch panel system according to any of Embodiments 1 or 2, wherein each of the two or more delay circuits comprises a shift register for shifting the event occurrence by a number of shifts equal to a number of bits in the frame time.
The touch panel system according to any of Embodiments 1 through 3, wherein each of the two or more delay circuits comprises a counter for determining the delay time.
The touch panel system according to any of Embodiments 1 through 4, wherein the communication interface is configured for communication according to a protocol selected from the group consisting of Universal Asynchronous Receiver/Transmitter, Universal Synchronous Receiver/Transmitter, and Universal Synchronous/Asynchronous Receiver/Transmitter.
The touch panel system according to any of Embodiments 1 through 5, wherein the uniform delay is equal to a frame time.
The touch panel system according to any of Embodiments 1 through 6, wherein the communication interface is configured to insert an error indication into an event frame corresponding to an event held past its delay time while an event frame corresponding to at least one higher priority event is transmitted.
The touch panel system according to any of Embodiments 1 through 7, wherein the touch acquisition front-end includes a noise cancellation circuit configured to filter noise responsive to event frames received over the communication link.
The touch panel system according to any of Embodiments 1 through 8, wherein the noise cancellation circuit is configured to filter noise responsive to, at least in part, timing information related to events corresponding to received event frames and types of events corresponding to the received event frames.
The touch panel system according to any of Embodiments 1 through 9, wherein the types of events comprise initiation of display update signals at the display system.
The touch panel system according to any of Embodiments 1 through 10, wherein the display update signals comprise horizontal synchronization and vertical synchronization signals.
The touch panel system according to any of Embodiments 1 through 11, wherein the communication interface is configured to discard an event of the two or more events.
The touch panel system according to any of Embodiments 1 through 12, wherein the discarded event corresponds to a horizontal synchronization event that is received during a vertical synchronization event.
The touch panel system of according to any of Embodiments 1 through 13, wherein a higher priority event corresponds to a vertical synchronization event and a lower priority event corresponds to a horizontal synchronization event.
A serial communication link receiver, comprising: a serial interface configured to receive one or more event frames and recover event information from the one or more event frames responsive to event recovery logic, the event recovery logic comprising: determining the timing of an event corresponding to one of the one or more event frames responsive to the difference between an actual time of receipt of the event frame and a known uniform delay.
A serial communication link receiver, comprising: a serial interface configured to receive one or more event frames and recover event information from the one or more event frames responsive to event recovery logic, the event recovery logic comprising: determining the timing of an event corresponding to one of the one or more event frames responsive to the difference between an actual time of receipt of the event frame and a known uniform delay; and validate the determining timing information responsive to an error indicator encoded in the one or more event frames.
A method of prioritizing events, comprising: delaying two or more events, each event delayed for at least a delay time corresponding to a uniform delay; and preventing additional frames from being started on a serial communication link while any of the two or more events is being delayed; transmitting an event frame corresponding to one of the two or more events with a highest priority after its corresponding delay time; and holding events with a priority lower than the event frame being transmitted until after a corresponding delay time and no higher priority events are pending; and repeating the transmitting the event frame corresponding to a highest priority event until event frames have been transmitted for all of the two or more events; wherein the event frame includes event identifier bits indicating the frame being transmitted is an event frame and event bits indicating which event of the two or more events is being transmitted in the event frame.
The method according to Embodiment 17, wherein the uniform delay is equal to a frame time.
The method according to any of Embodiments 17 or 18, wherein delaying the two or more events comprises shifting each event through a shift register for a number of shifts equal to a number of bits in the uniform delay.
The method according to any of Embodiments 17 through 19, wherein delaying the two or more events comprises counting a number of bits in the uniform delay.
The method according to any of Embodiments 17 through 20, further comprising inserting an error indication into an event frame corresponding to an event held past its delay time while an event frame corresponding to at least one higher priority event is transmitted.
The method according to any of Embodiments 17 through 21, further comprising: asserting one or more event indicators responsive to the two or more events; and responsive to the one or more asserted event indicators, holding at least one of the two or more events while the one or more event indicators is asserted.
The method according to any of Embodiments 17 through 22, wherein holding the at least one of the two or more events comprises one or more of stopping a shift register or pausing a counter.
The method according to any of Embodiments 17 through 23, further comprising asserting a no-qualified event indicator responsive to the one or more event indicators.
The method according to any of Embodiments 17 through 24, further comprising: de-asserting the one or more event indicators responsive to the two or more events; and responsive to the one more de-asserted event indicators, delaying the at least one of the two or more events while the one or more event indicators are de-asserted.
The method according to any of Embodiments 17 through 25, further comprising asserting a qualified event indicator corresponding to a qualified event after its delay time and responsive to there being no asserted event indicators indicating higher priority events are pending.
The method according to any of Embodiments 17 through 26, further comprising encoding an event frame corresponding to the qualified event responsive to the qualified event indicator.
A serial communication link transmitter, comprising: two or more delay circuits, each delay circuit configured for receiving an event occurrence corresponding to that delay circuit and delaying the event occurrence by a delay time corresponding to a frame time; and priority logic configured for: determining a priority order for two or more event occurrences; preventing additional frames from being started while any of the two or more delay circuits is delaying its corresponding event; transmitting an event frame corresponding to a highest priority event after its corresponding delay time; holding event occurrences with a priority lower than the highest priority event in their corresponding delay circuit until after its corresponding delay time and no higher priority events are pending; and repeating the transmitting the event frame corresponding to the highest priority event until event frames have been transmitted for all of the two or more event occurrences; wherein the event frame includes event identifier bits indicating the frame being transmitted is an event frame and event bits indicating which event of the two or more event occurrences is being transmitted in the event frame.
The serial communication link transmitter of Embodiment 28, wherein each of the two or more delay circuits comprises a shift register for shifting the event occurrence by a number of shifts equal to a number of bits in the frame time.
The serial communication link transmitter according to any of Embodiments 28 or 29, wherein each of the two or more delay circuits comprises a counter for determining the delay time.
The serial communication link transmitter according to any of Embodiments 28 through 30, further comprising an interface configured for communication according to a protocol selected from the group consisting of Universal Asynchronous Receiver/Transmitter, Universal Synchronous Receiver/Transmitter, and Universal Synchronous/Asynchronous Receiver/Transmitter.
A serial communication link transmitter, comprising: priority logic comprising two or more priority modules corresponding to two or more event indicators, each priority module comprising: a shift register for shifting the event indicator by a number of shifts equal to a number of bits in a frame time; logic to indicate a pending event if any bit in the shift register is asserted; logic for holding the shift register from shifting if there is a pending event in a higher priority module; and logic for indicating the event is ready to transmit if the event has reached the end of the shift register and there are no pending events in higher priority modules; transmission circuitry configured for sending an event frame, wherein the transmission circuitry is configured to include in the event frame, event bits indicating which event of the two or more event indicators is being transmitted and event identifier bits indicating the frame being transmitted is an event frame.
This application claims the benefit under 35 U.S.C. § 119(e) of U.S. Provisional Patent Application Ser. No. 62/502,343, filed May 5, 2017, the disclosure of which is hereby incorporated herein in its entirety by this reference.
Number | Name | Date | Kind |
---|---|---|---|
5621898 | Wooten | Apr 1997 | A |
7417637 | Donham | Aug 2008 | B1 |
7529293 | Lochner | May 2009 | B2 |
7634603 | Edirisooriya et al. | Dec 2009 | B2 |
7668202 | Gillet | Feb 2010 | B2 |
7800408 | Stephens et al. | Sep 2010 | B2 |
8291126 | Zitlaw | Oct 2012 | B2 |
8639851 | Laurentiu | Jan 2014 | B2 |
8680886 | Atsatt | Mar 2014 | B1 |
8904451 | Meijer et al. | Dec 2014 | B2 |
20050278719 | Togawa | Dec 2005 | A1 |
20140320189 | Lund et al. | Oct 2014 | A1 |
20140372777 | Reller et al. | Dec 2014 | A1 |
20160147684 | Sengoku | May 2016 | A1 |
20170228326 | Depeyrot | Aug 2017 | A1 |
Number | Date | Country |
---|---|---|
1465370 | Oct 2004 | EP |
Entry |
---|
Written Opinion of the International Searching Authority for PCT Application No. PCT/US2018/030497, dated Aug. 10, 2018, 10 pages. |
International Search Report for PCT Application No. PCT/US2018/030497 dated Aug. 10, 2018, 4 pages. |
Taiwanese Search Report and Office Action from Taiwanese Application No. 107115298, dated Mar. 20, 2019, 19 pages with translation. |
Number | Date | Country | |
---|---|---|---|
20180322080 A1 | Nov 2018 | US |
Number | Date | Country | |
---|---|---|---|
62502343 | May 2017 | US |