Search found 45 matches

by Xavi92
Tue Mar 03, 2020 8:56 am
Forum: ESP-IDF
Topic: esp-idf use of std=gnu99
Replies: 4
Views: 5977

esp-idf use of std=gnu99

Hello, Is there any technical reason why esp-idf v4.0 and release/v4.1 are still using std=gnu99 over newer versions of the language (such as gnu11)? The following preprocessor-time error triggers on std=gnu99: #define STR(x) #x #define _STR(x) STR(x) #if __STDC_VERSION__ >= 201112L /* C11-compliant...
by Xavi92
Thu Feb 13, 2020 8:04 am
Forum: Report Bugs
Topic: openocd-esp32: missing repository py_debug_backend
Replies: 0
Views: 8786

openocd-esp32: missing repository py_debug_backend

As already referenced by this issue : I cloned openocd-esp32 from github yesterday and the following error appeared when running ./bootstrap: $ ./bootstrap + aclocal + libtoolize --automake --copy + autoconf configure.ac:12: error: possibly undefined macro: AC_MSG_WARN If this token and others are l...
by Xavi92
Mon Nov 25, 2019 9:54 pm
Forum: Hardware
Topic: Improving debug speed on an Altera USB Blaster clone
Replies: 7
Views: 12729

Re: Improving debug speed on an Altera USB Blaster clone

I am sorry for reviving such an old topic, but I wanted to bring some news on this area. Finally I got one of these units and debugging is now as responsive as one could expect. I used the esp32_devkitj_v1.cfg script included on the openocd fork by Espressif, but had to make a couple of slight modif...
by Xavi92
Mon Nov 04, 2019 1:46 am
Forum: Hardware
Topic: Is it possible to drive a 480x320 TFT at >43 Hz?
Replies: 0
Views: 1930

Is it possible to drive a 480x320 TFT at >43 Hz?

Hello, I am considering a 3.5" TFT ILI9481-based (480x320 pixels, 16 bpp) display with an ESP32-WROOM-32, and I am aiming for display moving pictures with no tearing at all. According to the ILI9481 datasheet, frame rate can be adjusted via the "Frame Rate and Inversion Control" command (ID C5h) as ...
by Xavi92
Mon Jun 10, 2019 4:21 pm
Forum: Hardware
Topic: How to use I2S along with 8-bit parallel bus
Replies: 6
Views: 10712

Re: How to use I2S along with 8-bit parallel bus

As shown below, a complete screen takes ~38 ms, but the tearing effect signal (see D4) asserts every 24 ms. 480 x 320 x 2bpp = 307200 bytes are being sent there, so this approaches to ~8 Mbytes per second. However, is there any way to make I2S1 transfer shorter than 24 ms? https://i.postimg.cc/Y9RWM...
by Xavi92
Tue Jun 04, 2019 7:10 pm
Forum: Hardware
Topic: How to use I2S along with 8-bit parallel bus
Replies: 6
Views: 10712

Re: How to use I2S along with 8-bit parallel bus

I don't see anything particularly sketchy in your code, but you are aware that the I2S peripheral shifts out the bytes in a weird way? If I recall correctly, a word like 0x12345678 would be sent as 0x34, 0x12, 0x78, 0x56. You probably need to shift your DMA data in a similar way. I can confirm such...
by Xavi92
Mon Jun 03, 2019 5:06 pm
Forum: Hardware
Topic: Driving an 8-bit parallel 8080 bus using I2S
Replies: 25
Views: 34499

Re: Driving an 8-bit parallel 8080 bus using I2S

I'm pretty much having the same issues you have described as well. I am using a ILI9481-based (480x320 pixels) display along with I2S+DMA. I have played around with the APLL_CLK with no success so far, so I am sticking with the default clock source for the time being. Even if the screen seems to get...
by Xavi92
Thu May 30, 2019 5:15 pm
Forum: Hardware
Topic: How to use I2S along with 8-bit parallel bus
Replies: 6
Views: 10712

Re: How to use I2S along with 8-bit parallel bus

Hi Sprite, Sorry for the delayed answer. I did some more tests and got to send buffer as expected, as shown at the image below (I am filling a buffer with 0xFFFF and 0x0000): https://i.postimg.cc/KznfqT5q/Screenshot-20190530-185304.png However, if I control I2S1.conf.tx_start manually (setting it be...
by Xavi92
Thu May 23, 2019 3:00 pm
Forum: Hardware
Topic: How to use I2S along with 8-bit parallel bus
Replies: 6
Views: 10712

How to use I2S along with 8-bit parallel bus

Hi there, For some weeks now I have trying to interact with a ILI9481-based TFT screen with no much success so far. My intention is to use one of the available I2S peripherals to send the following signal: https://i.postimg.cc/MKfYyLfq/ideal-WR.png Since the LCD uses 16bpp format, 2 WR clocks per pi...
by Xavi92
Mon Apr 29, 2019 7:48 pm
Forum: Showcase
Topic: New c-style OOP scripting framework and IDE
Replies: 5
Views: 10403

Re: New c-style OOP scripting framework and IDE

Mate, your job looks absolutely amazing. :shock: Where can I get this tool from?