Handling asynchronous data input
Posted: Thu Jan 02, 2014 2:09 pm
Hi, Happy New Year to all.
I am a hardware engineer, and have been using Flowcode V4 for a couple of years. I now need to tackle a new concept for me and I'm looking for some advice.
Essenitally I have an RF receive module from which I need to accept data and handle within a PIC. The RF module will provide asynchronous data at the same data rate at which it receives it. This rate will vary from about 3kps to about 20kbps. The data format (i.e. start, stop and parity bits) will not vary. There will be several data bytes which I will need to store separately and process.
What is the best way to handle this data with the varying data rate? I'm looking at using the PIC16F688 with the Enhanced USART, but can switch to another device if it would make things simpler. As I stated I am a hardware engineer and need to use Flowcode V4 to program the PIc as I'm not familiar with C or other languages.
Thanks in advance for your help, regards.
Darren.
I am a hardware engineer, and have been using Flowcode V4 for a couple of years. I now need to tackle a new concept for me and I'm looking for some advice.
Essenitally I have an RF receive module from which I need to accept data and handle within a PIC. The RF module will provide asynchronous data at the same data rate at which it receives it. This rate will vary from about 3kps to about 20kbps. The data format (i.e. start, stop and parity bits) will not vary. There will be several data bytes which I will need to store separately and process.
What is the best way to handle this data with the varying data rate? I'm looking at using the PIC16F688 with the Enhanced USART, but can switch to another device if it would make things simpler. As I stated I am a hardware engineer and need to use Flowcode V4 to program the PIc as I'm not familiar with C or other languages.
Thanks in advance for your help, regards.
Darren.