Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
usp:usp_spec [2012/12/04 19:32] – [Terminology] admin | usp:usp_spec [2014/03/09 22:27] – [SendBreak() [0x55]] mnovak | ||
---|---|---|---|
Line 33: | Line 33: | ||
^ Checksum Word (required) | ^ Checksum Word (required) | ||
- | *A command consists of two or more 32-bit words. The first 32-bit word is divided into 4 fields. The highest 8 bits (bits 31-24) identify the command. The next 16 bits (bits 23-8) is the Unit ID or Address. The next 8 bits specify the number of 32 bit words in the command including the first and last word. | + | *A command consists of two or more 32-bit words. The first 32-bit word is divided into 4 fields. The highest 8 bits (bits 31-24) identify the command. The next 16 bits (bits 23-8) is the ModuleID-Hi and ModuleID-Lo. The next 8 bits specify the number of 32 bit words in the command including the first and last word. |
*The command word is followed by optional 1 – N data words. The interpretation of data depends on command. | *The command word is followed by optional 1 – N data words. The interpretation of data depends on command. | ||
*The last word contains 3 bytes of data (bits 21-16) and simple additive checksum (bits 7-0). | *The last word contains 3 bytes of data (bits 21-16) and simple additive checksum (bits 7-0). | ||
Line 314: | Line 314: | ||
When the slave device needs to signal that it has a status change it may send break signal to the master device. The signal is one 32 bit word, it comprises break character command ID (0x55) and USP Slave module ID. | When the slave device needs to signal that it has a status change it may send break signal to the master device. The signal is one 32 bit word, it comprises break character command ID (0x55) and USP Slave module ID. | ||
- | Master will recoginze break by checking that CommandID == 0x55 and the Lenght | + | Master will recoginze break by checking that CommandID == 0x55 and the Length |
**Command** | **Command** |