Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

You have a pretty good handle on the STM32 interfaces for the LCD's #8

Open
kdschlosser opened this issue May 23, 2024 · 0 comments
Open

Comments

@kdschlosser
Copy link

I am wondering if you might be willing to lend a hand with something I am working on. I know diddly about the STM32's and I am wanting to provide the user of my project with the ability to use the STM32 MCU's with an LCD attached.

The tricky bit is what I am needing is for the bus drivers to be designed as a runtime thing and not a compile time.

for example, What is called FSMC and GPIO bust types in your library are I8080 interfaces. One has the ability to do DMA transfers and the other doesn't. I need to have the 8 and 16 lane versions of both of those combined into a single I8080 driver. The determination if whether to use FSMC or not is going to be based on how the frame buffer gets allocated and a flag being supplied that specifies that DMA memory is to be used for the allocation. Now I know that all of the memory on the STM32' is DMA capable memory so the flag would not actually do anything other then let the driver know what the intention is. The pin numbers that are to be used get passed to a function that builds the driver.

Here is what I am working on..

https://github.com/kdschlosser/lvgl_micropython

That repo combines MicroPython and the LVGL GUI framework together. This allows for fast development that is not MCU specific. So if a user creates a UI it is done in Python code and that code would be portable across ESP32, STM32, RP2, SAMD, ... It is also able to run on Windows, Unix, macOS, Android, Webassembly (Emscripten)

I am creating a common API across all of the different ports that MicroPython supports. Currently working with I8080, SPI and RGB data busses and I would like to add MIPI in the future.

Didn't know if it would be something you would be interested in lending a hand with. I know the MicroPython side of things and that is where I would be able to help out with it. I can provide the framework that is being used to attach the MCU specific connection methods to MicroPython and I can tweak the other ports if the framework needs to be added onto for whatever reason.

Here is an example of the framework for the RGB bus driver, this is for the3 ESP32

https://github.com/kdschlosser/lvgl_micropython/blob/main/ext_mod/lcd_bus/esp32_src/rgb_bus.c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant