I would like to use a SPI Interfaced LCD Display while still using all of the emWin tools. For this project I can not use a parallel interface. Is there anyone who can point me in the right direction to do this. Thanks
The EK-RA6M3G uses a display that has a parallel input either 8 or 16 bits plus control lines. I need to use a display that has a SPI input to drive it 3 lines plus control. I do not a configuration setting on r-glcdc for a SPI port.
Hello John,
I can see. In this case unfortunately we do not have an example to share with you, which is using the SEGGER emWin libraries with an SPI LCD. But generally you can add the Segger emWin stack to generate code in your fsp project without adding below the middleware rm_emwin_port and make your own implementation to use the SPI instead of the GLCDC peripheral.
I can share with you an application note which is using the segger emWin library with an SPI LCD but this application note is for RX Family.
https://www.renesas.com/us/en/document/apn/rx671-group-rx130-group-external-serial-lcd-display-demonstration-using-rx-family-and-segger-emwin
Hope this helps!
Best Regards,
IK
John, if you have not sorted this out already, you can go to the SEGGER emWin site and get drivers for a variety of SPI interfaced chips. However, this may involve spending money.
There should be driver files for a SPI interface file from the vendor. Just write an adapter layer to call the FSP HAL SPI calls instead of what the panel vendor provides. Import this code in the the project and build.