element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
RoadTests & Reviews
  • Products
  • More
RoadTests & Reviews
Blog Bridgetek Embedded Video Engine ME817EV - Initial findings
  • Blog
  • RoadTest Forum
  • Documents
  • RoadTests
  • Reviews
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join RoadTests & Reviews to participate - click to join for free!
  • Share
  • More
  • Cancel
  • Author Author: obones
  • Date Created: 23 Aug 2021 9:41 AM Date Created
  • Views 1711 views
  • Likes 6 likes
  • Comments 13 comments
Related
Recommended
  • me817ev bt817 evaluation board
  • roadtest:

Bridgetek Embedded Video Engine ME817EV - Initial findings

obones
obones
23 Aug 2021

I am thrilled to have been selected to  roadtest the BT817 chip and while it has only been 4 days since I received it, I wanted to share some information early on as it may help other people working with the evaluation board.

Once I have worked for a longer time with it I will of course submit a thorough review.

 

In the package we received was the ME817EV evaluation board and a 7 inches display from Riverdi, labeled RiTFT-70-CAP-UX on the packing list.

 

image

 

Plugging the ribbon connectors is quite straightforward, there is only one 50 pin connector for the large one, and the datasheet for the board mentions using CN2 for Riverdi compatible touch layers.

image

 

Bridgetek provides extensive demo applications for their EVE family on their website: https://brtchip.com/SoftwareExamples-eve/

It is very nice to find Visual Studio projects inside them, this means I did not have to install a whole new IDE but rather be able to use one that I’m quite comfortable with.

More surprising to me was the presence of projects targeting an emulator. This allowed me to start fiddling with the API even before receiving the board. The sample app showcases many aspects of the chipset and toolchain, as can be seen in this video:

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

Having now received the board, I decided to try to run the same sample app via the FT4222 USB to QSPI converter available on the board.

Reading both section 5.4 and 5.5 of the datasheet that describe the connection process, I came up with the below set of steps as I want to power using a USB power adapter and connect to my computer via a secondary USB cable:

 

  • On SW2, set all 8 positions to ON. On SW1 set all positions to OFF
  • Open JP1
  • Plug a USB Type-C cable into USBC1 with the other end into a power adapter delivering at least 1.5A
  • Trim variable resistors VR1-VR4 to get required LCD biasing voltages as: AVDD=9.6V, VGL=-6V, VGH=18V, VCOM=3.8V.
  • Un-plug the USB Type-C cable to remove the power
  • Connect the LCD display 50-pin FPC cable to CN1
  • Connect the LCD touch 10-pin FPC cable to CN2
  • Plug the USB Type-C cable in CN11-USBC2 connector, with the other end plugged to PC USB port
  • Plug the USB Type-C cable in CN6-USBC1 connector to turn on the power

 

After doing so, you should see your computer react to a newly discovered device.

 

You can now open the SampleApp_MSVC solution file, that is configured out of the box to talk to the ME817EV board via FT422 as shown in the screen capture inside the datasheet.

Running it directly may fail with the following exception:

 

image

 

But if you go in the OS hardware manager you actually see both FT4222 A and FT4222 B devices.

As it turns out, this comes from the fact that the FT4222 abstraction layer code is looking for both devices but wrongfully assumes that the B device comes after A one inside the list of devices given by Windows itself.
In my case, this is not the case, leading to the above failure.

To fix this, I had to modify the EVE_HalImpl_open method from the EVEHAlImpl_FT4222.c file:

 

First, make sure deviceIdxB is initialized to s_NumDevsD2XX at line 331

Then, change the loop looking for the B device (line 360) to use a local variable and make it go through all devices, not just those above deviceIdxA, like this:

 

             for (DWORD candidateDeviceIdx = 0; candidateDeviceIdx < s_NumDevsD2XX; ++candidateDeviceIdx)

             {

                    if (candidateDeviceIdx != deviceIdxA)

                    {

                           memset(&devInfoB, 0, sizeof(devInfoB));

                           status = FT_GetDeviceInfoDetail(candidateDeviceIdx,

                               &devInfoB.Flags, &devInfoB.Type, &devInfoB.ID, &devInfoB.LocId,

                               devInfoB.SerialNumber, devInfoB.Description, &devInfoB.ftHandle);

                           if (status != FT_OK)

                                  continue;

                           if (!strcmp(devInfoB.Description, "FT4222 B"))

                           {

                                  deviceIdxB = candidateDeviceIdx;

                                  break;

                           }

                    }

             }

 

