Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 1.2 KB

README.md

File metadata and controls

28 lines (17 loc) · 1.2 KB

Small Capacity Data Transmit Protocol

English / 中文

Applicable Scenario:

  • The total amount of transmitted data is less than 3 Byte
  • Based on Full-Duplex transmit protocol
  • Mid capacity data transmit from master to slave
  • Mid capacity data transmit from slave to master
  • Don't need stable transmit
  • Support burst transmission

Description:

    This is a fixed-length transmit protocol, each package (the smallest unit of a transmit mission) length is 4Byte, the effective data length is 3Byte(means that the maximum data length is 3Byte). When communicating, sending package directly without handshaking. Each frame occupy a Byte(8 bits).


Package Contents:

PID_Frame

Frame declaration:

    The first two bits of each frame are frame identifiers. There are four combinations of the frame identifiers, representing four different frames. The 3-byte data which have to be transmitted are split and reorganized, and loaded into frame in the way of 6-bit effective data of each frame.