[simpits-tech] Need some Serial Communications help....

Roberto Waltman fsim at rwaltman.com
Thu Mar 3 13:23:24 PST 2011


>> ....
>> So perhaps I need to reverse my data stream and send my MSB first?
>
> I believe so. Page 6 in the data sheet, immediately below Table-2:
>
> "The 12 bits are shifted into the device’s shift register MSB
> first using a SPI compatible scheme."

By the way, this is not standardized.  The MSB-LSB order, clock phase,
transfer length, etc., change from one SPI device to another.

Things can get complicated when you have multiple devices connected to the
same SPI bus, and you need to continuously reprogram your controller when
switching from one device to another.





More information about the Simpits-tech mailing list