Multimedia Expansion Board II (MEB II) Demonstrations MPLAB Harmony Integrated Software Framework Copyright (c) 2013-2017 Microchip Technology Inc. All rights reserved.
MEB II Demonstrations Demonstrations gfx_cdc_com_port_single MEB II Demonstrations This topic provides descriptions of the Multimedia Expansion Board II (MEB II) demonstrations. MPLAB Harmony is available for download from the Microchip website by visiting: http://www.microchip.com/mplabharmony. Once you are on the site, click the Downloads tab to access the appropriate download for your operating system. For additional information on this demonstration, refer to the Applications Help section in the MPLAB Harmony Help. Introduction MEB II Demonstration Applications Help This distribution package contains a variety of MEB II-related firmware projects that demonstrate the capabilities of a various MPLAB Harmony stacks. This help file describes the hardware requirement and procedures to run these firmware projects on Microchip demonstration and development boards. To learn more about MPLAB Harmony stacks and libraries refer to the related documentation in Volume IV: MPLAB Harmony Framework Reference. Demonstrations This topic provides information on how to run the MEB II demonstration applications included in this release. gfx_cdc_com_port_single This demonstration application creates a GFX USB CDC Device that enumerates as a single COM port on the host personal computer. The application demonstrates two-way communication between the USB device and the personal computer host. The application allows the user to enter keypad digits and a backspace from a PC host USB/Serial program to the GFX UI keypad edit box display. Graphics Library Demonstration. To build this project, you must open the gfx_cdc_com_port_single.x project in MPLAB X IDE, and then select the desired configuration. <install-dir>/apps/meb_ii/gfx_cdc_com_port_single. Name gfx_cdc_com_port_single.x <install-dir>/apps/meb_ii/gfx_cdc_com_port_single/firmware 2013-2018 Microchip Technology Inc. MPLAB Harmony v2.05.01 2
MEB II Demonstrations Demonstrations gfx_camera gfx_camera Provides information on the gfx_camera demonstration and application requirements. The gfx_camera demo (apps/meb_ii/gfx_camera/firmware/gfx_camera.x) exercises the Omnivision camera sensor running on the MEB II. It utilizes LCC graphics with the DMA of the PIC32 to bring graphics from a camera sensor to an LCD without the need of a graphics controller. Application Process Prior to running the demonstration, an application needs to perform the following steps: 1. The system should have completed necessary setup initializations. 2. The I2C driver object should have been initialized by calling DRV_I2C_Initialize. 3. The Timer driver object should have been initialized by calling DRV_Timer_Initialize. 4. The Output Control driver object should have been initialized by calling DRV_OC_Initialize. 5. The Camera OVM7690 driver object should have been initialized by calling DRV_CAMERA_OVM7690_Initialize. 6. Open the Camera OVM7690 driver client by calling DRV_CAMERA_OVM7690_Open. 7. Pass the Graphics Frame buffer address to Camera OVM7690 Driver by calling DRV_CAMERA_OVM7690_FrameBufferAddressSet. 8. Set the Frame Rectangle area by calling DRV_CAMERA_OVM7690_FrameRectSet. 9. Set Other Camera settings such as: soft reset, enabling pclk, enabling href, enabling vsync, output color format, reversing HREF polarity, gating clock to the HREF, pixel clock frequency, sub-sampling mode by calling DRV_CAMERA_OVM7690_RegisterSet. 10. Start the Camera OVM7690 by calling DRV_CAMERA_OVM7690_Start. Graphics Library Demonstration. To build this project, you must open the gfx_camera.x project in MPLAB X IDE, and then select the desired configuration. <install-dir>/apps/meb_ii/gfx_camera. Name gfx_camera.x <install-dir>/apps/meb_ii/gfx_camera/firmware 2013-2018 Microchip Technology Inc. MPLAB Harmony v2.05.01 3
MEB II Demonstrations Demonstrations gfx_web_server_nvm_mpfs gfx_photo_frame This demonstration application shows the capabilities of GFX, USB middleware, and the SQI. In this demonstration, off-chip SQI Flash memory (SST26VF032) is used as a medium to store images through the USB-CDC, XMODEM protocol, and then render those images on the MEB II display through the GFX Stack. The demonstration includes four example WQVGA-aligned images, which are downloaded onto the SQI Flash at different locations, and then displayed on the screen through COM port commands and also rendered as slides through push button. Graphics Photo Frame Demonstration. To build this project, you must open the gfx_photo_frame.x project in MPLAB X IDE, and then select the desired configuration. <install-dir>/apps/meb_ii/gfx_photo_frame. Name gfx_photo_frame.x <install-dir>/apps/meb_ii/gfx_photo_frame/firmware gfx_web_server_nvm_mpfs The GFX TCP/IP NVM MPFS web server demonstration (apps\meb_ii\gfx_web_server_nvm_mpfs\firmware\pic32_eth_web_server.x) exercises the HTTP web server running on PIC32 devices. The Non-Volatile Memory (NVM) Microchip Proprietary File System (MPFS) web server demonstration has the web pages stored in internal Flash and accessed through the MPFS API. The IP Address of the IP address of the Web server is displayed on the Graphical UI. 2013-2018 Microchip Technology Inc. MPLAB Harmony v2.05.01 4
MEB II Demonstrations Demonstrations gfx_web_server_nvm_mpfs Graphics Web Server NVM MPFS Demonstration. To build this project, you must open the pic32_eth_web_server.x project in MPLAB X IDE, and then select the desired configuration. <install-dir>/apps/meb_ii/gfx_web_server_nvm_mpfs. Name pic32_eth_web_server.x <install-dir>/apps/meb_ii/gfx_web_server_nvm_mpfs/firmware 2013-2018 Microchip Technology Inc. MPLAB Harmony v2.05.01 5
Index Index B 2, 3, 4, 5 MEB II Demonstrations (gfx_camera) 3 MEB II Demonstrations (gfx_cdc_com_port_single) 2 MEB II Demonstrations (gfx_photo_frame) 4 MEB II Demonstrations (gfx_web_server_nvm_mpfs) 5 D Demonstrations 2 MEB II Demonstrations 2 G gfx_camera 3 gfx_cdc_com_port_single 2 gfx_photo_frame 4 gfx_web_server_nvm_mpfs 4 I Introduction 2 MEB II Demonstrations 2 M MEB II Demonstrations 2 2013-2018 Microchip Technology Inc. MPLAB Harmony v2.05.01 6