Search found 15 matches

by akasaka_spk
Thu Nov 21, 2024 1:02 pm
Forum: General Discussion
Topic: Persistent time counter using NVS without burning a hole in the FLASH?
Replies: 7
Views: 919

Re: Persistent time counter using NVS without burning a hole in the FLASH?

Yes, that is also something I'm considering for the next revision of the PCB. Who knew a clock could use an RTC, huh! :lol:
by akasaka_spk
Thu Nov 21, 2024 12:01 pm
Forum: General Discussion
Topic: Persistent time counter using NVS without burning a hole in the FLASH?
Replies: 7
Views: 919

Re: Persistent time counter using NVS without burning a hole in the FLASH?

Probably a waste of storage space as vacuum tubes and their enclosing universes tend to break down a lot earlier than 2^64 hours after first deployment ;-) You can never know! Especially if using only 450 out of the 512 byte block why bother saving space :P ... write a new NVS entry (consisting of ...
by akasaka_spk
Thu Nov 21, 2024 8:23 am
Forum: General Discussion
Topic: Persistent time counter using NVS without burning a hole in the FLASH?
Replies: 7
Views: 919

Persistent time counter using NVS without burning a hole in the FLASH?

Once again I'm designing weird features into my clock OS/platform. This time I want the settings menu to display a runtime counter on vacuum tube based displays, to be able to tell how many hours the VFD/plasma display has spent actively showing something and/or with the heater turned on. Of course,...
by akasaka_spk
Sat Nov 16, 2024 3:06 am
Forum: General Discussion
Topic: Do ROM updates exist for the ESP32?
Replies: 4
Views: 605

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: 605

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: 605

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: 1635

[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: 1635

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: 1635

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: 1008

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...