JohnParks wrote:So what you are saying is that when "Panasonic (Old)" was invented only 8 bit registors were available. So they used 6 bits for the command code and 2 bits for the device code. Now that 16 bit registers are the norm protocols now use 8 bits for the command and 8 for the device. So that's the reason that some protocols have 8 and some have 16. Right?
I think you are misunderstanding a bunch of aspects of this.
Panasonic(Old) protocol uses 6 bits for the command and 6 bits for the device.
When UEI impliments a protocol, they usually put the device information in "fixed data" (Data that is the same for all signals in a whole setup code) and command information in the "Hex Command" (Data that is different for each function in the setup code).
Sometimes the device manufacturer uses a few different device numbers for commands for one device. Then UEI usually creates some sort of "combo" protocol. In that case, either they put part of the device information in the Hex Command, or they put multiple versions of the device information in the fixed data and then put a selection field in the Hex Command to pick which version of Device information is used.
If the command is just 6 bits long, they typically put three versions of the device information in the fixed data and use two bits in the hex command to select.
The number of bits in a register of the micro processor used doesn't have much effect on the structure chosen. UEI has continued using microprocessors with 8 bit registers across the period in which they drifted from almost all hex commands being 8 bits toward having a significant minority be 16 bits.
When the original device manufacturer designed Panasonic(Old) they weren't using Microprocessors at all. The IR signals were encoded and decoded but simpler electronics.