DSI Host (DSIHOST) applied to STM32L4R9xx and STM32L4S9xx only
Process flow to exit the ULPM
Implement the process flow described in the following procedure to exit the ULPM on both
clock lane and data lanes:
1.
Verify that all active lanes are in ULPM:
–
–
2.
Turn on the D-PHY PLL by setting DSI_WRPCR.PLLEN = 1'b1.
3.
Wait until D-PHY PLL locked
–
4.
Without de-asserting the ULPM request bits, assert the Exit ULPM bits by setting
DSI_PUCR[3:0] = 4'hF.
5.
Wait until all active lanes exit ULPM:
–
–
6.
Wait for 1 ms.
7.
De-assert the ULPM requests and the ULPM exit bits by setting DSI_PUCR [3:0] =
4'h0.
8.
Switch the lanbyteclock source in the RCC from system PLL to D-PHY
9.
The DSI Host is now in Stop state and the D-PHY PLL is locked:
–
–
984/2301
One-lane configuration: DSI_PSR[6:1] = 6'h00
Two-lanes configuration: DSI_PSR[8:1] = 8'h00
DSI_WISR.PLLS = 1'b1
One-lane configuration:
DSI_PSR[5] = 1'b1
DSI_PSR[3] = 1'b1
Two-lanes configuration:
DSI_PSR[8] = 1'b1
DSI_PSR[5] = 1'b1
DSI_PSR[3] = 1'b1
One-lane configuration:
DSI_PSR[6:4] = 3'h3
DSI_PSR[1] = 1'h0
DSI_WRPCR.PLLEN = 1'b1
Two-lanes configuration:
DSI_PSR[8:4] = 5'h1B
DSI_PSR[1] = 1'h0
DSI_WRPCR.PLLEN = 1'b1
RM0432 Rev 6
RM0432
Need help?
Do you have a question about the STM32L4+ Series and is the answer not in the manual?