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 ... 15 16 [17] 18 19 ... 50
241
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

242
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

243
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


244
Hello,


Hello,

I am now more leaning towards changing my controller to stm32 as that will support EVE Screen Designer.
Can you please help me suggesting the latest controller that I should select to match with my display and with EVE Screen Designer project that can include animations, UART comm. with main controller and may be update firmware over uart if required. Can you please suggest one?


Sorry, just to clarify are you looking for a recommendation on which STM32 controller you should utilze?

Please also note when utilizing the STM32 with ESD you will still be required to manually port the code output from ESD to the STM32, you cannot directly upload the code produced from ESD to the controller.

Best Regards,
BRT Community

245
General Discussion / Re: How to read REG_ID register
« on: January 10, 2022, 11:10:01 AM »
Hello,

Could you post an example of a short display list that you have created which shows the issue?

Best Regards, BRT Community


246
Discussion - EVE / Re: Multi tag problem
« on: January 05, 2022, 06:20:37 PM »
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




247
Discussion - EVE / Re: Standby mode
« on: December 23, 2021, 10:06:08 AM »
Hello,

This will depend on the LCD itself and whether it can keep the last image when receiving no new data. The behavior seen may vary between different types/makes of LCD panel.

One consideration in any case would be whether the standby mode is necessary? The power used by EVE would probably be a lot less than the power taken by the LCD and backlight and so reducing the EVE consumption may not be a big overall saving if you will be keeping these on. Putting EVE to a low power state and the LCD/backlight would offer a bigger saving.

If you keep EVE and the LCD in active state, EVE will hold the last display list and so if your main aim is to hold the image without needing to communicate with the display part of the system then keeping EVE and the LCD active would achieve this.

Best Regards, BRT Community


248
Discussion - EVE / Re: Multi tag problem
« on: December 22, 2021, 11:40:46 AM »
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

249
Hello,

Yes Rudolph is correct EAB lists the flash size in mega-bytes whilst flash siszes are denoted in mega-bits.

For example the W25Q128JVSIQ included on the VM816C modules produces the following output in EAB (see attached).

Best Regards,
BRT Community

250
Discussion - EVE / Re: Unwanted stripes on the EVE4 1024x600 picture
« on: December 20, 2021, 03:07:12 PM »
Hello,

EAB 2.1,0 RC2 can still be downloaded from the following:
https://brtchip.com/wp-content/uploads/Utilities/EVE-Asset-Builder-setup-2.1.0-rc2.zip

Best Regards,
BRT Community


251
Discussion - EVE / Re: Standby mode
« on: December 20, 2021, 01:41:28 PM »
Hello,

Yes when the graphics core is placed into STANDBY it will not be driving the display pins on the IC, thus it appears as if the display has turned off. Unfortunately if your require the last screen to be persistent on the LCD panel the only way to guarantee this is by keeping EVE in the ACTIVE state.

Best Regards,
BRT Community

252
Discussion - EVE / Re: Standby mode
« on: December 20, 2021, 11:55:46 AM »
Hello,

Thank you for your question, when the device is placed into standby mode the system clock applied to the graphics core is disabled, however the previous screen may persist on the LCD panel. As such we would recommend issuing a blank screen to EVE before issuing any power state host commands to the IC.

Code: [Select]
    ramDisplayList = RAM_DL;                                                    // start of Display List
    EVE_MemWrite32(ramDisplayList, 0x02000000);                                 // Clear Color RGB sets the colour to clear screen to

    ramDisplayList += 4;                                                        // point to next location
    EVE_MemWrite32(ramDisplayList, (0x26000000 | 0x00000007));                  // Clear 00100110 -------- -------- -----CST  (C/S/T define which parameters to clear)

    ramDisplayList += 4;                                                        // point to next location
    EVE_MemWrite32(ramDisplayList, 0x00000000);                                 // DISPLAY command 00000000 00000000 00000000 00000000 (end of display list)

    EVE_MemWrite32(REG_DLSWAP, DLSWAP_FRAME);                                   // Swap display list to make the edited one active


Best Regards,
BRT Community

253
Discussion - EVE / Re: BT818 PCLK settings
« on: December 20, 2021, 11:35:22 AM »
Hello,

On our development boards we utilize the Abracon LLC - "ABM8G-12.000MHZ-18-D2Y-T" 12Mhz 18pF crystal.

Best Regards,
BRT Community

254
General Discussion / Re: How to read REG_ID register
« on: December 16, 2021, 02:37:40 PM »
Hi,

Which format is your ARGB1555 image in? Is it the raw data (e.g. the .raw or .rawh from EVE Asset Builder) or is it a bin file which you are inflating with CMD_INFLATE?

Best Regards, BRT Community

255
Hello,

I will assume in this case that you have utilized the flash image provided in these example on your board.

After review of your code it appears that the VERTEX_FORMAT and COLOR_RGB commands are responsible for the on screen behavior you are seeing (see attached image).

I would suggest adding a COLOR_RGB (white) command to your code before you issue the FLASH_SOURCE and LOADIMAGE commands, i would also suggest utilizing VERTEX2II when placing the bitmaps on the screen for testing currently.


Best Regards,
BRT Community

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