It is currently Wed May 22, 2013 12:53 am

All times are UTC - 7 hours [ DST ]




 Page 1 of 1 [ 4 posts ] 
Author Message
 Post subject: Serial communication pauses between bytes
PostPosted: Tue Feb 07, 2012 2:02 pm 
LCD?

Joined: Mon Feb 21, 2011 3:29 pm
Posts: 7
Location: US
I am running my GTT at 115200 over the ttl connection. When the unit is sending a touch response for touch region 1 the communication flows as follows:

<0xFC><pause ~690us>
<0x87><pause ~900us>
<0x00><0x02><pause ~500us>
<0x00><0x01>

Is this typical. It was timing out my hardware FIFO. I have worked around it, however it makes the code a little less pretty and requires 4 RX interrupts versus 1.


Offline
 Profile  
 
 Post subject:
PostPosted: Tue Feb 07, 2012 5:58 pm 
Matrix Orbital
Matrix Orbital

Joined: Fri Aug 17, 2007 10:58 am
Posts: 754
Location: Matrix Orbital
Hi Phil,

The GTT will require some time to determine what type of event occurred to cause a response to the host, how many bytes that response will be, and finally the data to be sent back. The numbers you have listed do not sound unreasonable.

For your hardware fifo, you might consider a state machine to keep track of what data is expected next, perhaps you can find a way to save a few interrupts.

Thanks,
Troy



_________________
Troy Clark
Technical Support
Matrix Orbital
Offline
 Profile  
 
 Post subject:
PostPosted: Tue Feb 07, 2012 8:42 pm 
LCD?

Joined: Mon Feb 21, 2011 3:29 pm
Posts: 7
Location: US
Hi Troy,

Thanks for the fast reply. I was just making sure I was not missing anything. I have been getting spoiled lately with MCU hardware FIFOs.

On another note I have been using the GTT for a year now as a proof of concept testbed. I would like to use it in my company's higher budget specialty diagnostic equipment(used in-house), however capacitive touch would suit my needs a bit better. Any plans on a capacitive model in the future. I would be willing to fork out more than double the price.

Thanks

Phil


Offline
 Profile  
 
 Post subject:
PostPosted: Wed Feb 08, 2012 10:07 am 
Matrix Orbital
Matrix Orbital

Joined: Fri Aug 17, 2007 10:58 am
Posts: 754
Location: Matrix Orbital
No worries Phil,

We're quite flexible with custom units here, if you'd like to swap out the resistive screen for a capacitive one please send an email to design@matrixorbital.ca outlining what you'll need and we'll find a solution.

Thanks,
Troy



_________________
Troy Clark
Technical Support
Matrix Orbital
Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 4 posts ] 

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

cron