BRT Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the Bridgetek Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ Bridgetek Support

Please refer to our website for detailed information on all our products - Bridgetek - Bridging Technology

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - jshoemaker

Pages: [1]
1
Hello all,

I am currently working with the FT813 EVE chip on the ME813A-WH50C development board. I am interfacing to it with the ATSAMV71 processor. I have had a great time using the chip for drawing basic shapes, and using the co-processor to draw widgets. There have been no issues in drawing objects. However when attempting to assign tags to these objects, I start running into issues.

My problem is that all tag regions are completely inverted with respect to their drawing position. What I mean by this is if I draw, let us say a slider widget, near the bottom right of the screen, its corresponding tag region will actually be in the top right of the screen. Therefore objects in the middle of the screen are not affected and work correctly.

The X touch location of the objects are not an issue. Only the Y.

I am generally using the TAG command in the following way:

EVE_CoprocessorWrite32(TAG_MASK(1))
EVE_CoprocessorWrite32(TAG(*tag number*))
EVE_CoprocessorWrite32(*EVE_objects to become encapsulated in tag*)
EVE_CoprocessorWrite32(TAG_MASK(0))

If the object is pressed in its now inverted position, everything involving the tag works as expected.

I would also like to note that I used the emulator version of this chip provided by Bridgetek and everything worked fine. There was no inversion in the touch tags.

Another interesting note is according to the FT81X programmer's guide, the bottom right of the screen should be the max in terms of pixel dimensions (2047, 2047). Looking at the raw coordinates of the touch engine, the chip I am using puts this location in the TOP right of the screen.

Things I have tried:
 - The CMD_COLDSTART command to reset to default values in the co processor
 - The CMD_SETROTATE command to rotate the screen. (Option 5 makes the drawn object line up with the tag! But this is unusuable as all the graphical objects are not in the desired rotation)
 - Writing to the display rotation register manually

The FT81X programmers guide says that the CMD_SETROTATE command should rotate the touch matrix as well, but this has not been the case for me. I have tried CMD_SETROTATE(0) for default position. This makes the visually drawn objects in the right position but not the touch locations.
If anyone has any insight into this problem it would be much appreciated.

Thank you

Pages: [1]