Skip to main content
Associate II
Sep 26, 2024 11:57 AM UTC
Solved

DSI lane swap on STM32MP157

Hi,

is it possible to swap the DSI lanes so that lane 0 becomes lane 1 and the other way around? This would simplify routing on our PCB. I've found there are configuration bits in the DSI_WPCR0 register for custom lane configuration (SWDL0 and SWDL1), but as far as I understood, these can only swap the pin order within a lane. Have I overlooked something or is the STM32MP157 not capable of swapping lanes?

Best regards,

Robert

This topic has been closed for replies.
Olivier GALLIEN
Olivier GALLIENBest answer
ST Technical Moderator
Sep 27, 2024 2:35 PM UTC

Hi @rtie 

I confirm your analyse. 

DSI clock or a data lane uses 2 physical pins (+ and -) and bits in DSI_WPCR0 registers can be used to "swap" these + and - pins. Unfortunately, it is not possibe to swap data lane 0 pins with data lane 1 pins.

Olivier 

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

2 replies

Olivier GALLIEN
Olivier GALLIENBest answer
ST Technical Moderator
Sep 27, 2024 2:35 PM UTC

Hi @rtie 

I confirm your analyse. 

DSI clock or a data lane uses 2 physical pins (+ and -) and bits in DSI_WPCR0 registers can be used to "swap" these + and - pins. Unfortunately, it is not possibe to swap data lane 0 pins with data lane 1 pins.

Olivier 

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
rtieAuthor
Associate II
Sep 30, 2024 11:02 AM UTC

OK, thank you very much for the confirmation!

Robert