Helpful Information
 
 
Category: Embedded Programming
How to capture and store serial communication data in buffers

I sent 1preample and 4bytes in transmitting side , preample contains only 1 and 0 with 4milliseconds delay, each byte contains 8bits with 2milliseconds delay , if a bit contains 1 it will send 1millisecond high and 1millisecond low signal ,and if a bit contains 0 it will send 2millisecond continuous delay, I have a problem at receiving side how to capture and store the preample and 4byte values in a buffer , iam using ARM processor it will update every 5microsecond .. please guide me and give a valuable suggestions

thanks in advance

cross-posted here (http://cboard.cprogramming.com/c-programming/157778-how-capture-store-serial-communication-data-buffers.html)










privacy (GDPR)