With the above fix applied, you can now run with the provided display but you will get this kind of weird rendering, completely different from what we see in the emulator:

 

image

 

Initially, I thought I did not give the proper bias voltage, or that I made a bogus connection on the flex connector. But then I remembered about the third define in the MSVC project properties: EVE_DISPLAY_WVGA

Doing a global search on the project files lead to EVE_Config.h at line 126 which shows us that this define is for a 800x480 display. This value matches the resolution indicated on the webpage for the RiTFT-70-CAP-UX display: https://riverdi.com/product/ritft70capux/

 

But looking on the back of the panel itself is a technical reference: RVT70ASTFWC00

Riverdi’s website did not give a direct answer for this reference number but the search results gave a first page with only 7 inches displays, all offering a 1024x600 resolution.

 

Going back to the project options in MSVC, I changed the last define to now be EVE_DISPLAY_WSVGA (notice the additional S) and sure enough, we now have a valid display:

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

Note that the display may seem a bit blury/glary, that’s because I have not yet removed the protective sheet that it comes with.

 

What you may notice quite quickly is that the demo behaves a bit differently from what it does in the emulator.

I investigated the first difference (the bouncing ball) and it comes from the demo app itself that appears to have only be tested with a 800x480 display. Adjusting the code to take into account a larger display allowed to fix the issue.

I did not investigate further the other glitches, but I believe they have a similar origin.

 

Now that I have a working demo, I can now move on to the idea that I submitted in my roadtest application: connect to an ESP32 that retrieves a sitemap from openHAB and displays the appropriate widgets to control various devices.

Progress on that project can be followed via my GitHub repository for this project: EVEopenHAB

  • Sign in to reply

Top Comments

  • misaz
    misaz over 3 years ago +1
    Hi, I was also selected as a roadtester and I also evaluate this board at this time. In my case FTDI detection worked well and I did not need to modify any code except resolution definition in project…
  • obones
    obones over 3 years ago in reply to misaz +1
    Thanks, that is nice to figure out the meaning of this code.
  • misaz
    misaz over 3 years ago in reply to varpg28 +1
    Hi, you will need small screwdriver. There are 4 small trimmers in following locations: Near to every trimmer there are small test points. As a ground for voltmeter you can use GND on pinhead or almost…
  • misaz
    misaz over 3 years ago in reply to varpg28

    Board has no speaker. If you want to hear sound you must connect speaker using highlighted connector on following image:

    image

     

    Connector is 1.5 mm pitch. I am waiting for connectors from Aliexpress to check for this feature, but for now I have no experiences with it.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • varpg28
    varpg28 over 3 years ago in reply to misaz

    It's working awesomely. One more doubt, I am unable to hear sound from the board, are any setting to be changed for this also?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • misaz
    misaz over 3 years ago in reply to varpg28

    Have you updated EVE_DISPLAY_WVGA constant to EVE_DISPLAY_WSVGA constant? These constant defines display resolution. WVGA which is project default is 800x480, but you need 1024x600.

     

    You can reconfigure this constant in Visual Studio, by right clicking project in Solution Explorer window, than clicking Properties:

     

    image

    Then in menu go to C/C++ > Preprocessor and in Processor Definitions field edit constant name. Constant is defined at the end of line.

    image

    Then confirm dialog window. Recompile project and try running.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • misaz
    misaz over 3 years ago in reply to varpg28

    Please post photo. Preferably with marked (for example by red line in Microsoft Paint) what do you consider as an issue. My display have small border but this is not significant and it is not backlighted.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • varpg28
    varpg28 over 3 years ago

    imageimage

    On display being powered on and running a few sample apps, the display shows issues, there is a huge patch on left side where display isn't visible when tested but lights up when switched on. Can someone help me resolve this issue

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube