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

Pages: 1 [2]

Author Topic: BRT_AN_025 Beta - Portable MCU library for EVE  (Read 9778 times)

korstiaan

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: BRT_AN_025 Beta - Portable MCU library for EVE
« Reply #15 on: September 01, 2020, 08:11:21 AM »

Hi,

I reduced my whole code to:

Code: [Select]
    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_BITMAP_SOURCE(uStartAddressLogo300x300);
    EVE_CMD_SETBITMAP(uStartAddressLogo300x300, EVE_FORMAT_RGB565, 300, 300);
    EVE_BEGIN(EVE_BEGIN_BITMAPS);
    EVE_VERTEX2F(currentx * 16, currenty * 16);
    EVE_END();
    EVE_DISPLAY();
    EVE_CMD_SWAP();
    EVE_LIB_EndCoProList();
    EVE_LIB_AwaitCoProEmpty();

And this I execute continuously.
And even this small display list gives problems.
I changed my code for HAL_WaitCmdFifoEmpty to

Code: [Select]
uint8_t HAL_WaitCmdFifoEmpty(void) {
    uint32_t readCmdPointer;
    uint8_t retry = 0;

    // Wait until the two registers match
    do {
        // Read the graphics processor read pointer
        readCmdPointer = HAL_MemRead32(EVE_REG_CMD_READ);
        retry++;

    } while ((writeCmdPointer != readCmdPointer) && (readCmdPointer != 0xFFF) && (retry < 250));

    if (retry == 250) {
        printf("retry HAL_WaitCmdFifoEmpty");
    }

    if (readCmdPointer == 0xFFF) {
        // Return 0xFF if an error occurred
        return 0xFF;
    } else {
        // Return 0 if pointers became equal successfully
        return 0;
    }
}

And I get now and then this retry HAL_WaitCmdFifoEmpty about 10-15 times every time it comes.
Also, when I let I ran al night, the display was frozen in the morning.

Something must be wrong in this library and I don't know what.
It causes the display to block/freeze. (a while loop that won't exit, like the one I already edited or it blocks)

Please help.
Logged

nar

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: BRT_AN_025 Beta - Portable MCU library for EVE
« Reply #16 on: December 09, 2021, 07:25:15 PM »

We are evaluating BT81x for a new project.   Where can we find this library & AN?   

The official links online found here https://brtchip.com/softwareexamples-eve/ return not found.   
Both AN and Source are dead end.  Also BRT_AN_062 links are not found.     We are looking for both BRT_AN_025 &  BRT_AN_062

We have emailed support.us, support.apac & support.emea for 10 days and no reply from any!!  (very assuring!  ???)

We know there is a 3rd-party library out there but per contract, evaluation needs to use original manufacturing toolchain fully before attempting to use external sources.

Thanks
NAR

Hi,

We have a new beta version of a framework for EVE which is designed to be portable across a range of different MCUs. The download includes projects for the following MCUs but you can also use it as the basis of your code on other platforms too.

- BridgeTek FT900
- ST STM32
- Microchip PIC18F
- Espressif ESP32
- TI MSP430
- BeagleBone
- Raspberry Pi

The code currently supports the FT80x and FT81x families of EVE.

Here are the draft document and the beta code project download links:

BRT_AN_025_FT8xx_Portable_MCU_Library_DRAFT.pdf
BRT_AN_025_Source_BETA.zip
(Note: The link in the pdf file for the source code download is not yet active but you can download the code via the link above)

The beta document and code are supplied on an as-is basis and are not guaranteed by BridgeTek.

Coming soon...
- We have almost finished adding the BT81x support to the code and this will be released as an update soon
- We also have a separate application note showing how to port this code to other MCUs, using an NXP K64 as an example.
- We will also be creating further code examples in future using the framework provided in BRT_AN_025

We hope this code helps to get you up and running with EVE on your own MCU. If you have any feedback or questions then please get in touch via support.emea@brtchip.com quoting "BRT_AN_025 feedback" in the email subject.

Best Regards,
BRT Community
Logged

BRT Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 586
    • View Profile
Re: BRT_AN_025 Beta - Portable MCU library for EVE
« Reply #17 on: December 10, 2021, 12:01:26 PM »

Hello Nar,

Thank you for your post.

Just as a note, if you email all three of the support emails address at the same time our spam filter is likely to block the email, in future please support.emea only for any EVE related questions.

Could you please let me know which MCU you are planning on utilizing for your project?
We have split the BRT_AN_025 project into separate folders so that it is easier to distribute to customers.

We are evaluating BT81x for a new project.   Where can we find this library & AN?   

The official links online found here https://brtchip.com/softwareexamples-eve/ return not found.   
Both AN and Source are dead end.  Also BRT_AN_062 links are not found.     We are looking for both BRT_AN_025 &  BRT_AN_062

We have emailed support.us, support.apac & support.emea for 10 days and no reply from any!!  (very assuring!  ???)

We know there is a 3rd-party library out there but per contract, evaluation needs to use original manufacturing toolchain fully before attempting to use external sources.

Thanks
NAR

Best Regards,
BRT Community
Logged

nar

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: BRT_AN_025 Beta - Portable MCU library for EVE
« Reply #18 on: December 10, 2021, 01:29:09 PM »


Thanks.  Not all at the same time.   I think .apac first then 5 days later .emea

Can you please send us the section regarding EVE3/EVE4 & ESP32 (ESP-IDF core)  We are probably going to develop our own library as commands for slaves screens are going to be sent via an external transport protocol so getting your initial ESP32 support even if not complete for BT81x will be helpful.   I see the link for the BETA mentioned before is also not working.  That BETA would be helpful as well.

Thanks
NAR

Hello Nar,

Thank you for your post.

Just as a note, if you email all three of the support emails address at the same time our spam filter is likely to block the email, in future please support.emea only for any EVE related questions.

Could you please let me know which MCU you are planning on utilizing for your project?
We have split the BRT_AN_025 project into separate folders so that it is easier to distribute to customers.

Best Regards,
BRT Community
Logged
Pages: 1 [2]