Skip to main content
Graduate II
December 8, 2025
Question

Do I need to use HSE when enabling DSIHOST?

  • December 8, 2025
  • 2 replies
  • 169 views

I have CubeMX 2.0.0 and I notice that if I want to enable DSIHOST, I need to first enable HSE.

But the clock configuration of the DSI does not require HSE. It seems that the clock configuration of DSI seems to work with HSI in CubeMX 2.0.0.

So, the question is: I need to enable HSE, but do I need to clock configure it for DSI as well? Or could I use HSI in the clock configuration, even if HSE is enabled?

 

Processor: STM32MP257FAK3

 

    This topic has been closed for replies.

    2 replies

    Technical Moderator
    December 11, 2025

    Hi @DMårt , 

    CubeMX 2.0.0 does not exist.

    Do you mean CuIDE 2.0 / or CubeMX 6.16  ? 

    Olivier 

     

     

    DMårtAuthor
    Graduate II
    December 14, 2025

    @Olivier GALLIEN 

    I mean the latest CubeMX that I have recently downloaded for 2 days ago.

    I found out that I need to use HSE, but it still a "hack" that you can still use HSI, even if HSE is activated inside RCC.

    Super User
    December 14, 2025

    The basic problem is the precision of the clock , frequency and jitter.

    So for hi speed connections usually you should choose the best you can get,

    and this is a low jitter crystal source for the PLLs , not a RC or gate delay based clock.

    But if you prefer to try out, what might go wrong with more jitter, just try it.

    So the "need to use HSE" is just a indicator to go the reliable way , using a low jitter master clock.

    I would never have the idea to drive a high speed complex SOC with a clock, that saves about 80 ct , but at the risk many things break connection , when temperature changes or it ages just some weeks.

    I always choose a crystal or mems oscillator , not even a simple crystal, and RC is absolute no go.

    ymmv.

    DMårtAuthor
    Graduate II
    December 27, 2025

    @AScha.3 @Olivier GALLIEN 

    Thanks!

    I have selected a footprint for mounting a SMD2016-P4 to SMD2520-P4 oscillator. 

    In this case it's going to be 24MHz, due to save cost. The HDMI and USB also have the same MHz of ocillator. 

    I don't know if they could share the same oscillator. Perhaps not...