Dataloss error checking mechanism

Status
Not open for further replies.

tiwari.sachin

Full Member level 6
Joined
Aug 1, 2009
Messages
341
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Location
India
Activity points
4,449
I am using a device that communicates to a mobile via bluetooth.

My unit has a MCU and bluetooth connected via UART

When there is continuous communication happening between the two devices, I see that there is some data loss. This happens randomly and I cannot really find a proper sequence for the same.

Works fine for longer duration for some mobiles and for some, the time of proper communication is different.

I was thinking of using CRC (384 bits and/or 576 bits followed by 16 bit CRC). Since there would be lot of computation that goes plus extra couple of bytes, the overall communication speed will drop drastically.

Is this the better way or are there other faster and good techniques to check proper data communication.
 

I see that there is some data loss. This happens randomly and I cannot really find a proper sequence for the same.

You should enclose the data pack within a protocol frame having a sequential number, so that you could determine exactly the ID for the lost packs, The glanularity of the pack would depend on the proportion of errors, so that you could choose some size which would not loose performance adding unecessarily check-data/processing.
 

Two most common problems are buffer overruns and EMI interference on RF such as Rician Fading. If you can eliminate these possible root causes, by any means, then we can work down a list of possible COMM issues
 

There is a machanism placed exactly on top of the bluetooth which is made of metal. Could this be the possible issue??

I have designed a new board and shall provide the details soon here. Kindly let me know if I am doing it right way. I shall post the link in a few minutes

- - - Updated - - -

Link for New PCB

https://www.edaboard.com/threads/355729/#post1521841

This post has details on bluetooth mounting on PCB
 

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