Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
libraries/Arduino_H7_Video: Fix the DSI PLL configuration.
With the current configuration (NDIV=125, PLLIDF=3, PLLODF=1) the DSI
PLL outputs an out of spec 83MHz clock. This fix sets the output clock
to the max supported clock of 62.5MHz, according to the datasheet.

Signed-off-by: iabdalkader <[email protected]>
  • Loading branch information
iabdalkader committed May 10, 2024
commit 907d68ce69a0a7ab106740ef24607069a0a6b43b
4 changes: 2 additions & 2 deletions libraries/Arduino_H7_Video/src/dsi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ static void dsi_layerInit(uint16_t LayerIndex, uint32_t FB_Address);
int dsi_init(uint8_t bus, struct edid *edid, struct display_timing *dt) {
#ifdef ARDUINO_GIGA
static const uint32_t DSI_PLLNDIV = 125;
static const uint32_t DSI_PLLIDF = DSI_PLL_IN_DIV3;
static const uint32_t DSI_PLLIDF = DSI_PLL_IN_DIV4;
static const uint32_t DSI_PLLODF = DSI_PLL_OUT_DIV1;
static const uint32_t DSI_TXEXCAPECLOCKDIV = 4;
#undef HSE_VALUE
Expand Down Expand Up @@ -412,4 +412,4 @@ extern "C" void HAL_LTDC_ReloadEventCallback(LTDC_HandleTypeDef *hltdc) {
reloadLTDC_status = 1;
}

/**** END OF FILE ****/
/**** END OF FILE ****/