Hi Esp32 Folk
I'm guessing the I2C system is limited to around 1mhz?
I'm testing out various OLEDs - that I know can run above 1mhz - and I'm getting about 1.1mhz speed out the current I2C IDF system.
OLED is a SSD1327, buffer size is 8192 bytes - i2c speed is set to 2,000,000. Transfer time is around 16fps. This all works just splendidly - except it's not transferring at 2mhz:
9 bits per bytes transfer - extra bit is ACK - I'm ignoring the address bits overhead - since I blast my entire buffer in one go. And I have ack_en turned off when using
i2c_master_write_byte.
Filters are turned off:
i2c_filter_disable(I2C_NUM_0);
16x8192x9 = 1,179,648 bits per second.
Is there any simple mod to the current method to bypass the interrupt system - I'm guessing this is the slowdown. It's a really great simple system for general purpose I2C sub 1mhz - but I need a blasty polling system to hit max speeds.
I have attempted to modify the current setup - by changing the i2c structure to a word size for the byte count - and plonking a polling system to wait and fill for the fifo - but honestly I don't know what I'm doing and it crash panics
thanks
Shabby
I2C Speed issues
- shabtronic
- Posts: 49
- Joined: Sun Nov 03, 2019 1:33 pm
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- Hardware
- ESP-IDF
- ESP-BOX
- ESP-ADF
- ESP-MDF
- ESP-WHO
- ESP-SkaiNet
- ESP32 Arduino
- IDEs for ESP-IDF
- ESP-AT
- ESP IoT Solution
- ESP RainMaker
- Rust
- ESP8266
- Report Bugs
- Showcase
- Chinese Forum 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- 全国大学生物联网设计竞赛乐鑫答疑专区
- ESP-IDF 中文讨论版
- 《ESP32-C3 物联网工程开发实战》书籍讨论版
- 中文文档讨论版
- ESP-AT 中文讨论版
- ESP-BOX 中文讨论版
- ESP IoT Solution 中文讨论版
- ESP-ADF 中文讨论版
- ESP Mesh 中文讨论版
- ESP Cloud 中文讨论版
- ESP-WHO 中文讨论版
- ESP-SkaiNet 中文讨论版
- ESP 生产支持讨论版
- 硬件问题讨论
- 项目展示
Who is online
Users browsing this forum: No registered users and 299 guests
- All times are UTC
- Top
- Delete cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. ESP8266EX and ESP32 are some of our products.