View previous topic :: View next topic |
Author |
Message |
refa
Joined: 12 Dec 2003 Posts: 15
|
|
Posted: Mon Jan 12, 2004 3:59 pm |
|
|
Yeah, I should ask them or solve the problem myself. Thank you a lot for your time PCM Programmer |
|
|
Ttelmah Guest
|
|
Posted: Mon Jan 12, 2004 4:00 pm |
|
|
You obviously note the comment in the data sheet, that the "data must be preceeded by a 'preamble' 1 to 3mSec long to stabilise the AGC".
For radio comms, you will need to add a 'header' to the packet, with an identifier at the end, that the receive processor looks for.
So you send something like:
for (n=0;n<3;n++) putc(0xAA);
putc(0);
then the actual data.
At the receive, your code ignores characters, till the '0' if seen, and then receives the following data as the 'real' packet.
A technique like this is necessary with communications of this sort.
Best Wishes |
|
|
refa
Joined: 12 Dec 2003 Posts: 15
|
|
Posted: Mon Jan 12, 2004 4:07 pm |
|
|
Ttelmah thank you a lot for sharing this. It 'll save me a lot of time ... Thank you pal |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|