5.5.6.5.5 Clock Lane in Low-Power Mode

To reduce the power consumption of the D-PHY, the DSI host, when not transmitting in High-Speed mode, allows the clock lane to enter Low-Power mode. The controller automatically handles the transition of the clock lane from High-Speed mode (Clock lane active sending clock) to Low-Power mode without direct intervention by the software. This feature can be enabled by configuring the bits PHY_TXREQUESTCLKHS and AUTO_CLKLANE_CTRL in the Clock Lane Control register (DSI_LPCLK_CTRL).

In Command mode, the DSI host can place the clock lane in Low-Power mode when it does not have any High-speed packets to transmit. In Video mode, the Low-Power mode controller uses its internal video and D-PHY timing configurations to determine if there is time available for the clock line to enter Low-Power mode and not compromise the video data transmission of pixel data and sync events.

Along with a correct configuration of Video mode, the DSI host needs to know the time required by the clock and data lanes to go from high-speed to low-power and from low-power to high-speed. The values required can be obtained from the following table. Program the Clock Lane Switch Mode Timing Configuration register (DSI_DPHY_TMR_LPCLK_CFG) and the Data Lane Switch Mode Timing Configuration register (DSI_DPHY_TMR_CFG) with the following values expressed in lane byte clock periods:

Table 5-109. High-Speed Transition Times (expressed in lane byte clock periods)
Frequency Range (MHz)LP->HS

Clock Lane

HS->LP

Clock Lane

LP->HS

Data Lane

HS->LP

Data Lane

80-8932202613
90-9935232814
100-10932222613
110-12931202713
130-13933222614
140-14933212614
150-16932202713
170-17936233015
180-19940223315
200-21940223315
220-23944243616
240-24948243817
250-26948243817
270-29950274118
300-32956284518
330-35959284819
360-39961305020
400-44967315521
450-49973315922
500-54979366324
550-59983376825
600-64990387327
650-69995407728
700-749102408428
750-799106428730
800-849113449331
850-899118479832
900-9491244710234
950-9991304910735

Based on the programmed values, the DSI host calculates if there is enough time for the clock lane to enter Low-Power mode during inactive regions of the video frame. There is an exception where the clock lane is activated even when there is no high-speed packet required to be transmitted. If a command is not allowed to be transmitted in any of the available blanking periods, it is transmitted during the last line of the frame.

The DSI host determines the best approach regarding power saving from among the following three possible cases:

  • There is not sufficient time to enter Low-Power mode. Therefore, a blanking period is added.
    Figure 5-50. Clock Lane and Data Lanes in High-Speed mode (HS)
  • There is sufficient time for the data lanes to enter Low-Power mode but not enough time for the clock lane to enter Low-Power mode.
    Figure 5-51. Clock Lane in High-Speed (HS) and Data Lanes in Low-Power Mode (LP)
  • There is sufficient time for both data lanes and the clock lane to enter Low-Power mode.
    Figure 5-52. Clock Lane and Data Lanes in Low-Power Mode (LP)