General Category > Discussion - EVE

Multi tag problem

(1/4) > >>

JuSil:
Hello
I have problem with multi tag functionality. The Display is Riverdi Eve4 RVT70HSBNWC00-B
I changed my working one touch ( tag ) system to multi touch. But I can't get it work.

Any touch makes an interrupt and code starts to write tag registers (REG_TOUCH_TAG, REG_TOUCH_TAG1....) to array.

So, when I touch my first finger to Button1 (tag1)  array is [1,0,0,0,0]
Second finger Button2 (tag2)  array is [1,2,0,0,0]

Then I take first finger off Button1(tag1)  array is [1,0,0,0,0] , why is this? My only finger touches button2

Seems that when I take off any finger from the display, the last array value goes to 0 
 




JuSil:
Hello,
Can someone make a test program and just put

CLEAR(1, 1, 1)
CMD_KEYS(10, 10, 500, 90, 29, 0, "12345")

5 keys to the screen.
and check what happens in  REG_CTOUCH_TOUCH_TAG registers.
Polling code below ( simpler version of my code)

    uint32_t address = REG_CTOUCH_TOUCH_TAG;
    uint8_t tag[5] = 0;

    for(uint8_t i = 0 ; i < 5;i++)
    {
        Tag = EVE_MemRead8(address);
        address += 8;
    }     
    printf("Tag %x %x %x %x %x\r\n",Tag[0],Tag[1],Tag[2],Tag[3],Tag[4]);

What happens in my solution is:

when I press “1”
output is (hex): Tag 31 0 0 0 0

Then second finger to “3”
Tag 31 33 0 0 0

Third finger to “5”
Tag 31 33 35 0 0

Now I take second finger “3” (or any finger off), output is:
Tag 31 33 0 0 0

Thanks in advance



 

Rudolph:
I just tried this with output on the screen and I am getting the same issue.
I additionally printed the REG_TOUCH_XY values.

This is the result with a RVT70HSBNWC00-B using a BT817 and an ILI2132A:

Putting three fingers on:
Tag 1: 0x31 XY: 0x00cf1067
Tag 2: 0x33 XY: 0x018c015f
Tag 3: 0x35 XY: 0x0250016a
Tag 4: 0x00 XY: 0x80008000
Tag 5: 0x00 XY: 0x80008000

Lifting the first finger:
Tag 1: 0x31 XY: 0x00cf1067
Tag 2: 0x33 XY: 0x018c015f
Tag 3: 0x00 XY: 0x80008000
Tag 4: 0x00 XY: 0x80008000
Tag 5: 0x00 XY: 0x80008000

Putting back the first finger:
Tag 1: 0x00 XY: 0x0c20171
Tag 2: 0x33 XY: 0x018c015f
Tag 3: 0x35 XY: 0x0250016a
Tag 4: 0x00 XY: 0x80008000
Tag 5: 0x00 XY: 0x80008000

Lifting the second finger:
Tag 1: 0x00 XY: 0x00c20171
Tag 2: 0x33 XY: 0x018c015f
Tag 3: 0x00 XY: 0x80008000
Tag 4: 0x00 XY: 0x80008000
Tag 5: 0x00 XY: 0x80008000

Putting back the second finger:
Tag 1: 0x00 XY: 0x00c20171
Tag 2: 0x33 XY: 0x0191015a
Tag 3: 0x35 XY: 0x0250016a
Tag 4: 0x00 XY: 0x80008000
Tag 5: 0x00 XY: 0x80008000

This is the result with an EVE3-50G with BT815 and GT911:

Putting three fingers on:
Tag 1: 0x31 XY: 0x00ae016a
Tag 2: 0x33 XY: 0x01800148
Tag 3: 0x35 XY: 0x02540179
Tag 4: 0x00 XY: 0x80008000
Tag 5: 0x00 XY: 0x80008000

Lifting the first finger:
Tag 1: 0x00 XY: 0x80008000
Tag 2: 0x33 XY: 0x01800148
Tag 3: 0x35 XY: 0x02540179
Tag 4: 0x00 XY: 0x80008000
Tag 5: 0x00 XY: 0x80008000

Putting back the first finger, lifting the second:
Tag 1: 0x00 XY: 0x0d101620
Tag 2: 0x00 XY: 0x80008000
Tag 3: 0x35 XY: 0x02540179
Tag 4: 0x00 XY: 0x80008000
Tag 5: 0x00 XY: 0x80008000

Unfortunately I have no BT817 module with a different touch-controller, at least none I can test with on the spot.

BRT Community:
Hi,

We will also try your experiment on our module (ME817EV with Focaltech-based screen) and will let you know the result,

Best Regards, BRT Community

BRT Community:
Hi,

We tried with an ME817EV with RiTFT-70H-CAP (I believe it has FT5426) and the touches/tags remained in the correct positions so long as the touch was held (e.g. on the second and third fingers when repeating your test).

It is difficult to be sure what is happening in your trial with other CTP but it may be, for example, that a pen-up is reported for some or all other points and so EVE is seeing a momentary release of all fingers and so even the ones which are held on the screen are seen to change.

I'll see if we have any others but is it possible for you to capture the respective waveform on the I2C and interrupt lines and we can see what may be happening?

Best Regards, BRT Community



Navigation

[0] Message Index

[#] Next page

Go to full version