Fix: allow higher i2s speed

This commit is contained in:
Dorian Zedler 2025-03-14 18:56:33 +01:00
parent b67bd96067
commit 49902856bd
Signed by: dorian
GPG key ID: 989DE36109AFA354
2 changed files with 3 additions and 1 deletions

View file

@ -306,7 +306,7 @@ struct HUB75_I2S_CFG
bool clkphase; bool clkphase;
// Minimum refresh / scan rate needs to be configured on start due to LSBMSB_TRANSITION_BIT calculation in allocateDMAmemory() // Minimum refresh / scan rate needs to be configured on start due to LSBMSB_TRANSITION_BIT calculation in allocateDMAmemory()
uint8_t min_refresh_rate; uint16_t min_refresh_rate;
// struct constructor // struct constructor
HUB75_I2S_CFG( HUB75_I2S_CFG(

View file

@ -266,6 +266,8 @@ Modified heavily for the ESP32 HUB75 DMA library by:
_div_num = 4; _div_num = 4;
} }
_div_num = 1;
///auto _div_num = 80000000L/freq; ///auto _div_num = 80000000L/freq;
ESP_LOGD("ESP32", "i2s pll_d2_clock clkm_div_num is: %u", _div_num); ESP_LOGD("ESP32", "i2s pll_d2_clock clkm_div_num is: %u", _div_num);