Split from: Using current sensing with a servo motor to measure force

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello everyone and thank you in advance for any possible solutions.
Indeed, I use a Microchip SAMG55 X plained Pro development kit to which I associate a WINC3400 X plained Pro wifi kit to make a data transmission via TCP/IP using the basic example provided on ASF: WINC3400_IPERF_SERVER_EXAMPLE.

 

I want to make a real time transmission.

The problem I currently have is that when I transmit the data, after a time, I have a slowdown in the data transmission (the measured transmission time of the wifi module which was almost fixed and initially acceptable becomes longer thus exceeding the normal time defined to transmit a certain number of data; 1024 Bytes here for example). Which prevents me from doing real time trasmission because there is a gap in the data.
Does the wifi module have latent operation on a TCP/IP link after a long period of fixed speed transmission ? here, 1376 bytes every 86 ms

 

Is it possible to make a real-time transmission with the WINC3400 wifi module? do audio streaming one eg.
if true, what are the possible problems that I face in my case.

 

thank you everyone.

 

 

Attachment(s): 

Last Edited: Wed. Jun 30, 2021 - 07:32 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Borel---why don't you create a post?   You put it here by mistake, in the wrong place!!

 

Which prevents me from doing real time trasmission because there is a gap in the data.

There will almost always be some sort of buffering, so there inherently will be gaps in the RF transmission.  You might add "padding data" to fill any buffer for immediate transmission...In any case, what does real-time need to be?...if you have 500 bytes that were slowly buffered, the first byte gets sent (unbuffered) around the same time as the 500th byte...so they are not exactly "real time", they arrive on the train in groups.

 

if true, what are the possible problems that I face in my case. 

You may have to realign the samples in time, if they arrive in batches. This may be as simple as simply spitting them out at the sample rate from an arrival buffer.  The buffer has to be large enough (and hence the overall system delay too), to handle the worst-case RF block gap, so the final output is always gap free.

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

:: Morten

 

(yes, I work for Microchip, yes, I do this in my spare time, now stop sending PMs)

 

The postings on this site are my own and do not represent Microchip’s positions, strategies, or opinions.

Topic locked