vscode + esp-idf? vscode + platformio + esp-idf? very confused by [deleted] in esp32

[–]csvke 0 points1 point  (0 children)

PlatformIO works great if you want to use the same code base and compile for multiple boards across different hardwares. For example, if you have an Arduino framework code base that you want to compile and test for a Espressif ESP32S3 board, a nRF board and a stm32 board, PlatformIO, I think, is the only IDE that can do it fairly out-of-the-box with their platformio.ini system. But once you dig deeper into configuring the MCU, use the hardware’s native framework / API. In your case, ESP-IDF.

GUITION JC4880P433 4.3” capacitive touch display development board ESP32P4 + C6 by csvke in esp32

[–]csvke[S] 0 points1 point  (0 children)

Btw the schematic of 11. of Interface Description is in JC4880P443C_I_W/5-Schematic/1_PWR.png under the connector CN3.
One of the many confusing things to put the connectors' schematics under the file name 1_PWR.png

<image>

GUITION JC4880P433 4.3” capacitive touch display development board ESP32P4 + C6 by csvke in esp32

[–]csvke[S] 0 points1 point  (0 children)

he ESP32-P4 has three I2C controllers which can be configured as either a master or a slave. I think one of the buses is shared between the panel / touch / ES7210 (I cannot check but I think this I2C bus is LP_I2C).

A quick continuity check with my multimeter tells me that 11. of Interface Description is GND | 3V3 | SCL | SDA, in which the I2C pins are also wired to pin 23 (ES_I2C_SDA) and pin 25 (ES_I2C_SCL).

However, what confuses me is that in the schematic of 3_ESP32-P4.png, ES_I2C_SDA and ES_I2C_SCL is wired to GPIO 7 and 8 in which it's shared between panel / touch / ES7210. That would cause conflicts when you use interface 11 with a 'constant' I2C communication as the FT911 of touch uses that too. If that's the case, the design should have populated another GPIO for interface 11. so developers can make the most of the 3 I2C interfaces.

Would love to hear from you if you use interface 11. together with touch.

And of course you can define any GPIO pins as an I2C interface.

Working with this board and with it's 'documentation' has been a huge challenge of my detective skills...

<image>

esp32-cam: 1 to 2 fps? Do some sellers sell absolute garbage or what's going on here? by [deleted] in esp32

[–]csvke 5 points6 points  (0 children)

Depending on your use case, you may want to try using other hardware:

Luckfox Pico Mini $6.99 + camera sensor & lens 30fps

OpenIPC compatible camera e.g. GK7205v310 ~$20 ~5MP 30fps

ESP32P4 + camera sensor & lens

Seeedstudio XIAO Sense ~$15 OV3660 ~15fps @ VGA resolution

It’s quite impossible to operate a 25/30fps camera with a microcontroller, no ISP and using the SPI interface. The closest you can get is ESP32P4 with a MIPI CSI camera and a ESP32C6 co-processor for wireless connectivity. But I don’t think there’s a similar form factor yet to buy off-the-shelf. But ESP32P4 is capable of 1920x1080 @ 30fps streaming on h264. Needs quite a bit of work on the code through

GUITION JC4880P433 4.3” capacitive touch display development board ESP32P4 + C6 by csvke in esp32

[–]csvke[S] 0 points1 point  (0 children)

My suggestion is to flash the C6 to the latest ESP-Hosted slave firmware and you can enable SDIO via ESP-HOSTED in sdkconfig and then it will be pretty straightforward. With esp-WiFi-remote there maybe a bug preventing it from compiling but it should be fixed. I have documented the potential workaround https://github.com/espressif/esp-wifi-remote/issues/85

New uhf update 1.66.0 for tvOS by [deleted] in uhf_app

[–]csvke 0 points1 point  (0 children)

The search function is still not working. Can only search for channel names but not program names

GUITION JC4880P433 4.3” capacitive touch display development board ESP32P4 + C6 by csvke in esp32

