A cheap RGB to VGA adapter. You can make STM32 (or other MCU/MPU with LTDC controller) directly drive standard VGA display devices (not limited to monitors, but also TVs, projectors, etc.). Solve the problem of MCU screen not being big enough, not cool enough, not beautiful enough at once. Supports the RGB screen interface of Punctual Atom and Wildfire.
Please make sure you understand the timing of the RGB interface protocol and the timing of the VGA interface protocol. If you don’t understand, please refer to this video: [Bilingual] This may be the worst graphics card in the world - Bilibili Animation
Select a resolution and refresh rate you want to output from this web page VGA Signal Timing . This needs to be based on your MCU performance, memory size and monitor support. For example, STM32 supports up to XGA resolution. In addition, a high refresh rate will greatly occupy the bus resources of the MCU, causing the speed of the MCU to run other codes to seriously decrease. The recommended resolution here is 800x600@60Hz. After testing, STM32F429 with this resolution can be driven normally.
After determining the resolution and refresh rate, we click on the corresponding link, which contains the corresponding timing:
Here we take STM32F429 as an example. It is recommended to use CubeMX, which can make this work much easier. First, set the frequency of the LTDC controller to the Pixel freq of the VGA signal timing
Continue to set the timing parameters of LTDC according to the selected VGA signal timing parameters:
Generate a corresponding project based on the Pinout relationship of your board, or write down the parameters and modify your code manually. Burn program. Then connect the module to your development board and you're done!
There is a demo project in the attachment, which is adapted to the Wildfire F429V1 core board. Take it and use it.
800x600@60Hz
The screen in the picture is atomic. After using this module to transfer it, it can be used on Yehuo's development board.
The development board is installed under the module, and the model is Wildfire F429V1 (again, this model is not recommended)
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet