-
Notifications
You must be signed in to change notification settings - Fork 189
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
Support for new I2C master driver. (AEGHB-572) #133
Comments
Hello, do you mean the file |
I am building our application for the ESP-BOX using latest VSCode, IDF Master (v5.3-dev-2381-g9f4e8eb0cd). |
The way I understand it the build should automatically use the new i2c_master functionality when compiled with IDF v5.3 ie Master? |
@ammaree , hello, sorry for my delayed reply.
|
I just tried to rebuild the app using latest esp_box v3.0.5 with esl_lvgl_port v2.0.0 and lvgl v9 build the build fails, unable to find a working combination. The last working combination was using box/v3.0.4 with port/v1.4.0 and lvgl 8.3.11 We are not too worried about tsp-box or lvgl or esp_lvgl_port versions, what is critical is to use the new (5.1.x. onwards) I2C master driver since this allows us to intercept the I2C API calls and transparently route them throughout our dedicated I2C task. How can we achieve this? As far as the "invalid suffix" compile warnings/errors are concerned, the code was lifted from a BSP example but we have fixed those. Help on making the I2C master driver interface work will be much appreciated. |
|
Temporarily closed due to the extended period of time with no response. Should you have additional questions or concerns, don't hesitate to reopen the issue. |
Sorry about the long delay but this problem still persists.
The I2C controller is not used by anything in our application but the BSP includes I2C support for the touch controller. At startup the following message still occurs: What do we have to change in the configuration, BSP, LVGL or IDF to force the use of the new V2 I2C driver? The comments on Mar 14 were just for background, if we can force the use of the V2 driver the problem will go away... |
@ESP-Mars So it seems all these projects are missing something to force the use of the I2C V2 drivers |
Yes, all our current BSPs are not compatible with the new I2C driver. When you mix the old and new drivers in your code, the program will automatically detect crashes. Why do you need the new driver,and how can we help you? |
We have an I2C task that allows us to combine multiple read and write operations with timers, delays and events to streamline I2C operation. In order to support libraries that use I2C APIs directly we wrap the IDF I2C APIs and redirect them to our I2C task. All we need is that the BSP's support the new I2C master interface. |
Hello, you can refer to this espressif/esp-bsp#391, we'll support bsp in this respository. |
When is support planned for the new I2C master driver?
The text was updated successfully, but these errors were encountered: