{"id":21849393,"url":"https://github.com/iliasam/stm32_displaylink","last_synced_at":"2025-04-14T14:54:25.963Z","repository":{"id":37461357,"uuid":"504939782","full_name":"iliasam/STM32_DisplayLink","owner":"iliasam","description":"Connecting USB-VGA adapter to STM32","archived":false,"fork":false,"pushed_at":"2022-06-21T21:49:58.000Z","size":6983,"stargazers_count":30,"open_issues_count":0,"forks_count":11,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-28T03:51:09.139Z","etag":null,"topics":["displaylink","lvgl","stm32"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iliasam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-18T20:04:09.000Z","updated_at":"2025-02-13T21:35:22.000Z","dependencies_parsed_at":"2022-07-12T14:30:39.817Z","dependency_job_id":null,"html_url":"https://github.com/iliasam/STM32_DisplayLink","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iliasam%2FSTM32_DisplayLink","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iliasam%2FSTM32_DisplayLink/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iliasam%2FSTM32_DisplayLink/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iliasam%2FSTM32_DisplayLink/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iliasam","download_url":"https://codeload.github.com/iliasam/STM32_DisplayLink/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248901559,"owners_count":21180448,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["displaylink","lvgl","stm32"],"created_at":"2024-11-28T00:12:47.285Z","updated_at":"2025-04-14T14:54:25.931Z","avatar_url":"https://github.com/iliasam.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# STM32_DisplayLink\nConnecting USB-VGA adapter to STM32  \n  \nThis is an example how to connect VGA display to STM32 using cheap DisplayLink adapter.  \nDisplayLink is a kind of USB video card with internal framebuffer RAM, \nso you can connect such adapter to the USB HOST of your MCU and get a big display for your STM32.  \n  \nSee video: https://www.youtube.com/watch?v=bcdXBnMFIVg  \n  \n![Alt text](Photo/Photo1.jpg?raw=true \"Image\")  \n  \nOnly USB 2.0 version of adapters is supported in code.  \nOf course, your STM32 will need to have USB HOST hardware. STM32 MCUs have only Full-Speed internal USB, so data transfer rate is limited ~1 Mbyte/s.  \nFor updating VGA screen with 640x480 resolution you will need to send ~0.6 MByte of data, which means that FPS will be very low.  \nDiplayLink adapter supports RLE data coding, which can be helpful to increase FPS.  \n\nAll code is written for STM32F4-Discovery (MB997B), HAL is used here. Notice that newer PCB revisions have other accelerometer model.  \n  \nOnly one resolution is supported: 640x480, if you need another you need to change (XRES, YRES) defines and take another configuration \narray data from here: https://github.com/floe/tubecable/blob/master/doc/dldemo.c instead of \"dl_register_init_640x480\".  \n\nThere are two projects in this repo: BasicTestSrc and LVGL_Src.  \nOne is simple drawing static image and another is displaying GUI using LVGL.  \nSee more information about those projects in their Readme files.  \n  \nYou can set USBH_DEBUG_LEVEL define in \"usbh_conf.h\" to 3U value to get USB debug information (using Semihosting in IDE).  \n  \nTested only with 0x17E9 \u0026 0x024B device.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filiasam%2Fstm32_displaylink","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Filiasam%2Fstm32_displaylink","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filiasam%2Fstm32_displaylink/lists"}