Search found 11 matches

by VadimKHL
Thu Sep 23, 2021 6:30 pm
Forum: Showcase
Topic: ESP32 TFT display library
Replies: 74
Views: 554959

Re: ESP32 TFT display library

In tftspi.h enable tooch: #define USE_TOUCH TOUCH_TYPE_XPT2046 Connected: #define PIN_NUM_MISO 19 #define PIN_NUM_MOSI 23 #define PIN_NUM_CLK 18 #define PIN_NUM_CS 5 #define PIN_NUM_DC 26 #define PIN_NUM_TCS 25 Toch: T_DO -> 19 T_DIN -> 23 T_CLK -> 18 T_CS -> 25 But the touch controller does not work.
by VadimKHL
Thu Sep 23, 2021 6:24 pm
Forum: Showcase
Topic: ESP32 TFT display library
Replies: 74
Views: 554959

Re: ESP32 TFT display library

Hello everyone! Please help me start the XPT2046 touch controller. I am using the following screen: https://aliexpress.ru/item/1005001676690989.html?algo_expid=2dd4d820-ae33-42ce-9670-775abef78813-11&algo_pvid=2dd4d820-ae33-42ce-9670-775abef78813&btsid=0b8b034116324212952878014ec12a&item_id=10050016...
by VadimKHL
Sat Mar 06, 2021 7:56 pm
Forum: ESP-IDF
Topic: gpio_install_isr_service() returns ESP_ERR_NOT_FOUND
Replies: 5
Views: 9964

Re: gpio_install_isr_service() returns ESP_ERR_NOT_FOUND

Hello!
Same problem.

E (1857) camera: gpio_install_isr_service failed (105)
E (1858) camera: Camera init failed with error 0x105

Did you manage to solve it?
by VadimKHL
Sat Mar 06, 2021 7:42 pm
Forum: ESP-IDF
Topic: ESP32 CAM: gpio_install_isr_service failed (105)
Replies: 3
Views: 11018

ESP32 CAM: gpio_install_isr_service failed (105)

Hello everyone! There is a problem when initializing the camera: E (1857) camera: gpio_install_isr_service failed (105) E (1858) camera: Camera init failed with error 0x105 If you add a command before initializing the camera, this one: gpio_install_isr_service(ESP_INTR_FLAG_IRAM); The camera starts ...
by VadimKHL
Tue Aug 25, 2020 12:48 pm
Forum: ESP32 Arduino
Topic: I2C bufer up to 258 byte
Replies: 2
Views: 4105

Re: I2C bufer up to 258 byte

Simply changing I2C_BUFFER_LENGTH to 258 didn't work. Made the following changes (###VadimKHL): /* TwoWire.h - TWI/I2C library for Arduino & Wiring Copyright (c) 2006 Nicholas Zambetti. All right reserved. This library is free software; you can redistribute it and/or modify it under the terms of the...
by VadimKHL
Mon Aug 24, 2020 3:37 pm
Forum: ESP32 Arduino
Topic: I2C bufer up to 258 byte
Replies: 2
Views: 4105

I2C bufer up to 258 byte

Hello!
Tell me how to properly edit the library of the I2C bus in order to increase the receive-transmit buffer to 258 bytes.
The problem is that the description of the buffer size is an 8 bit variable:
Image
by VadimKHL
Sat Jun 20, 2020 12:22 pm
Forum: ESP32 Arduino
Topic: I2C and UART parallel
Replies: 7
Views: 8441

Re: I2C and UART parallel

Good day!
The problem is resolved.
Arduino IDE always launches UART on core 1.
After castling tasks on the cores, everything worked as it should (I2C is no longer interrupted by UART transfer):
Image

Thank you all for your help!
by VadimKHL
Fri Jun 12, 2020 1:19 am
Forum: ESP32 Arduino
Topic: I2C and UART parallel
Replies: 7
Views: 8441

Re: I2C and UART parallel

Just guessing as I don't know the Arduino drivers that well, but can you try initializing the serial port and the Wire interface inside the tasks you spawn instead of in the main function? Thing is that the drivers likely register the interrupts on the CPU they're initialized on, which in your case...
by VadimKHL
Thu Jun 11, 2020 3:23 pm
Forum: ESP32 Arduino
Topic: I2C and UART parallel
Replies: 7
Views: 8441

Re: I2C and UART parallel

There is no interference. Here is the code: #include <Wire.h> #include "MLX90640_API.h" #include "MLX90640_I2C_Driver.h" TaskHandle_t Task1; // Присваиваем индификаторы задач. TaskHandle_t Task2; const byte MLX90640_address = 0x33; //Slave адрес I2C MLX90640 по умолчанию. #define TA_SHIFT 8 //Defaul...
by VadimKHL
Wed Jun 10, 2020 1:50 pm
Forum: ESP32 Arduino
Topic: I2C and UART parallel
Replies: 7
Views: 8441

Re: I2C and UART parallel

And how to do it right? If UART transmission occurs, incomprehensible interruptions occur on the i2c bus:
Image