-->
Page 1 of 2

ESP8266 HSPI horrible SCK

PostPosted: Mon Jul 02, 2018 4:17 pm
by berkutta
I'm trying to get the HSPI Master demo from https://github.com/espressif/esp8266-rt ... SPI_Master working. On Pin D5 it just spits out garbage (I except a nice 10Mhz clock). Any idea what's wrong? I'm using the Espressif RTOS V2.0. I can reproduce the same on a Wemos D2 and Nodemcu board.

Re: ESP8266 HSPI horrible SCK

PostPosted: Tue Jul 03, 2018 1:14 am
by schufti
this is a known issue. best to keep connection short and/or buffer it.

Re: ESP8266 HSPI horrible SCK

PostPosted: Thu Jul 05, 2018 3:42 pm
by berkutta
I'm basically meassuring directly on the pin of the Development Board. But well, I think the only real solution is to finally completly switch to ESP32. With the new ESP32 solo this should anyway be the only smart thing to do :D

Re: ESP8266 HSPI horrible SCK

PostPosted: Thu Jul 05, 2018 4:39 pm
by rudy
Change the time base to 10nS or 25nS per division. What you are probably seeing is the result of sampling errors because off too low a horizontal rate. Because it looks fine for me at the higher rate.