主权项 |
1. A system comprising:
a first universal asynchronous receiver/transmitter (UART) configured to receive high-speed data; a second UART configured to broadcast serial data; an input buffer storing data received from the first UART; a compare buffer storing data for sending by the second UART; and a controller programmed to
repeatedly iterate through the input buffer and the compare buffer such that when an input location value of the input buffer differs from a corresponding compare location value of the compare buffer, set the corresponding compare location value of the compare buffer to the input location value and send the compare location value, as updated, to the second UART to be broadcast, andbetween iterations of the input and compare buffers, send a next value of a reference iteration of the compare buffer to the second UART to be broadcast, regardless of whether the next value was previously broadcast. |