Edzelf / Esp-radio

Internet radio based on Esp8266 and VS1053.
MIT License
622 stars 200 forks source link

SPI problem with ESP32 #69

Open madjid13 opened 7 years ago

madjid13 commented 7 years ago

hello,

I have a problem with my esp32 i have bought to aliexpress: official-doit-esp32-development-board-wifi-bluetooth-ultra-low-power-consumption-dual-core-esp-32-esp jpg_50x50 1 official-doit-esp32-development-board-wifi-bluetooth-ultra-low-power-consumption-dual-core-esp-32-esp jpg_50x50

When i connect it to my sd card spi interface, i have this message in my serial windows arduino: ets Jun 8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT) ets Jun 8 2016 00:22:57

rst:0x10 (RTCWDT_RTC_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0x00 clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 cmd len -1 Falling back to built-in command interpreter. OK

ets Jun 8 2016 00:22:57

rst:0x10 (RTCWDT_RTC_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0x00 clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 cmd len -1 Falling back to built-in command interpreter. OK

ets Jun 8 2016 00:22:57

rst:0x10 (RTCWDT_RTC_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0x00 clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 cmd len -1 Falling back to built-in command interpreter. OK Could helpppp me, thanks!!!!

Edzelf commented 7 years ago

Sorry, I do not own any ESP32. I will order one from Ali. The ESP-radio software is designed for ESP-12.

madjid13 commented 7 years ago

Thanks

Le 13 avr. 2017 9:47 AM, "Ed Smallenburg" notifications@github.com a écrit :

Sorry, I do not own any ESP32. I will order one from Ali. The ESP-radio software is designed for ESP-12.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Edzelf/Esp-radio/issues/69#issuecomment-293817896, or mute the thread https://github.com/notifications/unsubscribe-auth/AX9MC_qTQiLf3_4iN0kdJV7Kc7unkakfks5rvdMUgaJpZM4M7uwG .

andybrk commented 7 years ago

I did check the SW (with modifications) under ESP32. (without Web interface yet) I move the SPIFFS to the SD card and this has absolutely no problems. May be you have a hardware issue. The problem with the ESP32 is different: Have to modify the timer (no problem) All seems to work, but no sound (I suppose the ESP32 is more slowly under Arduino, but I'm still investigate) The WIFI and web functions are complete different (should not be a problem but hard work)

madjid13 commented 7 years ago

Thanks a lot I will try again. Have a nice day.

Le 27 avr. 2017 3:53 AM, "andybrk" notifications@github.com a écrit :

I did check the SW (with modifications) under ESP32. (without Web interface yet) I move the SPIFFS to the SD card and this has absolutely no problems. May be you have a hardware issue. The problem with the ESP32 is different: Have to modify the timer (no problem) All seems to work, but no sound (I suppose the ESP32 is more slowly under Arduino, but I'm still investigate) The WIFI and web functions are complete different (should not be a problem but hard work)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Edzelf/Esp-radio/issues/69#issuecomment-297589363, or mute the thread https://github.com/notifications/unsubscribe-auth/AX9MC060Niq00OKtDqcTJxICNmeztxp9ks5rz_UvgaJpZM4M7uwG .

Edzelf commented 7 years ago

Got my ESP32 now. I'm working on the ESP32 version. Fixing the webinterface is quite a job.

andybrk commented 7 years ago

The speed is real a problem, too. I did measure this sub with a scope: putring ( mp3client.read() ) ; need for esp8266 7us and for the esp32 80us about (include digitalWrite). For the esp32 is missing the "user_interface.h". This could be the reason that the SW can't use direct the espressif libraries

madjid13 commented 7 years ago

Edzelf:please if you have the same esp32 iot from Aliexpress, could tell me exactly how sdcard

madjid13 commented 7 years ago

Is working and share schematics pinout. Thanks 🤔

Edzelf commented 7 years ago

ESP32 version is released!