Problem with module ILI9341 #6054
Replies: 1 comment
-
Posted at 2018-10-26 by @MaBecker Please check SPI pins on ESP8266 page http://www.espruino.com/EspruinoESP8266 Posted at 2018-10-26 by Alexandr The hardware SPI uses the pins shown in the board layout (CLK:D14, MISO:D12, MOSI:D13, CS:D15). Posted at 2018-10-26 by Alexandr
Posted at 2018-10-26 by @MaBecker var SPI1 = new SPI(); // create a new software SPI ESP8266 has one hardware SPI named SPI1. SPI1.setup(......) Posted at 2018-10-27 by Robin Fri 2018.10.26 Hello @user79559,
I made this mistake the first time using SPI. Worth taking yet another look. Under 'Data Transmission'
Unlike Tx-Rx wiring SPI is MOSI-MOSI The Espruino device is the master so MOSI is an output to the input pin of the slave device Posted at 2018-10-28 by Alexandr Connected TFT, does screen cleaning, then outputs half of the word " hi " and does reboot :) Posted at 2018-10-28 by Alexandr Connected TFT, does screen cleaning, then outputs half of the word " hi " does reboot :) Posted at 2018-10-29 by @allObjects ...you may be short on power... What is your power supply setup? Posted at 2018-10-30 by Alexandr I understand the problem. When you output a long word, it fails. And when you perform on a short command, there is no failure. Use this method is unrealistic. Maybe in the future it will make the library better Posted at 2018-10-30 by @allObjects
@user79559, could you please elaborate on that a bit more? (cannot see anywhere in your code something that displays "Hi...*). The restart may have different causes:
Posted at 2018-10-30 by @allObjects @MaBecker, if you want to use the HW SPI, do you still need to create one with
Lines 5 and 14 and 11 show that you get new objects... and loose the HW SPI, I guess... do you? May be it just looks on the JS level that way, but not under the hood where it is created before JS takes place. Posted at 2018-10-30 by @allObjects ...found this ESP8266 reset cause list - http://iot-bits.com/esp8266/esp8266-reset-causes-rst-cause/ (right bow I experience 4... code stuck or failing....) Posted at 2018-10-30 by @MaBecker UPS, yes it is just SPI Posted at 2018-10-30 by @MaBecker or
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2018-10-26 by Alexandr
Good day, everyone! I have a problem with module ILI9341. I'm plugging it in on esp12F. After loading and cleaning the screen appears, after which the esp is rebooted and so on. Please help if anyone knows what the problem is.
Beta Was this translation helpful? Give feedback.
All reactions