Hi, we're trying to configure a custom board based on a PE-HMI1, but we don't manage to make the screen work. We're using SSP1.2.0 and e2studio v5.3.1.002. We have a working application for the PE-HMI1 and we're trying to port it to our custom board. We are debugging the application and it gets stuck at this point inside sf_message.c, in the PEND function: error = tx_queue_receive((TX_QUEUE *) p_queue, (VOID *) (pp_buffer), (ULONG) wait_option); It seems that it doesn't receive any message from the screen. We have simplified the application and "started over" and we've created a project with only one thread that contains the g_sf_touch_panel and GUIX on gx. We've also created a message event for the thread. And the configuration in our thread_entry is: gx_system_initialize(); g_sf_el_gx.p_api->open (g_sf_el_gx.p_ctrl, g_sf_el_gx.p_cfg); gx_studio_display_configure ( DISPLAY_1, g_sf_el_gx.p_api->setup, LANGUAGE_ENGLISH, DISPLAY_1_THEME_1, &p_window_root ); g_sf_el_gx.p_api->canvasInit(g_sf_el_gx.p_ctrl, p_window_root); gx_studio_named_widget_create ("wInicio0", (GX_WIDGET *) p_window_root, (GX_WIDGET **) &p_wInicio0); /* + Creation of other windows */ //... gx_widget_attach(p_window_root, p_wInicio0); gx_widget_show(p_window_root); //Configuration of pins: LCD, touch panel reset pins and PWM backlight //{...} gx_system_start(); Can you think about what are we missing? Is there any example for with only the touch screen featured? maybe we can make a comparison and find what we're missing. Regards, isaenz.
↧