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

raysot at comcast.net raysot at comcast.net
Thu Mar 3 13:35:32 PST 2011


I had a feeling about the non-standard signals. I'm used to seeing: 


____ 
CLK 


____ 
Data 


____ 
ETC.... 

..and also shifting in LSB first. Interesting... 

----- Original Message ----- 
From: "Roberto Waltman" <fsim at rwaltman.com> 
To: "Simulator Cockpit Builder's List" <simpits-tech at simpits.org> 
Sent: Thursday, March 3, 2011 1:23:24 PM 
Subject: Re: [simpits-tech] Need some Serial Communications help.... 

>> .... 
>> 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. 



_______________________________________________ 
Simpits-tech mailing list 
Simpits-tech at simpits.org 
http://www.simpits.org/mailman/listinfo/simpits-tech 
To unsubscribe, please see the instructions at the bottom of the above page. Thanks! 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.simpits.org/pipermail/simpits-tech/attachments/20110303/7702bd25/attachment.html 


More information about the Simpits-tech mailing list