- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am using the psoc 6 dev board to stream timestamped data over ble at frequencies between 100hz - 1khz using notifications. The data is being received by a windows pc. The data is 504 bytes of sensor readings.
I am trying to debug the reason for large spikes in the timestamp data ( 200 ms - 1000ms). These spikes show up at all of the data capture frequencies mentioned above.
I tried out wireshark to sniff the ble data. The points where the spike occurs always has an error message about a wrong "sequence number". I have attached the log message screenshot. What might be going wrong? Any direction would be really helpful !
Solved! Go to Solution.
- Labels:
-
PSoC 6 MCU
- Tags:
- ble
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Vish,
I understand the issue.
But I would like to know the implementation of the app on the PSoC side. If there is any issue on the PSoC application, we will be able to help you. If you have access to our case system, I would prefer you to create a SFDC case.
Thanks,
-Dheeraj.P.K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
May I know which application are you using? If possible please share the code with us, to test it at our side.
Could you please elaborate what you meant by large spikes? Does it mean, the PSoC sends more than 504 bytes of data to windows PC ?
Thanks,
-Dheeraj.P.K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
On the windows side it is a custom c++ app using a 3rd party ble api.
A large spikes denotes the event when the time stamp delta is larger than the sensor's sampling rate.
For example at 1khz the expected time difference between samples is ~1000 micro seconds, but occasionally the delta will be very large (even 1e6 or 1 second at times). I have added an image for clarity.
Can I share the project to you privately?
Thanks,
Vish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Vish,
I understand the issue.
But I would like to know the implementation of the app on the PSoC side. If there is any issue on the PSoC application, we will be able to help you. If you have access to our case system, I would prefer you to create a SFDC case.
Thanks,
-Dheeraj.P.K