Transmitting data at 7 kbyte/sec

5 posts / 0 new
Last post
Rony
Offline
Last seen:4 years 11 months ago
Master
加入:2014-05-15 15:02
Transmitting data at 7 kbyte/sec

I need to measure data and send results at a rate of 7 kbyte/sec.
The measurements are scheduled OK and except for problem with the differential mode of the ADC its fine.
For the transition I did the following but seems I am stuck.
1. Tried to study the streaming example but when I run it in my basic sdk nothing was detected on the android side.
2. I was told to look at the sps example.
Tried to run that one on the basic sdk and didn't even run.
3. I added 7 notifying characteristics to the service and it works fine for a while but gets stuck after some minutes.

Any ideas?
Thanks

PY_Dialog
Offline
Last seen:2 years 11 months ago
工作人员
加入:2014-08-25 09:59
Hi Rony,

Hi Rony,

Our DSPS can work up to 87.5kbps and it should work perfectly for your application. I have no idea why you did not run it up. One suggestion is put your application aside firstly and follow the steps of UM-B-038_DA14580_Serial_Port_Service_reference_application_v1.0. If this works, you can start to adding your ADC code in.

Regards!
PY

Rony
Offline
Last seen:4 years 11 months ago
Master
加入:2014-05-15 15:02
I intended to follows those

I intended to follows those steps.
My problem is to understand what you are doing on the android side.
I am using blueloupe and our own version but are not able to get any notifications.
I tried to look at the dsps application but got lost in the corona stuff and the java architecture used.
Not being a java "native speaker" I was able to menage the blueloupe code but this looks above my league.

JBaczuk
Offline
Last seen:1 year 8 months ago
加入:2014-12-31 23:41
I know this was a couple

I know this was a couple months ago, but I tried to run the SPS on the Basic kit and it didn't work. In UM-B-038 it mentions the need for an FTDI cable because the basic driver doesn't have flow control. I don't know if this is the reason, but the code works fine on the expert board (which I assume has flow control).

JE_Dialog
Offline
Last seen:11 hours 41 min ago
工作人员
加入:2013-12-05 14:02
你好JBaczuk,最新的

你好JBaczuk,最新的version of the user manual UM-B-038 now includes full directions on the basic board (and PRO board ). The DSPS release does now have HW flow control, its just the BASIC kit FTDI chip doesn't have it, hence the need for the cable.

BR JE_Dialog