{"id":472,"date":"2017-11-24T23:48:39","date_gmt":"2017-11-24T22:48:39","guid":{"rendered":"http:\/\/mikrocontroller.bplaced.net\/wordpress\/?page_id=472"},"modified":"2017-12-30T19:38:52","modified_gmt":"2017-12-30T18:38:52","slug":"70-stemwin-library-stm32f4","status":"publish","type":"page","link":"https:\/\/mikrocontroller.bplaced.net\/wordpress\/stm32f4\/komplette-library-liste-stm32f4\/70-stemwin-library-stm32f4\/","title":{"rendered":"70-STemWin-Library (STM32F4)"},"content":{"rendered":"<p><div id=\"nav-below\" class=\"navigation\"><div class=\"nav-previous\"><a href=\"https:\/\/mikrocontroller.bplaced.net\/wordpress\/stm32f4\/komplette-library-liste-stm32f4\/69-l298-schrittmotor-library-stm32f4\/\" title=\"69-L298-Schrittmotor-Library (STM32F4)\"><span class=\"meta-nav\">\u2190<\/span> 69-L298-Schrittmotor-Library (STM32F4)<\/a><\/div><\/div><!-- #nav-below --><div id=\"nav-below\" class=\"navigation\"><div class=\"nav-next\"><a href=\"https:\/\/mikrocontroller.bplaced.net\/wordpress\/stm32f4\/komplette-library-liste-stm32f4\/71-am2301-library-stm32f4\/\" title=\"71-AM2301-Library (STM32F4)\">71-AM2301-Library (STM32F4) <span class=\"meta-nav\">&rarr;<\/span><\/a><\/div><\/div><!-- #nav-below --><\/p>\n<p>Diese Library bindet die STemWin (in Version 5.22) ein\u00a0(ohne OS).<\/p>\n<p>\u201cemWin\u201d ist von SEGGER (www.segger.com) und ST hat f\u00fcr seine STM-Familie eine kostenlose vorkompilierte Library dazu ver\u00f6ffenlicht \u201cSTemWin\u201d<\/p>\n<p>Mit \u201cSTemWin\u201d kann eine Windows \u00e4hnliche GUI programmiert werden mit Buttons, Fenstern usw.<\/p>\n<p>Das ganze ist sehr Umfangreich und ich kann hier nicht jede Funktion erkl\u00e4ren. Dazu gibt es viele Dokus im Internet u.a. auch von Segger und ST (einfach mal suchen).<br \/>\nAuf der Internet Seite von Segger gibt es auch viele Beispiel-Programme als \u201cC-Files\u201d f\u00fcr die einzelnen Funktionen die man direkt benutzen kann.<\/p>\n<p>In meinem Beispiel sieht man die Init-Funktion (das ist nur eine Zeile) und danach wird ein Text und ein Button gezeichnet. Wenn man auf dem Button dr\u00fcckt, wird er gel\u00f6scht.<\/p>\n<p>Ich habe alle notwendigen Librarys (LCD, TOUCH) in den emWIN-Ordner kopiert, weil ohne diese Files das ganze eh nicht l\u00e4uft.<\/p>\n<p>Im Moment funktioniert das umschalten auf \u201cLandscape\u201d nicht\u2026aber die restlichen Sachen m\u00fcssten laufen. Ich hab auch ein \u201cShow-Projekt\u201d hochgeladen, mit dem original Demo von ST in dem man ziemlich viele Funktionen zu sehen bekommt.<\/p>\n<p><strong>Beispielbild :<\/strong><\/p>\n<p><a href=\"http:\/\/mikrocontroller.bplaced.net\/wordpress\/wp-content\/uploads\/2013\/12\/stemwin1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-3175\" src=\"http:\/\/mikrocontroller.bplaced.net\/wordpress\/wp-content\/uploads\/2013\/12\/stemwin1-179x300.jpg\" alt=\"stemwin1\" width=\"179\" height=\"300\" \/><\/a><\/p>\n<p><strong>Funktionen :<\/strong><\/p>\n<pre lang=\"c\" line=\"1\">ErrorStatus UB_STemWIN_init(void); \/\/ zum init und start von STemWin<\/pre>\n<p><strong>Beispiel :<\/strong><\/p>\n<pre lang=\"c\" line=\"1\">\/\/--------------------------------------------------------------\r\n\/\/ File     : main.c\r\n\/\/ Datum    : 14.12.2013\r\n\/\/ Version  : 1.0\r\n\/\/ Autor    : UB\r\n\/\/ EMail    : mc-4u(@)t-online.de\r\n\/\/ Web      : www.mikrocontroller-4u.de\r\n\/\/ CPU      : STM32F4\r\n\/\/ IDE      : CooCox CoIDE 1.7.4\r\n\/\/ GCC      : 4.7 2012q4\r\n\/\/ Module   : CMSIS_BOOT, M4_CMSIS_CORE\r\n\/\/ Funktion : Demo der STemWin-Library\r\n\/\/ Hinweis  : Diese zwei Files muessen auf 8MHz stehen\r\n\/\/              \"cmsis_boot\/stm32f4xx.h\"\r\n\/\/              \"cmsis_boot\/system_stm32f4xx.c\"\r\n\/\/--------------------------------------------------------------\r\n\r\n#include \"main.h\"\r\n#include \"stm32_ub_stemwin.h\"\r\n\r\nint main(void)\r\n{\r\n  BUTTON_Handle hButton;\r\n\r\n  SystemInit(); \/\/ Quarz Einstellungen aktivieren\r\n\r\n  \/\/ init und start von STemWin\r\n  UB_STemWIN_init();\r\n\r\n  \/\/ Font einstellen\r\n  GUI_SetFont(GUI_FONT_20F_ASCII);\r\n  \/\/ Text ausgeben\r\n  GUI_DispStringHCenterAt(\"Hello world!\", 80, 20);\r\n\r\n  \/\/ Button-Demo\r\n  while(1)\r\n  {\r\n    GUI_SetFont(&amp;GUI_Font8x16);\r\n    GUI_DispStringHCenterAt(\"Click on button...\", 160, 90);\r\n    \/\/ Create the button\r\n    hButton = BUTTON_Create(110, 110, 100, 40, GUI_ID_OK, WM_CF_SHOW);\r\n    \/\/ Set the button text\r\n    BUTTON_SetText(hButton, \"Click me...\");\r\n    \/\/ Let window manager handle the button\r\n    while (GUI_WaitKey() != GUI_ID_OK);\r\n    \/\/ Delete the button\r\n    BUTTON_Delete(hButton);\r\n    GUI_ClearRect(0, 50, 319, 239);\r\n    GUI_Delay(1000);\r\n  }\r\n}\r\n<\/pre>\n<p>Hier die Library zum\u00a0<strong>Download :<\/strong><\/p>\n<p><a href=\"http:\/\/mikrocontroller.bplaced.net\/wordpress\/wp-content\/uploads\/2013\/12\/ub_stm32f4_stemwin_v100.zip\">ub_stm32f4_stemwin_v100<\/a><\/p>\n<p>Hier der komplette CooCox-Projektordner zum\u00a0<strong>Download :<\/strong><\/p>\n<p><a href=\"http:\/\/mikrocontroller.bplaced.net\/wordpress\/wp-content\/uploads\/2013\/12\/Demo_70_STemWin.zip\">Demo_70_STemWin<\/a><\/p>\n<hr \/>\n<h3 id=\"comments-title\">22 Antworten auf <em>70-STemWin-Library (STM32F4)<\/em><\/h3>\n<ol class=\"commentlist\">\n<li id=\"li-comment-1290\" class=\"comment even thread-even depth-1\">\n<div id=\"comment-1290\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/1.gravatar.com\/avatar\/b894d67379dd0647dd316009f47155d2?s=40&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\">Joerg<\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">22. Januar 2014 um 21:07<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p>Ich habe gegen ssd1289 die libs getauscht.<\/p>\n<p>Die 1289 demo l\u00e4uft ohne probleme aber mit der gui habe ich nur bunten schnee auf dem display.<\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/p>\n<ul class=\"children\">\n<li id=\"li-comment-1302\" class=\"comment odd alt depth-2\">\n<div id=\"comment-1302\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/0.gravatar.com\/avatar\/af5be9fa3f95b3ec9c424ed130b7f2d3?s=40&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\">Cortex-Einsteiger<\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">25. Januar 2014 um 11:40<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p>Hallo J\u00f6rg,<br \/>\ndas Problem haben wir auch (siehe Kommentare zum STemWin-Show Projekt)<br \/>\nLeider habe ich noch nicht die richtigen Treibereinstellungen gefunden.<\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/li>\n<li id=\"li-comment-2464\" class=\"comment even depth-2\">\n<div id=\"comment-2464\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/0.gravatar.com\/avatar\/06d8d968e3abb726aac8a82503ea2440?s=40&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\">Mohamed elshenawy<\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">14. November 2014 um 18:57<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p>A small question plz :<br \/>\nI want to make the uploaded project works with ssd1289<br \/>\nyou said you have exchanged the libs , would you tell me briefely what do you mean by this ?<br \/>\nHave you added your own driver files like :stm32_ub_lcd_st7783.c<br \/>\nand stm32_ub_lcd_st7783.h<br \/>\nplz I need help and I can pay you.<\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/li>\n<\/ul>\n<\/li>\n<li id=\"li-comment-1301\" class=\"comment odd alt thread-odd thread-alt depth-1\">\n<div id=\"comment-1301\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/0.gravatar.com\/avatar\/4df08c1746874f0e9c917150b3844d22?s=40&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\">Marc<\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">25. Januar 2014 um 11:07<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p>Hallo;<br \/>\nhabe beim compilieren die Folgenden Fehlermeldung:<br \/>\nerror: Demo_70.elf uses VFP register arguments, \u2026\u2026<\/p>\n<p>Verwende dein CooCox Beispielprojekt<br \/>\nWas ist bei mir falsch eingestellt.<\/p>\n<p>Gru\u00df<\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/li>\n<li id=\"li-comment-1518\" class=\"comment even thread-even depth-1\">\n<div id=\"comment-1518\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/1.gravatar.com\/avatar\/bc062755851a3441b9775f17800da65b?s=40&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\">MO<\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">1. April 2014 um 16:33<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p>Are you able to use the emWin GUI functions involving the touch screen? I could not find in your source code where the touchscreen APIs for emWin are. But I note you have your own touchscreen drivers in stm_ub_touch_ADS7843.c. In my case I am using XPT2046. I am also using SSD1963 with the stm32f4discovery board so I am very grateful that you made your code available, and I have adapted your source code to my system with only a few changes.<\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/p>\n<ul class=\"children\">\n<li id=\"li-comment-1519\" class=\"comment byuser comment-author-admin_ub bypostauthor odd alt depth-2\">\n<div id=\"comment-1519\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/0.gravatar.com\/avatar\/67426419ead44d5afa132e92685bb460?s=40&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\">admin_ub<\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">1. April 2014 um 20:16<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p>Yes, touch is running. You need two functions. First a \u201cTouch_init\u201d, called before emwin is started. And second a cyclic \u201cTouch_read\u201d<br \/>\nThe function call for the first one is in :<br \/>\n\u201cstm32_ub_stemwin.c\u201d =&gt; \u201cUB_Touch_Init()\u201d<br \/>\nThe \u201cTouch_read\u201d function is called by a Timer (every 50ms) :<br \/>\n\u201cstm32_ub_touch_ads7843.c\u201d =&gt; \u201cP_Touch_Read()\u201d<br \/>\nThe Touch values are stored in the structur \u201cTouch_Data\u201d<br \/>\nIn the file \u201cstm32_ub_stemwin.c\u201d these data are copied in structur<br \/>\n\u201cTS_State\u201d that emWIN uses.<\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/p>\n<ul class=\"children\">\n<li id=\"li-comment-1547\" class=\"comment even depth-3\">\n<div id=\"comment-1547\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/1.gravatar.com\/avatar\/bc062755851a3441b9775f17800da65b?s=40&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\">MO<\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">12. April 2014 um 10:53<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p>Thanks for the clarification. I\u2019m happy to report that I have now got the modified LCD demo Show_08 program to work with a 7 inch SSD1963 LCD module! Haven\u2019t checked the touchscreen part yet.<\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/li>\n<\/ul>\n<\/li>\n<li id=\"li-comment-2456\" class=\"comment odd alt depth-2\">\n<div id=\"comment-2456\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/1.gravatar.com\/avatar\/3691952be165326f32dc27352151fb09?s=40&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\">tom<\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">12. November 2014 um 11:41<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p>Hi MO,<\/p>\n<p>could you please share your 7\u2033SSD1963 Display init\/driver config with us ?<br \/>\nI\u2019ve got one of this display modules recently and would like to get it up and running with the discovery board.<\/p>\n<p>Thx in advance, Tom ;o).<\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/p>\n<ul class=\"children\">\n<li id=\"li-comment-2465\" class=\"comment even depth-3\">\n<div id=\"comment-2465\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/0.gravatar.com\/avatar\/a1409b1fe6254bc7fbdcfa48b73a1ee9?s=40&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\">Joerg B.<\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">15. November 2014 um 11:00<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p>Hello Tom,<br \/>\nto make emWin work with Your Display isn\u2019t so difficult.<br \/>\nFirst You need to setup the bus and the hardware settings for it. You could use a driver you find in the net\u2026<br \/>\nSecond You must change the display in the emWin driver and make the settings for resolution\u2026 Thats all <img decoding=\"async\" class=\"wp-smiley\" src=\"wp-includes\/images\/smilies\/icon_wink.gif\" alt=\";)\" \/><br \/>\nThats for SSD1963 : pDevice = GUI_DEVICE_CreateAndLink(GUIDRV_FLEXCOLOR, GUICC_565, 0, 0);<\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/p>\n<ul class=\"children\">\n<li id=\"li-comment-2810\" class=\"comment odd alt depth-4\">\n<div id=\"comment-2810\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/1.gravatar.com\/avatar\/5ea8afc23c82bfb25a6d8bff4176c138?s=40&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\">Gerhard, DD4DA<\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">10. Januar 2015 um 22:39<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p>It\u2019s important to take care about the initial code if the used Display. Even the display driver chip, like the SSD1963 is similar on the Display module. The part of the Timing, resolution and Geometrie should be fit to the driven TFT-Display. A good source for the init code are the examples thats often ships with the Display.<\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li id=\"li-comment-1564\" class=\"comment even thread-odd thread-alt depth-1\">\n<div id=\"comment-1564\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/0.gravatar.com\/avatar\/253c44b904d3aef92fd884cc46affbf1?s=40&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\">phu<\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">17. April 2014 um 11:59<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p>I have a proplem with your code:<br \/>\n<code><br \/>\n.\\Out\\KT_Blink.axf: Error: L6218E: Undefined symbol BUTTON_Create (referred from main.o).<br \/>\n.\\Out\\KT_Blink.axf: Error: L6218E: Undefined symbol BUTTON_SetText (referred from main.o).<br \/>\n.\\Out\\KT_Blink.axf: Error: L6218E: Undefined symbol GUI_ClearRect (referred from main.o).<br \/>\n.\\Out\\KT_Blink.axf: Error: L6218E: Undefined symbol GUI_Delay (referred from main.o).<br \/>\n.\\Out\\KT_Blink.axf: Error: L6218E: Undefined symbol GUI_DispStringHCenterAt (referred from main.o).<br \/>\n.\\Out\\KT_Blink.axf: Error: L6218E: Undefined symbol GUI_Font20F_ASCII (referred from main.o).<br \/>\n.\\Out\\KT_Blink.axf: Error: L6218E: Undefined symbol GUI_Font8x16 (referred from main.o).<br \/>\n.\\Out\\KT_Blink.axf: Error: L6218E: Undefined symbol GUI_SetFont (referred from main.o).<br \/>\n.\\Out\\KT_Blink.axf: Error: L6218E: Undefined symbol GUI_WaitKey (referred from main.o).<br \/>\n.\\Out\\KT_Blink.axf: Error: L6218E: Undefined symbol UB_STemWIN_init (referred from main.o).<br \/>\n.\\Out\\KT_Blink.axf: Error: L6218E: Undefined symbol WM_DeleteWindow (referred from main.o).<br \/>\n<\/code><br \/>\nCould you help me explain it ?<\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/p>\n<ul class=\"children\">\n<li id=\"li-comment-1568\" class=\"comment byuser comment-author-admin_ub bypostauthor odd alt depth-2\">\n<div id=\"comment-1568\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/0.gravatar.com\/avatar\/67426419ead44d5afa132e92685bb460?s=40&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\">admin_ub<\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">18. April 2014 um 11:41<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p>my example is running in CoIDE without a compiler warning or an error. So you must have changed the code or the IDE. Without knowledge about your modification i can\u2019t help.<\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/li>\n<\/ul>\n<\/li>\n<li id=\"li-comment-1691\" class=\"comment even thread-even depth-1\">\n<div id=\"comment-1691\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/1.gravatar.com\/avatar\/b36d26bd7bf5e20e40a554c75a51dcf9?s=40&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\">Benedikt<\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">10. Mai 2014 um 19:32<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p>Hallo Uwe,<\/p>\n<p>an welcher Stelle im Code sagst du der StemWin Lib das du die SPI Schnittstelle verwendest? Ich kann es nicht finden, es muss doch auch m\u00f6glich sein das FSMC Modul zu nutzen. In einer fr\u00fcheren Version der Lib gab es den Hardware Abstraction Layer (HAL) mit dem man die LLD Schnittstelle definieren konnte. Ich finde es nirgends, kannst du mir einen Hinweis geben? Danke<br \/>\nBenedikt<\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/p>\n<ul class=\"children\">\n<li id=\"li-comment-1702\" class=\"comment byuser comment-author-admin_ub bypostauthor odd alt depth-2\">\n<div id=\"comment-1702\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/0.gravatar.com\/avatar\/67426419ead44d5afa132e92685bb460?s=40&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\">admin_ub<\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">13. Mai 2014 um 19:23<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p>es wird die FSMC-Schnittstelle f\u00fcr das Display benutzt.<\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/li>\n<li id=\"li-comment-2811\" class=\"comment even depth-2\">\n<div id=\"comment-2811\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/1.gravatar.com\/avatar\/5ea8afc23c82bfb25a6d8bff4176c138?s=40&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\">Gerhard, DD4DA<\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">10. Januar 2015 um 22:46<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p>Direkt , gar nicht. Der SPI wird nicht von der LIb bedient, sondern die Routine, die den SPi abfragt und das Ergebnis des Lesens zur\u00fcck gibt, wird beim Init in eine Struktur \u00fcbergeben. Dies macht die Anschlussart und den verwendeten Chip transparent. Es k\u00f6nnte statt des Touchpanels ja auch ein Joystick oder gar eine Tastatur oder Maus benutzt werden. Die zwei Klassiker f\u00fcr Touchpanel-Controller werden jedoch teilweise unterst\u00fctzt. Der SPI muss aber genauso wie der FSMC zun\u00e4chst mit einer INit Routine Initialisiert werden. Diese kann man in einer Konfig-Dateien des GUI-Lib beim Start ausf\u00fchren lassen oder man macht es eben selber \u2013 ganz nach Belieben.<\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/li>\n<\/ul>\n<\/li>\n<li id=\"li-comment-1911\" class=\"comment odd alt thread-odd thread-alt depth-1\">\n<div id=\"comment-1911\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/0.gravatar.com\/avatar\/279cf4814eb5667ca7eda9081cce8a81?s=40&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\">DerTFTanf\u00e4nger<\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">30. Juni 2014 um 12:13<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p>Hallo,<br \/>\nich m\u00f6chte den Displaytreiber RA8875 von der Firma RAIO einsetzen und suche hierf\u00fcr die passenden Funktionen um diesen mit der STemWin-Library zu betreiben. K\u00f6nnt ihr mir weiterhelfen?<\/p>\n<p>Danke<\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/li>\n<li id=\"li-comment-2921\" class=\"comment even thread-even depth-1\">\n<div id=\"comment-2921\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/1.gravatar.com\/avatar\/16c692c682c5fba4fd64fdf8849a4738?s=40&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\"><a class=\"url\" href=\"http:\/\/www.skovholm.com\/\" rel=\"external nofollow\">Hjalmar<\/a><\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">28. Februar 2015 um 09:13<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p>Hi<br \/>\nI am newbie to the stm32f4<br \/>\nI want to use the ssd1963 but need to know how to set the wires between the board and the display\u2026find something in the driver but do not understand\u2026<br \/>\nCan someone help me to understand where to set D0 to D15 and the RS RW etc\u2026.<br \/>\nPlease<br \/>\nHjalmar<\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/p>\n<ul class=\"children\">\n<li id=\"li-comment-2928\" class=\"comment odd alt depth-2\">\n<div id=\"comment-2928\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/0.gravatar.com\/avatar\/e7b61b6d126a541032224d0afa252f8a?s=40&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\">Samuel Canadi<\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">2. M\u00e4rz 2015 um 20:09<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p><a href=\"http:\/\/www.st.com\/st-web-ui\/static\/active\/jp\/resource\/technical\/document\/user_manual\/DM00093903.pdf\" rel=\"nofollow\">http:\/\/www.st.com\/st-web-ui\/static\/active\/jp\/resource\/technical\/document\/user_manual\/DM00093903.pdf<\/a><\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/li>\n<\/ul>\n<\/li>\n<li id=\"li-comment-3015\" class=\"comment even thread-odd thread-alt depth-1\">\n<div id=\"comment-3015\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/0.gravatar.com\/avatar\/04a7de5d8cbef9aad1c9ea98b60b6bd8?s=40&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\">Ivelina<\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">20. M\u00e4rz 2015 um 18:53<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p>I\u2019m sorry for the possibly really stupid question but I didn\u2019t understand how to configure the emWin for the LCD I am using. I use the DM-LCD35RT that comes with the stm32f4dis-bb kit. I changed the things you pointed out to MO and I get a black screen with a dotted white space where the text and button should be probably.<\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/p>\n<ul class=\"children\">\n<li id=\"li-comment-3020\" class=\"comment byuser comment-author-admin_ub bypostauthor odd alt depth-2\">\n<div id=\"comment-3020\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/0.gravatar.com\/avatar\/67426419ead44d5afa132e92685bb460?s=40&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\">admin_ub<\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">21. M\u00e4rz 2015 um 10:12<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p>sorry, i cant help. is the display working without emwin ?<\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/li>\n<\/ul>\n<\/li>\n<li id=\"li-comment-3023\" class=\"comment even thread-even depth-1\">\n<div id=\"comment-3023\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/0.gravatar.com\/avatar\/af895582669592f057478b8ab90567f3?s=40&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\">Manuel<\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">21. M\u00e4rz 2015 um 18:20<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p>Hello,<br \/>\nI have not worked with this LCD, but perhaps they can use GUIDRV_Template.<br \/>\nCheck the manual EMWIN on page 1092.<\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/p>\n<ul class=\"children\">\n<li id=\"li-comment-3035\" class=\"comment odd alt depth-2\">\n<div id=\"comment-3035\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/0.gravatar.com\/avatar\/04a7de5d8cbef9aad1c9ea98b60b6bd8?s=40&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\">Ivelina<\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">23. M\u00e4rz 2015 um 08:28<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p>yes it is working without the emWin and i will check if i would manage to do something with the GUIDRV_Template, thanks.<\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/li>\n<\/ul>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Diese Library bindet die STemWin (in Version 5.22) ein\u00a0(ohne OS). \u201cemWin\u201d ist von SEGGER (www.segger.com) und ST hat f\u00fcr seine STM-Familie eine kostenlose vorkompilierte Library dazu ver\u00f6ffenlicht \u201cSTemWin\u201d Mit \u201cSTemWin\u201d kann eine Windows \u00e4hnliche GUI programmiert werden mit Buttons, Fenstern &hellip; <a href=\"https:\/\/mikrocontroller.bplaced.net\/wordpress\/stm32f4\/komplette-library-liste-stm32f4\/70-stemwin-library-stm32f4\/\">Weiterlesen <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":144,"menu_order":70,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[128],"tags":[9,221,7],"class_list":["post-472","page","type-page","status-publish","hentry","category-stm32f4","tag-library","tag-stemwin","tag-stm32f4"],"_links":{"self":[{"href":"https:\/\/mikrocontroller.bplaced.net\/wordpress\/wp-json\/wp\/v2\/pages\/472","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mikrocontroller.bplaced.net\/wordpress\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mikrocontroller.bplaced.net\/wordpress\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mikrocontroller.bplaced.net\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mikrocontroller.bplaced.net\/wordpress\/wp-json\/wp\/v2\/comments?post=472"}],"version-history":[{"count":3,"href":"https:\/\/mikrocontroller.bplaced.net\/wordpress\/wp-json\/wp\/v2\/pages\/472\/revisions"}],"predecessor-version":[{"id":1609,"href":"https:\/\/mikrocontroller.bplaced.net\/wordpress\/wp-json\/wp\/v2\/pages\/472\/revisions\/1609"}],"up":[{"embeddable":true,"href":"https:\/\/mikrocontroller.bplaced.net\/wordpress\/wp-json\/wp\/v2\/pages\/144"}],"wp:attachment":[{"href":"https:\/\/mikrocontroller.bplaced.net\/wordpress\/wp-json\/wp\/v2\/media?parent=472"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mikrocontroller.bplaced.net\/wordpress\/wp-json\/wp\/v2\/categories?post=472"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mikrocontroller.bplaced.net\/wordpress\/wp-json\/wp\/v2\/tags?post=472"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}