SPRADC3 june   2023 AM2431 , AM2432 , AM2434 , AM2631 , AM2631-Q1 , AM2632 , AM2632-Q1 , AM2634 , AM2634-Q1 , AM263P4 , AM263P4-Q1 , AM3351 , AM3352 , AM3354 , AM3356 , AM3357 , AM3358 , AM3358-EP , AM3359 , AM4372 , AM4376 , AM4377 , AM4378 , AM4379 , AM5706 , AM5708 , AM5716 , AM5718 , AM5718-HIREL , AM5726 , AM5728 , AM5729 , AM5746 , AM5748 , AM5749 , AM6411 , AM6412 , AM6421 , AM6422 , AM6441 , AM6442 , AM6526 , AM6528 , AM6546 , AM6548

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction to 8b-10b Line Coding
  5. 2PRU Implementation for Data Transmitting and Receiving
    1. 2.1 Encoding and Decoding Data
    2. 2.2 PRU Module Interface and GPIO Mode
    3. 2.3 PRU GPIO Shift-out and Shift-in Mode for Communication
    4. 2.4 Three-channel Peripheral Interface for Communication
    5. 2.5 LVDS and M-LVDS Interface
  6. 3System Solution With CRC Module and Over-head Optimization
    1. 3.1 PRU CRC16/32 Module
    2. 3.2 Encode and Decode Over-head Optimization
  7. 4Verification
  8. 5Summary
  9. 6References

Introduction to 8b-10b Line Coding

As the scheme name suggests, 8b-10b means that 8 bits of data are transmitted as 10-bit symbols to achieve DC balance and bounded disparity. The low five bits of data are encoded into a 6-bit group (the 5b and 6b section) and the top three bits are encoded into a 4-bit group (the 3b and 4b section). These code groups are concatenated together to form the 10-bit symbol that is transmitted on the wire and received, then decoded in reverse. This algorithm is invented and patented by IBM Corporation.

To balance the DC signals during high-frequency data receiving, the two inserted control bits help to make the difference between the counts of 0 and 1 in a string of at least 20 bits, is no more than two, and there are not more than five 1s or 0s in a row. This scheme helps to balance the DC signals during high frequency data receiving and also reduce the demand for the lower bandwidth limit of the channel necessary to transfer the signal. However, using the 8b-10b encoding algorithm adds 25% overhead to each character. This character overhead is not the only over-head, however it is the most significant factor. The example for 8b-10b encoding is shown in Figure 1-1.

GUID-20230606-SS0I-MCJQ-GP3J-P8KHGVVWJZD7-low.svg Figure 1-1 8b-10b encoding