RE: Serial Data Communication!!
"Jean-Christophe MATHAE" <[email protected]> Mon, 3 Jul 2006 15:17:20 +0200
| Newsgroups | gmane.comp.hardware.motorola.microcontrollers |
|---|---|
| Message-ID | <[email protected]> |
Hello Rajesh,
Are you a student trying to have others do his homework or are you actually paid for trying to program a PowerPC microncontroller?!
> I have 2 float data(e.g 120 and -25), which I want
> to send with a specified baudrate through UART serial
> communication (SCI-1) of MPC566.
> I am trying to make a packet structure of 2 bytes that will
> include these data and checksum also.
> Can anyone please tell me how to make this packet structure
> and what else is required to make this?
As a float is made of four (4) bytes, you will need a little bit more than two (2) bytes to transmit two floats and a checksum...
Best regards.
Jean-Christophe MATHAE
CIRTEM
http://www.cirtem.com
bâtiment Pointe Bleue
20, voie l'Occitane
BP661
31319 LABEGE cedex
France
Tél : (33) 562.24.26.82
-----------------------------------------------------------
To learn more about Freescale Microcontrollers, please visit
http://www.freescale.com/mcu
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/MPC500/
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/