Skip to main content
eugene239955
Associate II
February 7, 2019
Question

I need to interface stemwin to a display which has spi only. I need to find LCD_X_SERIAL.c, port routines for serial interface. Can anyone help me locate this file?

  • February 7, 2019
  • 3 replies
  • 996 views

..

    This topic has been closed for replies.

    3 replies

    Tesla DeLorean
    Guru
    February 7, 2019

    Review SPI implementations provided in the BSP. See STM32Cube_FW_F4_V1.21.0\Drivers\BSP\STM32F4xx_Nucleo_144\stm32f4xx_nucleo_144.c

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    eugene239955
    Associate II
    February 7, 2019

    Clive Two.Zero thanks for the quick reply. I have already interfaced the spi HW to the LCD as described in the BSP. In order to use STemWin a device driver must be identified and connected to the STemWIn library. The device driver for the LCD controller I am using ILI9341 appears to only support 8 and 16 bit parallel HW. The alternative is to use a basic serial driver but I cannot locate the LCD_X_SERIAL.c file required. It may come with a full emWin distribution but I cannot find it in any of the ST files.

    eugene239955
    Associate II
    February 7, 2019