Update memory calc

This commit is contained in:
mrfaptastic 2022-10-24 12:49:49 +01:00
parent 23dd196013
commit 914f8676ec
6 changed files with 10 additions and 4 deletions

View file

@ -38,7 +38,13 @@ This ESP32 Arduino/IDF library for HUB75 / HUB75E connector type 64x32 RGB LED 1
- **CIE 1931** luminance [correction](https://ledshield.wordpress.com/2012/11/13/led-brightness-to-your-eye-gamma-correction-no/) (aka natural LED dimming) - **CIE 1931** luminance [correction](https://ledshield.wordpress.com/2012/11/13/led-brightness-to-your-eye-gamma-correction-no/) (aka natural LED dimming)
- **Adafruit GFX API** - library could be build with AdafruitGFX, simplified GFX or without GFX API at all - **Adafruit GFX API** - library could be build with AdafruitGFX, simplified GFX or without GFX API at all
If you wanna ask "*...OK, OK, than what's the price for those features?*" I'll tell you - "[memory](/doc/i2s_memcalc.md), you pay it all by precious MCU's memory for DMA buffer". If you wanna ask "*...OK, OK, than what's the price for those features?*" I'll tell you - "[memory](/doc/i2s_memcalc.md), you pay it all by precious MCU's memory for DMA buffer".
Please use the 'Memory Calculator' to see what is actually achievable with a typical ESP32.
![Memory Calculator](doc/memcalc.jpg)
## ESP32 Supported ## ESP32 Supported
This library supports the: This library supports the:

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

BIN
doc/memcalc.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

View file

@ -1,6 +1,6 @@
### I2S HUB75 Calculator ### Memory Calculator
I've made this [spreadsheet](i2s_memcalc.xlsm) to estimate all of the main parameters for ESP32-HUB75-MatrixPanel-I2S-DMA lib driving any combination of matrices/chains so that I do not need to reflash it hundreds of times just to check for the debug info about memory. I've made this [spreadsheet](memcalc.xlsm) to estimate all of the main parameters for ESP32-HUB75-MatrixPanel-DMA lib driving any combination of matrices/chains so that I do not need to reflash it hundreds of times just to check for the debug info about memory.
Be sure to enable embedded macro's to allow refresh rate calculations. Be sure to enable embedded macro's to allow refresh rate calculations.
![](i2scalc.png) ![](i2scalc.png)
@ -8,7 +8,7 @@ Just fill-in all of the INPUT fields and get the OUTPUTs.
So there are two main resources used to drive LED matrix So there are two main resources used to drive LED matrix
- Memory - Memory
- I2S clock speed (resulting in available bandwidth to pump pixel color data) - Bus clock speed (resulting in available bandwidth to pump pixel color data)
And there are lot's of hogs for those: And there are lot's of hogs for those:
- matrix resolution (number of pixels) - matrix resolution (number of pixels)

BIN
doc/memcalc.xlsm Normal file

Binary file not shown.