rs232 endianness on PPC

3 messages, 3 authors, 2006-07-01 · open the first message on its own page

rs232 endianness on PPC

From: tauanna@tiscali.it <hidden>
Date: 2006-06-30 19:10:34

Hi,

when I write a byte on the SMC1 (MPC875) serial device (let us say 
0x11) what should I expect on the output pin? First a 0 then 0, 0, 1, 
0, 0, 0, 1 or the opposite. Is it different on a little endian CPU?

Bye,
Antonio.




		
Hai voglia di fare un viaggio, ma non sai dove andare?
Scegli una delle nostre offerte HOTEL IN ITALIA E IN EUROPA da 50 euro.
Prenota subito su Expedia.it e... buona vacanza!

http://expedia.viaggi.tiscali.it/default.aspx?eapid=330-8 
 
	

Re: rs232 endianness on PPC

From: White <hidden>
Date: 2006-07-01 09:03:07

PowerPC is only Byte swaped, not bit-swaped :)
(I thought there are only some old mainly unused Architecturs, who swap
the Bits :)

The second: I think the bitorder on the rs232 is standarized :) and
should be the same ... :)

Am Fri, 30 Jun 2006 21:10:31 +0200 (CEST) schrieb "tauanna@tiscali.it"
[off-list ref] :
Hi,

when I write a byte on the SMC1 (MPC875) serial device (let us say 
0x11) what should I expect on the output pin? First a 0 then 0, 0, 1, 
0, 0, 0, 1 or the opposite. Is it different on a little endian CPU?

Bye,
Antonio.




		
Hai voglia di fare un viaggio, ma non sai dove andare?
Scegli una delle nostre offerte HOTEL IN ITALIA E IN EUROPA da 50 euro.
Prenota subito su Expedia.it e... buona vacanza!

http://expedia.viaggi.tiscali.it/default.aspx?eapid=330-8 
 
	
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Re: rs232 endianness on PPC

From: Dan Malek <hidden>
Date: 2006-07-01 15:56:34

On Jul 1, 2006, at 4:53 AM, White wrote:
PowerPC is only Byte swaped, not bit-swaped :)
PowerPC isn't byte swapped, the other world is :-)
The second: I think the bitorder on the rs232 is standarized :) and
should be the same ... :)
RS-232 is LS bit first.


	-- Dan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help