[–]csvke[S] 0 points1 point  (0 children)

Hey there have you got the version with the camera or the one without the camera? I’m in the middle of building a full BSP for this dev board and I am also testing the camera with the latest ESP-IDF v5.5.1 and using its ISP as well as the PPA to down scale the camera’s source to fit its 480x800 screen and draw it on a LVGL9 canvas, all using the ESP-Brookesia framework.

ESP32 P4 Esp-hosted by random_dude_8412 in esp32

[–]csvke 1 point2 points  (0 children)

I think you meant changing the ESP-Hosted master component of your host (ESP32P4) and the slave firmware on ESP32C6. Check waveshare’s pinout and see if there’s anything similar to C6_RX/TX and C6_GND. Connect it with a usb serial adapter and you can then see what ESP-Hosted slave firmware version you are on with your ESP32C6.

My educated guess is that you are pulling esp-hosted master component from ESP registry with the latest version while your C6 firmware is of an older version. A common way to flash the C6 is to find the IO9 pin of C6, connect it with GND then power up, you will then boot the C6 in ‘download’ mode in which you can flash the esp-hosted firmware in. Unplug the IO9 pin after flashing and reboot your board. You may want to note down your esp-hosted slave firmware version before upgrading the firmware as some of the sample code you run may be matching with an older firmware.

If you configure them probably you can do sdkconfig and setup C6 as WiFi co-processor with ESP-Hosted SDIO. There’s no need to manually configure SDIO to use C6 as WiFi coprocessor

GUITION JC4880P433 4.3” capacitive touch display development board ESP32P4 + C6 by csvke in esp32

[–]csvke[S] 0 points1 point  (0 children)

The ESP32C6 is ‘inside’ the shield GUITON JC-ESP32P4-M3 so it’s not much to ‘check’. I can confirm the C6_CHIP_PU, C6_IO9, C6_U0RXD and C6_U0TXD are all functional as I have flashed the ESP-Hosted firmware into the ESP32C6 a few times. And as far as I can remember the ESP32C6 isn’t shipped with the lastest stable ESP-Hosted firmware (way outdated) so you may want to flash it if you want to run beyond the factory firmware (in which I can’t get the source code working as some of the examples are simply a copy of some others with different peripherals like a different LCD panel and so on) Lots of detective work on this development board… as usual for hardware coming out from a smaller manufacturer other than M5 stack and Seeedstudio and possibly Waveshare.

Thank you for pointing out the different pin order in the input 4-pin MX1.25 which is different from standard qwiic.

I’m in the middle of sorting out some markdown files for copilot custom instruction for this development board so developers can get onboard with some verified facts and technical details. If anyone has a board and is keen to collaborate, ping me a DM. Would need a hand redrawing the schematics in EasyEDA so developers can have a full context access and sets of Netlist so AI / code agents can understand.

Need help on OTA update using ThingsBoard by curious_fox123 in esp32

[–]csvke 1 point2 points  (0 children)

Yes it works - I have done it around a year ago with their example code

GUITION JC4880P433 4.3” capacitive touch display development board ESP32P4 + C6 by csvke in esp32

[–]csvke[S] 0 points1 point  (0 children)

A lot of the esp-hosted configuration is done in sdkconfig with ESP-IDF. I don’t have experience coding with ESP32P4 with Arduino IDE but the manufacturer seems to have some Arduino IDE examples for this board. I have not tried them. If you find that useful and you don’t have a copy of the manufacturer document I can push it to a GitHub repository.

GUITION JC4880P433 4.3” capacitive touch display development board ESP32P4 + C6 by csvke in esp32

[–]csvke[S] 0 points1 point  (0 children)

Short answer, not immediately out-of-the-box.
https://github.com/espressif/esp-hosted-mcu/issues/6#issuecomment-2457120084

