Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 907d68c

Browse files
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 <i.abdalkader@gmail.com>
1 parent 7ed8f10 commit 907d68c

File tree

1 file changed

+2
-2
lines changed
  • libraries/Arduino_H7_Video/src

1 file changed

+2
-2
lines changed

‎libraries/Arduino_H7_Video/src/dsi.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ static void dsi_layerInit(uint16_t LayerIndex, uint32_t FB_Address);
4848
int dsi_init(uint8_t bus, struct edid *edid, struct display_timing *dt) {
4949
#ifdef ARDUINO_GIGA
5050
static const uint32_t DSI_PLLNDIV = 125;
51-
static const uint32_t DSI_PLLIDF = DSI_PLL_IN_DIV3;
51+
static const uint32_t DSI_PLLIDF = DSI_PLL_IN_DIV4;
5252
static const uint32_t DSI_PLLODF = DSI_PLL_OUT_DIV1;
5353
static const uint32_t DSI_TXEXCAPECLOCKDIV = 4;
5454
#undef HSE_VALUE
@@ -412,4 +412,4 @@ extern "C" void HAL_LTDC_ReloadEventCallback(LTDC_HandleTypeDef *hltdc) {
412412
reloadLTDC_status = 1;
413413
}
414414

415-
/**** END OF FILE ****/
415+
/**** END OF FILE ****/

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /