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.

Messages - BRT Community

Pages: 1 ... 14 15 [16] 17 18 ... 50
226
Discussion - EVE / Re: Where can I download "FNT_CVT.EXE" utility?
« on: February 17, 2022, 11:13:27 AM »
Hello,

EVE Asset Builder is used to generate assets for EVE ICs including file conversion of images, audio and fonts. You can download the installation package from: https://brtchip.com/ic-module/toolchains/

Best regards

BRT Community

227
Discussion - EVE / Re: ESD (4.14.0) - Eclipse Exported (Flash files)
« on: February 07, 2022, 03:45:41 PM »
Hello Darren,

Thanks for your update, we are currently looking into this and will update you as soon as possible,

Best Regards, BRT Community

228
General Discussion / Re: How to read REG_ID register
« on: February 07, 2022, 03:12:23 PM »
Hi,

We can capture and post an example of a waveform,

One thing to check in the meantime is whether your CTP gives a low pulse on INT when you touch the screen. This low on the INT line tells the I2C Master (EVE) to generate clocks to read the data.

Also, are you using it in compatibility mode (which is set by default) rather than multi-touch?

Is your screen part of a full module (e.g. Riverdi EVE 4) or is it a touch screen panel that is separate and which you connect to your own EVE PCB?   

Best Regards, BRT Community


229
Discussion - EVE / Re: ESD (4.14.0) - Build Executable (.dll files)
« on: February 04, 2022, 10:25:52 AM »
Hello,

Thank you for your feedback, I will liaise with the development team to see if we can add this feature into upcoming ESD releases.

Best Regards,
BRT Community

230
Discussion - EVE / Re: BT818 PCLK settings
« on: February 04, 2022, 10:21:46 AM »
Hello,

Yes the manufacture recommends loading capacitors, we utilize 2x 18pF capacitors in our designs.

Best Regards,
BRT Community

231
Discussion - EVE / Re: ESD (4.14.0) - Build Executable (.dll files)
« on: February 03, 2022, 10:22:27 AM »
Hello Darren,

The development team have got back to me on this point.

They note that this is the intentional behavior for a generated MPSSE/Emulator project as they wish users to be aware of these dependencies.
As such users are required  to copy the dependency DLLs(such as ftd2xx.dll) for ESD generated MPSSE/Emulator project.

Best Regards,
BRT Community

232
General Discussion / Re: How to read REG_ID register
« on: February 02, 2022, 03:43:04 PM »
Hello,

From the description of the behavior when running CMD_CALIBRATE it sounds like the touches aren't being registered by EVE.

Can you please clarify the touch controller being used, and as Rudolph has mentioned, please try and take a logic catpure of the I2C lines from the touch controller.

Best Regards,
BRT Community

233
Discussion - EVE / Re: ESD (4.14.0) - Build Executable (.dll files)
« on: February 01, 2022, 01:26:17 PM »
Hello Darren,

thank you for your post.

I have managed to recreate this behavior, I believe that the appropriate DDLs should be copied into the executable folder once the build has completed.

I have passed this onto the development team for review.

Best Regards,
BRT Community

234
Discussion - EVE / Re: BT815 flash storage.
« on: January 31, 2022, 04:57:11 PM »
Hello,

In your code, are you checking that the flash command completes before you run the next command?  You should check that the flash command completes as this will help account for differences in the speeds etc.

As Rudolph mentioned, the command plus 4K of data will overrun the FIFO if sent as a burst (as the circular FIFO is only 4K) and so sending the command followed by the data in chunks can help. If you send the command followed by a smaller chunk of data, and then check for sufficient free space before feeding more data to the FIFO.

You can check for the read and write pointer of the RAM_CMD becoming equal (REG_CMD_READ == REG_CMD_WRITE) after the overall flash command to ensure it has completed.

There are many factors which may affect the flash programming speed and so having a fixed delay without checking for completion or free space brings a risk that you may overwrite the data or command whilst it is still executing.

Best Regards, BRT Community

235
Discussion - EVE / Re: Line vs text or number
« on: January 21, 2022, 12:06:26 PM »
Hi,

Most of these items are positioned by the pixel rather than by 1/16th. When used in code examples, you will see that Vertex2F has the value multiplied by 16 e.g. VERTEX2F(20*16, 20*16) to place something at coordinate 20,20. Note that you can actually also display numbers and letters using VERTEX2F as they are made up of a series of images (one per character).

Also note that using the text command does all the character spacing etc for you. If you use Vertex2F this only places 1 character per vertex and so to make a string of characters you will need to call a Vertex2f per character.

It is possible to just add a value to the x coordinate each time but if you want the text to look proportional (and so spacing between each char related to the width of the char) then you can use the metric block data/font properties which is in the EVE chip. For numbers you might want a fixed position for each number so that the whole number does not move around and change in length (e.g. a 1 is narrower than an 8 ) but for text, having a constant spacing between characters may not look as good.

Best regards

BRT Community

236
Discussion - EVE / Re: Multi tag problem
« on: January 20, 2022, 02:17:06 PM »
Hi,

