Content originally posted in LPCWare by Rorrik on Tue Sep 09 07:48:57 MST 2014
From what I'm seeing here, that's not strictly true. I have set data length to 8, and it sends 16 bits. The progressions is interesting. When XfSetup.DataSize = X, where X < 8, T, the transmitted number of bits, is T=X, however, where X >= 8, T=2*X. Unless you are referring to some other way to set the 'Data Length' to 1 to 16 bits, in which case I would be happy to know where to do this correct setup. Right now I am sending two 4 bit words back to back before my pause between bytes. This is cludgey and requires me to reformat my data, so I would be happy to know if there is a better solution that can be explained using the provided libraries.
Edit: Investigation reveals that TXCTRL yses the DataSize value when called, confirming my suspicions. 8 does not seem to be a possible number of bits to send.