Search found 9 matches

by sean173
Sat Jun 15, 2024 8:44 am
Forum: GTT Designer
Topic: Conditionally display a button or disable it's visibility
Replies: 1
Views: 14925

Conditionally display a button or disable it's visibility

Hello,

is there a way in GTT Designer 2.5 to conditionally display a button or to disable it's visibility when another button has been pressed?

I would like to have one 'master' button cause a number of other buttons to show up on the display when the 'master' button is pressed and then have the ...
by sean173
Tue May 14, 2024 6:21 pm
Forum: GTT Series
Topic: Touch reporting over I2C
Replies: 5
Views: 18679

Re: Touch reporting over I2C

Hi Raquel,

I was having some success reading and writing to the scratchpad register and drawing traces on the screen by updating individual pixels using the very basic commands in the Protocol Manual alone. But after reading the Developer Manual and output code from GTT Designer I get the ...
by sean173
Wed May 08, 2024 9:08 pm
Forum: GTT Series
Topic: Touch reporting over I2C
Replies: 5
Views: 18679

Re: Touch reporting over I2C

Hi Raquel,

Thanks for the suggestions. I looked through the example code and it was informative. What interested me was the following functions, as I am trying to do something similar with my code:

gtt_setup_region() // sets up a touch region, should default to 'active on completion' according to ...
by sean173
Tue May 07, 2024 8:02 pm
Forum: GTT Series
Topic: Touch reporting over I2C
Replies: 5
Views: 18679

Touch reporting over I2C

Hello, I have a GTT70A and am communicating with it over I2C.

Since I2C is a master driven protocol and my microcontroller is the master and the LCD is the slave, what query or command do I need to send to fetch any touch events that may have happened from the LCD?

I can see that in the protocol ...
by sean173
Tue Apr 16, 2024 8:48 pm
Forum: GTT Series
Topic: GTT70 TTL Tx / Rx flip
Replies: 9
Views: 25591

Re: GTT70 TTL Tx / Rx flip

Hi Raquel,

Success! I was able to use the I2C bus decoding feature of my oscilloscope software to decode quickly and concisely the transactions going on and I have it mostly working....well enough I guess. This plot shows the {254, 55} command to fetch the module ID. I thought it should be 37636 ...
by sean173
Fri Apr 12, 2024 6:07 pm
Forum: GTT Series
Topic: GTT70 TTL Tx / Rx flip
Replies: 9
Views: 25591

Re: GTT70 TTL Tx / Rx flip

I am having difficulty with my I2C master interface getting it to respond for a read operation after reading your last post and attempting to follow it carefully.

1. I can set the communications channel to I2C with 254 5 2 as you pointed out and get an ACK.

2. I can follow this up with a write ...
by sean173
Sat Apr 06, 2024 10:12 am
Forum: GTT Series
Topic: GTT70 TTL Tx / Rx flip
Replies: 9
Views: 25591

Re: GTT70 TTL Tx / Rx flip

Hi Raquel,

Thank you for your help, I did some further testing on the I2C bus and tried the following commands which resulted in an ACK, but no response on the I2C bus:
{254, 0}; // get module protocol revision
{254, 55}; // get module type, should be 37636d = 1001 0011 0000 0100
The second ...
by sean173
Tue Apr 02, 2024 9:50 pm
Forum: GTT Series
Topic: GTT70 TTL Tx / Rx flip
Replies: 9
Views: 25591

Re: GTT70 TTL Tx / Rx flip

Hi Raquel,

I will try to turn off flow control with 254 58 0 as you suggest.

I tried using the I2C interface and didn't receive an ack bit (asserted low) as I would have expected when doing a read or a write request. I have attached a screen shot of SDA and SCL lines during this transaction. As ...
by sean173
Thu Mar 28, 2024 7:23 pm
Forum: GTT Series
Topic: GTT70 TTL Tx / Rx flip
Replies: 9
Views: 25591

GTT70 TTL Tx / Rx flip

Hello,

I am having trouble getting any return message out of my GTT70A-TPC-BLM-B0-H1-CT-V5. I can send text to the display and it displays it, but when I attempt to use the echo command (254 255) or the get protocol revision (254 0) I get only a constant 3.3V high activity on the Tx line coming ...