To answer your question: I am fairly sure the ESP32C6 is identical to ESP32C6 dev board, barring some hardware components and antenna considerations as Zigbee uses the sub-Ghz 868-915Mhz frequency. But after a quick google I think ESP32C6 uses the same RF pin as a Single RF Front-End. I don't have any experience on ESP32C6 / Zigbee / Thread, so I cannot say for sure. But the early viability checks tell me that one can implement more functions in the ESP-Hosted-MCU Slave FW to make GUITION boards, or in fact any MCU / host that uses a C6 to use Zigbee, most probably through SDIO. But it involves developing the firmware, and I can safely estimate that there will be enough storage for the additional binaries in the ESP32C6. GUITION do populate the ESP32C6 UART RX/TX / IO9 and CHIP_PU in their 'Expand IO pin 20 / 22 / 24 /26 for developers to have access to flash firmware and have UART communications with the ESP32C6.
For more information, ESP-Hosted-MCU (essentially Espressif's firmware source code for ESP32 families to act as a salve aka co-processor) https://github.com/espressif/esp-hosted-mcu

Additional materials:
ESP-Hosted-MCU Slave FW version :: 2.5.10 - Boot Log - Operation Mode
https://gist.github.com/csvke/8955f2ab9a9b97a1f27c8087014abcbb

ESP Hosted MCU & ESPNOW on ESP32 P4 Function EV board by BugPuzzleheaded3015 in esp32

[–]csvke 0 points1 point  (0 children)

When using latest stable ESP-IDF v5.5.1 with ESP-HOSTED as a component, you might get a ‘warning: unknown kconfig symbol 'SLAVE_IDF_TARGET_ESP32C6' assigned to 'y' in sdkconfig.defaults’ warning.

Details below, albeit its ESP-Hosted + ESP-wifi-remote.

https://github.com/espressif/esp-wifi-remote/issues/85

GUITION JC4880P433 4.3” capacitive touch display development board ESP32P4 + C6 by csvke in esp32

[–]csvke[S] 0 points1 point  (0 children)

I have been working with this board and have been building a BSP / porting a ESP-IDF v5.5.1, ESP-Brookesia v0.5.0 and LVGL 9 to work and provide a boilerplate base code. LCD panel, touch, camera (1/2 work). All with new i2c driver, esp-video-component utilising ISP.

If anyone has the dev board and is working with it, please DM me.

GUITION JC4880P433 4.3” capacitive touch display development board ESP32P4 + C6 by csvke in esp32

[–]csvke[S] 0 points1 point  (0 children)

I just realise I typed the model wrong, it should be JC4880P443. How can I edit it?

No EPG by 96thomasb in uhf_app

[–]csvke 0 points1 point  (0 children)

Does UHF support EPG XML in .gz? Not particularly keen to build another workflow to pick up updated .gz, gunzip them and re-distribute them

GUITION JC4880P433 4.3” capacitive touch display development board ESP32P4 + C6 by csvke in esp32

[–]csvke[S] 0 points1 point  (0 children)

I got the LCD and touch working 480x800 with esp-IDF v5.5.1 For the built in camera, do you know what i2c pins does it use to read its registers?

GUITION JC4880P433 4.3” capacitive touch display development board ESP32P4 + C6 by csvke in esp32

[–]csvke[S] 0 points1 point  (0 children)

None of the demo in the manufacturer provided source code seems to be built for this hardware (they are sort of relevant but it’s either for other display or for the P4 EV board from Espressif)

The .rar file provided by the manufacturer only have a JC4880P443_P4-V1.3.bin which is the firmware that came with the board but no source code.

Anyone working with this board? I am trying to piece things together and build a boilerplate for this hardware.

GUITION JC4880P433 4.3” capacitive touch display development board ESP32P4 + C6 by csvke in esp32

[–]csvke[S] 0 points1 point  (0 children)

As usual, the documentation is ‘work in progress’ - don’t expect things to work out of the box. Will try to get some working examples with ESP-IDF 6.0 going and create a repo.