Just to update, we were able to get the same 7" panel and have been doing some testing as we can see the same happen, Riverdi are looking into it,

Thanks to you both for reporting the problem and for all your help in investigating and gathering the data,

Best Regards, BRT Community


237
General Discussion / Re: How to read REG_ID register
« on: January 20, 2022, 02:11:25 PM »
Hi,

Here is a small code example.

It will tag the four circles and so when you hold your finger on them, you should see the corresponding tag displayed by the number command.
We set the clear tag to 100 and so if you touch an area of the screen outside of the circles, you'll get tag 100
With no touch, the tag will read 0

We also mask the tag so that the text and number are not tagged, this is useful if you want to turn off tagging for these after drawing the tagged items  (the tag 13 for the last circle would otherwise also apply to the text and number)

Best Regards, BRT Community


Code: [Select]
   uint8_t Tag = 0;
   
   while(1)
    {
        EVE_LIB_BeginCoProList();                                               // Begin new screen
        EVE_CMD_DLSTART();                                                      // Tell co-processor to create new Display List

EVE_CLEAR_TAG(100);                  // Set tag to 100 for any un-tagged pixels
EVE_CLEAR_COLOR_RGB(0, 0, 0);                                           // Specify color to clear screen to

EVE_CLEAR(1,1,1);                                                       // Clear color, stencil, and tag buffer

EVE_TAG_MASK(1);                                                        // Enable tagging

EVE_BEGIN(EVE_BEGIN_POINTS);
EVE_POINT_SIZE(800);
EVE_TAG(10);
EVE_VERTEX2F((100*16), (100*16));
EVE_TAG(11);
EVE_VERTEX2F((200*16), (100*16));
EVE_TAG(12);
EVE_VERTEX2F((300*16), (100*16));
EVE_TAG(13);
EVE_VERTEX2F((400*16), (100*16));
EVE_END();

EVE_TAG_MASK(1);                                                        // Disable tagging
EVE_CMD_TEXT(100, 200, 28, 0, "The Tag is...");
EVE_CMD_NUMBER(100, 250, 28, 0, Tag);

EVE_DISPLAY();                                                          // Tell EVE that this is end of list
EVE_CMD_SWAP();                                                         // Swap buffers in EVE to make this list active

EVE_LIB_EndCoProList();                                                 // Finish the co-processor list burst write
EVE_LIB_AwaitCoProEmpty();                                              // Wait until co-processor has consumed all commands

Tag = HAL_MemRead8(EVE_REG_TOUCH_TAG);
   }

238
Discussion - EVE / Re: EVE Asset Builder
« on: January 18, 2022, 01:20:28 PM »
Hello,

Any word on a new EAB since all the versions got pulled now back to 2.1?


Currently the latest version of EAB available on our website is version 2.4.1:

https://brtchip.com/ic-module/toolchains/

I will ask the development team for the upcoming release schedule.

Best Regards,
BRT Community

239
Discussion - EVE / Re: Rotating a text
« on: January 14, 2022, 10:14:55 PM »
Hi Obones, Torsten,

Here is a small example of the Bitmap rotation method which you mentioned.

To make it even more universal, you can rotate each letter as a bitmap and use the character width to position each character. This works well for right-angles but for other angles, the step where you calculate the X and Y position of each character relative to the last becomes more complex, and may involve quite a bit of code and trig functions.

For some cases where a random angle is needed and where the word does not constantly change, using a bitmap works well. You could also avoid calculating the widths etc. and hard-code these but using the widths makes sure that the string looks well formatted.

Code: [Select]
EVE_GPU_FONT_HEADER StdFont30;

uint32_t FontByte;
uint16_t FontIndexCounter;
uint32_t FontTableAddress = 0;
uint32_t X = 100;
uint32_t Y = 100;
uint32_t CurrentCharWidth = 0;
uint32_t CurrentCharHeight = 0;
uint8_t offset = 0;
uint32_t angle = 90;
#define FontNum 30


uint32_t StringWidth = 0;
uint32_t StringHeight = 0;
uint32_t SnapWidth = 0;
uint32_t SnapHeight = 0;
uint32_t x_text = 200;
uint32_t y_text = 200;

uint32_t x_coord = 200;
uint32_t y_coord = 200;

