Search found 8 matches

by nochkin
Tue Jun 27, 2023 4:13 pm
Forum: General Discussion
Topic: Getting an ST7789 display to run on ESP32 Cam in Micropython
Replies: 2
Views: 2310

Re: Getting an ST7789 display to run on ESP32 Cam in Micropython

Like mentioned before, each ESP32 module is different. Some don't even have GPIO available to wire anything to it. The ST7789 display needs at least 3 GPIOs available (MISO, MOSI, SCLK). You can put CS low if you have SPI bus dedicated to that display only. In some cases you may drop MISO since most...
by nochkin
Tue Jun 27, 2023 4:07 pm
Forum: General Discussion
Topic: I2C Master and Slave with one ESP32 board
Replies: 3
Views: 1728

Re: I2C Master and Slave with one ESP32 board

I would highly recommend to get a simple logic analyzer. I2C protocol is slow enough and you can get a cheap logic analyzer using 8 channels and 24MHz for like $10-$20 or so. It will let you analyze I2C and even extract the exact data it's being sent over to your device. It works completely transpar...
by nochkin
Tue Jun 27, 2023 4:01 pm
Forum: General Discussion
Topic: STM32 MCU + ESP32 module + Wi-Fi Mesh application possible
Replies: 1
Views: 1057

Re: STM32 MCU + ESP32 module + Wi-Fi Mesh application possible

You don't have to stick with AT firmware. Instead, you can make your own firmware specifically for your purpose.
Espressif has some documentation on API to manage mesh on ESP32:
https://docs.espressif.com/projects/esp ... -mesh.html
by nochkin
Tue Jun 27, 2023 3:54 pm
Forum: General Discussion
Topic: Device Firmware Upgrade via USB on ESP32-S3
Replies: 1
Views: 1403

Re: Device Firmware Upgrade via USB on ESP32-S3

cmake can't find xtensa-esp32s3-elf-gcc binary in your PATH. Make sure xtensa-esp32s3 compiler is installed. If it's, then you need to add its bin directory to your PATH. If you need to keep it permanent, you will need to put it in .bashrc/.bash_profile or similar file depending on the shell you use...
by nochkin
Thu Jun 22, 2023 7:57 pm
Forum: General Discussion
Topic: Looking for solutions to let ILI9341 capacitive touch function work.
Replies: 6
Views: 2733

Re: Looking for solutions to let ILI9341 capacitive touch function work.

You need to test your touch controller, not SPIFFS. The SPIFFS is a filesystem which does not do anything with the touch controller. Just create a simple code which uses SPI and communicates with your XPT2046 using some simple commands to make sure XPT responds according to the datasheet. Make sure ...
by nochkin
Wed Jun 21, 2023 3:27 am
Forum: General Discussion
Topic: Looking for solutions to let ILI9341 capacitive touch function work.
Replies: 6
Views: 2733

Re: Looking for solutions to let ILI9341 capacitive touch function work.

That's XPT2046, not XPT2048. It's on SPI bus.
I would just get the touch to work first and make sure it responds without using the screen at all.
And also check how it's actually wired as it may not use the default pins on your ESP.
by nochkin
Tue Jun 20, 2023 6:14 pm
Forum: General Discussion
Topic: Looking for solutions to let ILI9341 capacitive touch function work.
Replies: 6
Views: 2733

Re: Looking for solutions to let ILI9341 capacitive touch function work.

ILI9341 is not a touch controller, it's just the model of the actual screen controller. You need to find the touch controller model and use the driver designed for it. If there is not such driver, you will need to create your own based on the datasheet available for that chip. The touch controller i...
by nochkin
Tue Jun 20, 2023 5:14 am
Forum: General Discussion
Topic: About Driving TFT with 3-wire SPI (no D/C pin, 9 bit data)
Replies: 3
Views: 6300

Re: About Driving TFT with 3-wire SPI (no D/C pin, 9 bit data)

Just in case someone else comes here: I tried to follow @ESP_Sprite's suggestion and it worked great. I was afraid I had to toggle CS line after every 9 bits, but it appears it's not required as long as I keep CS low all the time. Thank you @ESP_Sprite! The way I've done it is by creating a buffer t...