Virtual screen on SSD1963

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Virtual screen on SSD1963

    Hello!

    Can I use virtual Scream display with 480x272 ssd1963 controller that has 1215KB of memory?
    If yes, how to set it? GUI_SetOrg () function does not give results (LCD_X_SETORG does not go).

    If configured as

    C Source Code

    1. #define XSIZE_PHYS 480
    2. #define YSIZE_PHYS (272 * 2)
    3. #define VXSIZE_PHYS XSIZE_PHYS
    4. #define VYSIZE_PHYS (YSIZE_PHYS)

    and cause hardware scrolling is working.

    If

    C Source Code

    1. #define XSIZE_PHYS 480
    2. #define YSIZE_PHYS (272)
    3. #define VXSIZE_PHYS XSIZE_PHYS
    4. #define VYSIZE_PHYS (2 * YSIZE_PHYS)


    does not work. GUI does not draw in the second area.

    Initial LCD_Conf:

    C Source Code

    1. void LCD_X_Config(void) { GUI_DEVICE * pDevice;
    2. CONFIG_FLEXCOLOR Config = {0};
    3. GUI_PORT_API PortAPI = {0};
    4. pDevice = GUI_DEVICE_CreateAndLink(GUIDRV_FLEXCOLOR, GUICC_M565, 0, 0);
    5. LCD_SetSizeEx (0, XSIZE_PHYS , YSIZE_PHYS);
    6. LCD_SetVSizeEx(0, VXSIZE_PHYS, VYSIZE_PHYS);
    7. Config.Orientation = GUI_MIRROR_Y | GUI_MIRROR_X;
    8. GUIDRV_FlexColor_Config(pDevice, &Config);
    9. PortAPI.pfWrite16_A0 = LcdWriteReg;
    10. PortAPI.pfWrite16_A1 = LcdWriteData;
    11. PortAPI.pfWriteM16_A1 = LcdWriteDataMultiple;
    12. PortAPI.pfReadM16_A1 = LcdReadDataMultiple;
    13. GUIDRV_FlexColor_SetFunc(pDevice, &PortAPI, GUIDRV_FLEXCOLOR_F66720, GUIDRV_FLEXCOLOR_M16C0B16);
    Display All

    The post was edited 1 time, last by kostprof21 ().