// Get the character widths from the ROM font 30
void eve_display(void)
{
FontTableAddress = ((HAL_MemRead32(EVE_ROMFONT_TABLEADDRESS)) + ((FontNum - 16) * FT_GPU_FONT_TABLE_SIZE));

    FontIndexCounter = 0;
    while(FontIndexCounter < 128)
    {
        FontByte = HAL_MemRead8(FontTableAddress + FontIndexCounter);
        StdFont30.FontWidth[FontIndexCounter] = FontByte;
        FontIndexCounter ++;
    }
    FontByte = HAL_MemRead32(FontTableAddress + FontIndexCounter);
    StdFont30.FontBitmapFormat = FontByte;
    FontIndexCounter = FontIndexCounter + 4;

    FontByte = HAL_MemRead32(FontTableAddress + FontIndexCounter);
    StdFont30.FontLineStride = FontByte;
FontIndexCounter = FontIndexCounter + 4;

FontByte = HAL_MemRead32(FontTableAddress + FontIndexCounter);
StdFont30.FontWidthInPixels = FontByte;
FontIndexCounter = FontIndexCounter + 4;

FontByte = HAL_MemRead32(FontTableAddress + FontIndexCounter);
StdFont30.FontHeightInPixels = FontByte;
FontIndexCounter = FontIndexCounter + 4;

FontByte = HAL_MemRead32(FontTableAddress + FontIndexCounter);
StdFont30.PointerToFontGraphicsData = FontByte;

// Write the text Hello and also calculate what width it is based on the characters
EVE_LIB_BeginCoProList(); // Begin co-processor commands
EVE_CMD_DLSTART(); // New display list
EVE_CLEAR_COLOR_RGB(0, 0, 0); // Clear screen to black
EVE_CLEAR(1,1,1); // Clear
EVE_COLOR_RGB(255,255,255); // White color for text
EVE_CMD_TEXT(x_text,y_text, 30, EVE_OPT_CENTER, "Hello"); // Print Hello
// Add up the widths of the characters
StringWidth = (uint32_t) (StdFont30.FontWidth['H'] + StdFont30.FontWidth['e'] + StdFont30.FontWidth['l'] + StdFont30.FontWidth['l'] + StdFont30.FontWidth['o']);// + (StdFont30->FontWidth['e']);// + (uint32_t)(StdFont30->FontWidth["l"]) + (uint32_t)(StdFont30->FontWidth["l"]) + (uint32_t)(StdFont30->FontWidth["o"]);
StringHeight = StdFont30.FontHeightInPixels; // Get the height from the font table
EVE_DISPLAY(); // Finish the display list
EVE_CMD_SWAP();
EVE_LIB_EndCoProList();
EVE_LIB_AwaitCoProEmpty();

// Get the size for our snapshot, ensuring we include the full string
SnapWidth = StringWidth * 2;
SnapHeight = StringWidth * 2;

// Take a snapshot of the area around the text
// Store it at address 0 of RAM_G
EVE_LIB_BeginCoProList();
EVE_CMD_SNAPSHOT2(EVE_FORMAT_ARGB4, 0, (x_text - (SnapWidth/2)), (y_text - (SnapHeight/2)),  SnapWidth, SnapHeight);
EVE_LIB_EndCoProList();
EVE_LIB_AwaitCoProEmpty();

// In this loop, we can constantly rotate the angle to make the word spin round
while(1)
{

if(angle < 360)
angle ++;
else
angle = 0;

EVE_LIB_BeginCoProList();
EVE_CMD_DLSTART();
EVE_CLEAR_COLOR_RGB(0, 0, 0);
EVE_CLEAR(1,1,1);
EVE_COLOR_RGB(255,255,255);

EVE_BEGIN(EVE_BEGIN_BITMAPS);
EVE_BITMAP_SOURCE(0); // Bitmap source is where we stored the snapshot
EVE_BITMAP_SIZE(EVE_FILTER_BILINEAR, EVE_WRAP_BORDER, EVE_WRAP_BORDER,SnapWidth,SnapHeight);
#if (defined EVE2_ENABLE || defined EVE3_ENABLE || defined EVE4_ENABLE)
  EVE_BITMAP_SIZE_H(SnapWidth >> 9, SnapHeight >> 9);
#endif
EVE_BITMAP_LAYOUT(EVE_FORMAT_ARGB4, SnapWidth *2, SnapHeight);
#if (defined EVE2_ENABLE || defined EVE3_ENABLE || defined EVE4_ENABLE)
    EVE_BITMAP_LAYOUT_H((SnapWidth * 2) >> 10, SnapHeight >> 9);
#endif
// Do the rotation
EVE_CMD_LOADIDENTITY();
EVE_CMD_TRANSLATE(65536*(SnapWidth/2),65536*(SnapHeight/2));
EVE_CMD_ROTATE(angle*(65536/360));
EVE_CMD_TRANSLATE(65536*(-SnapWidth/2),65536*(-SnapHeight/2));
EVE_CMD_SETMATRIX();
// Now place the rotated image of the word
EVE_VERTEX2F(x_coord *16,y_coord *16);

EVE_DISPLAY();
EVE_CMD_SWAP();
EVE_LIB_EndCoProList();
EVE_LIB_AwaitCoProEmpty();

MCU_Delay_20ms(); // Prevent it spinning too fast

}
}

Best Regards, BRT Community

240
Hello,


Yes I am looking for recommendation. What could be the best choice of controller to use with ESD so I can speed up my development time.
I would like to just upload the code right from ESD and make the development faster. Any options? Or any best suited process steps to minimize the development timeline?

Thank you.

In this instance I would recommend our FT9XX series of MCUs, these are natively supported in EVE Screen Designer with the generated application code available for direct upload to the MCU without any porting required.

Please see the following page for details on the FT9XX series:
https://brtchip.com/ic-module/applications/mcu/

Development modules are also available:
https://brtchip.com/ic-module/product-category/products/modules/mcu/

Best Regards,
BRT Community


Pages: 1 ... 14 15 [16] 17 18 ... 50