Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By ssylca
#35272 Thank you Sumotoy, could you please give me to the link to the proper library files for the TFT_ILI9163C.h. I have used the link from your initial post but keep on getting errors when I compile the scripts in the example's files.
Many thanks.
S.
User avatar
By sumotoy
#35273 It's not possible with SPI, it has 3 modes and ES8266 actually support only MODE0, but RA uses MODE3, this mean that SPI signals are (in brief) opposed so MISO and SCLK stays at 3v3 when not triggered. This it's not a problem if there's only one device but I don't know if the internal SPI Flash of the ESP8266 it's on the same line (and it works in MODE0 for sure). If yes, this explain the lookup but I'm new into ESP8266 and I really hope not sharing the same line, in that case there's a possibility.
Of course I'm talking about RA8875 and I'm a bit out of topic here since this is not the case of ILI9163C, fortunately this chip it's MODE0!
User avatar
By freedom2000
#35274
sumotoy wrote:It's not possible with SPI, it has 3 modes and ES8266 actually support only MODE0, but RA uses MODE3, this mean that SPI signals are (in brief) opposed so MISO and SCLK stays at 3v3 when not triggered. This it's not a problem if there's only one device but I don't know if the internal SPI Flash of the ESP8266 it's on the same line (and it works in MODE0 for sure). If yes, this explain the lookup but I'm new into ESP8266 and I really hope not sharing the same line, in that case there's a possibility.
Of course I'm talking about RA8875 and I'm a bit out of topic here since this is not the case of ILI9163C, fortunately this chip it's MODE0!


Ok thanks for the explaination.

If signals are fully opposed you could add 2 mosfets to invert them once more ?

I hav elooked at the mode0 and mode3 specs.
It seems that if you just invert the clock signal (with a mosfet) you could have it work...