Skip to main content
Associate II
September 26, 2024
Solved

DSI lane swap on STM32MP157

  • September 26, 2024
  • 2 replies
  • 1313 views

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

Best answer by Olivier GALLIEN

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 

2 replies

Olivier GALLIEN
Olivier GALLIENBest answer
Technical Moderator
September 27, 2024

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 

Olivier GALLIEN 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
September 30, 2024

OK, thank you very much for the confirmation!

Robert