Search found 12 matches

by akasaka_spk
Sat Nov 16, 2024 3:06 am
Forum: General Discussion
Topic: Do ROM updates exist for the ESP32?
Replies: 4
Views: 297

Re: Do ROM updates exist for the ESP32?

Thanks for the insight! Just tried that, but it seems to have actually made things worse — with a bunch of memw calls splashed here and there it decompresses fine on the second or third attempt, but without interrupts it fails altogether. I wonder if actually it needs to access somewhere in PSRAM fa...
by akasaka_spk
Sat Nov 16, 2024 12:09 am
Forum: General Discussion
Topic: Do ROM updates exist for the ESP32?
Replies: 4
Views: 297

Re: Do ROM updates exist for the ESP32?

Yes, I considered using a partition too, but the firmware has an OTA function for the data side of things too, and I was thinking of implementing something similar to an online catalog of fonts eventually, so the file system really makes things easier in that regard. As for external libraries, I tho...
by akasaka_spk
Fri Nov 15, 2024 4:04 pm
Forum: General Discussion
Topic: Do ROM updates exist for the ESP32?
Replies: 4
Views: 297

Do ROM updates exist for the ESP32?

I have run into a brick wall with the infamous PSRAM bug again. My firmware uses PSRAM to store fonts, which are loaded from compressed files on SPIFFS. To reduce the firmware size, I used the miniz functions available in the ROM. However here comes the fun part — I load the file temporarily into PS...
by akasaka_spk
Thu Nov 07, 2024 10:00 am
Forum: Hardware
Topic: Pause SPI clock momentarily while using DMA
Replies: 7
Views: 1395

[SOLVED] Pause SPI clock momentarily while using DMA

I have managed to solve it by cleverly using the already-sacrificed GPIO pin, putting the LATCH signal in the data as suggested above, and the MCPWM peripheral. Basically I can set the MCPWM module to produce a 100% duty cycle, thus a constant logic HIGH. Then it has emergency stop inputs, which I c...
by akasaka_spk
Wed Nov 06, 2024 9:16 am
Forum: Hardware
Topic: Pause SPI clock momentarily while using DMA
Replies: 7
Views: 1395

Re: Pause SPI clock momentarily while using DMA

After changing it to this, it can finally do the DMA without taking up CPU: https://github.com/vladkorotnev/plasma-clock/blob/hw-spi/src/display/akizuki_k875.cpp However, the CS line stays idle, so I have to generate my own latch signal (not very successfully, the picture slides across like an old b...
by akasaka_spk
Tue Nov 05, 2024 9:38 am
Forum: Hardware
Topic: Pause SPI clock momentarily while using DMA
Replies: 7
Views: 1395

Re: Pause SPI clock momentarily while using DMA

OK, so I have tried to copy the VGA example and adapt it for QIO like this: https://github.com/vladkorotnev/plasma-clock/blob/hw-spi/src/display/akizuki_k875.cpp#L149-L342 However, I don't see any activity on the display bus now whatsoever. Is there something that has changed in the register assignm...
by akasaka_spk
Mon Nov 04, 2024 11:32 am
Forum: Showcase
Topic: Plasma display based clock, and an OS for building other fancy pixel grid clocks: PIS-OS
Replies: 0
Views: 830

Plasma display based clock, and an OS for building other fancy pixel grid clocks: PIS-OS

Hello everyone :-) I would like to introduce you to my project that has been around for a while, called PIS-OS. It used to stand for "Plasma Information Screen OS", but ever since support was added for other screen types, it now means "Personal Information Screen OS". It is not a DOS, since there is...
by akasaka_spk
Mon Nov 04, 2024 8:51 am
Forum: Hardware
Topic: Pause SPI clock momentarily while using DMA
Replies: 7
Views: 1395

Re: Pause SPI clock momentarily while using DMA

MicroController The picture above with the offset and noise is actually from when using QIO3 for the latch signal. As for the CS... good catch, I don't know why I didn't do that — judging by the `SPI_DEVICE_POSITIVE_CS` flag already in the configuration I tried it at some point and then for some re...
by akasaka_spk
Mon Nov 04, 2024 3:53 am
Forum: Hardware
Topic: Pause SPI clock momentarily while using DMA
Replies: 7
Views: 1395

Pause SPI clock momentarily while using DMA

I'm trying to use the ESP32's SPI peripheral to drive a chain of LED matrices dynamically. The LED matrices have a shift register for the vertical and horizontal control lines, so the cycle is basically: 1. Shift out (row length/2) bits on QIO0 and QIO1 with the bitmap data, while also in QIO2 setti...
by akasaka_spk
Sun Oct 20, 2024 11:42 pm
Forum: Hardware
Topic: connect ESP32-S3-WROOM-1U Antenna
Replies: 1
Views: 499

Re: connect ESP32-S3-WROOM-1U Antenna

If I'm looking at the right module, there cannot be an internal antenna under the shield, so it's safe to assume the IPEX connector is the only way to get the signal into the module, as there is no PCB antenna trace on it.

Image