Hello all,
I am driving on HSPI an external high-speed ADC and on VSPI the external ENC28J60. After some debugging, I figured out, that when "esp_eth_driver_install" is executed, the HSPI seems not working anymore. After analyzing "esp_eth_driver_install" I figured out, that within this function the problem occurs when the line " ETH_CHECK(mac->init(mac) == ESP_OK, "init mac failed", err_init_mac, ESP_FAIL);" is executed, in other words, when the "mac" structure is initiated. However, HSPI is running on DMA Channel1 and VSPI is running on DMA Channel2 to prevent conflict. Furthermore, the sampling of the external ADC on HSPI is running on Core1 and the ENC28J60 tasks are running on Core0.
Before using ENC28J60 I used external SDCARD on VSPI to save the sampled ADC data which worked well. I guess/believe, that the initialization of the "ethernet driver" makes some conflict with HSPI even it is configured to VSPI...
I really would post the code, but the code in the recent stage is "too heavy". Maybe you can give me a hint to check several points.
Thank you very much!
Best regards,
opcode_x64
HSPI and VSPI simultaneously issue
-
- Posts: 47
- Joined: Sun Jan 13, 2019 5:39 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: Baidu [Spider], Google [Bot] and 125 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.