SHARP Memory Display Breakout - 2.7" 400x240 with nrf52840

Hi,

I want to use SHARP Memory Display Breakout - 2.7" 400x240 with nrf52840 development kit. I have to interface the lvgl library for the graphics development but from the documentation, I could not figure out how to connect and there is no basic code for interfacing with the nordic SDK. Please suggest any type of reference for examples if available.

Any kind of input or help will be appreciated.

Thanks in Advance,

  • I can't really help you much from this point. The old nRF5 SDK was deprecated in favor of NCS + Zephyr before I had even touched a Nordic MCU, so I have no experience with it. But I must warn you, porting LVGL for a monochrome without Zephyr's drivers and integration is a nightmare. I know many people aren't the biggest fans of Zephyr's complexity and learning curve but it's a lifesaver in circumstances like these. It's not a simple port otherwise -- you'll likely need to write your own set pixel callback, rounder callback, make your own modifications to the lv conf file, add your own driver code (if it's not in the lv drivers GitHub repo), and only then will you be met with a glitchy screen and no support from LVGL's functionally-dead forums. At that point you'll desperately scan through the grand total of 2 LVGL monochrome port guides available, both of which also use deprecated code.

    Given that we have the exact same hardware, I can just about guarantee you'll have a functioning display if you switch back to NCS and use the zip file posted by helsing along with these connections:

    CS --> P1.12

    DI (MOSI) --> P1.13

    CLK --> P1.15

    VIN --> VDD

    GND --> GND

Related