Common practice to process message frames in microcontroller

Status
Not open for further replies.

thranduil

Member level 1
Joined
Jul 19, 2011
Messages
41
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Visit site
Activity points
1,670
HI all guys,

I had a problem to name this thread, cause it is rather broader topic. So, I have designed a board with ARM LPC1768 and 434 MHz transciever CC1000 from TI. What I want to do now is to make proper firmware structure.
As for the requirements, the receiver must be able to receive different frame types, with different encoding schemes, i.e., manchester, and diff. manchester.
My question now is how to implement, or what is the common practice in this kind of problems, preamble detection and the steps of message decoding after the preamble has been found.
My rough idea is to have some kind of buffer where I would store symbols and then to run loop every time the buffer is updated and to search for preamble pattern (but there are 4 or 5 types of preambles).

I hope somebody has more experience than me in this area and can provide some advices.

Thanx
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…