你好:
我把代码从旧版本的SDK切换到最新的RTOS版本的SDK上。初始化HSPI的overlap后(如下),
SET_PERI_REG_MASK(0x3ff00028, BIT(7));
//set higher priority for spi than hspi
SET_PERI_REG_MASK(SPI_EXT3(SPI), 0x1);
SET_PERI_REG_MASK(SPI_EXT3(HSPI), 0x3);
SET_PERI_REG_MASK(SPI_USER(HSPI), BIT(5));
做了以上初始化后,用spi_flash_read这个接口去访问SPI外挂的FLASH,无法返回,卡住一段时间后异常复位,异常信息时乱码。
请FAE帮忙验证一下这是否是BUG,谢谢
11.2 RTOS版的SDK overlap问题
-
- Posts: 25
- Joined: Thu Oct 08, 2015 4:00 pm
-
- Posts: 25
- Joined: Thu Oct 08, 2015 4:00 pm
Who is online
Users browsing this forum: No registered users and 5 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board 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. We are the manufacturer of ESP8266EX.