cancel
Showing results for 
Search instead for 
Did you mean: 

STM32U5G9J-DK1 MIPI DSI pinout issue

Robertson.Jamie
Associate III

I'm attempting to use a custom LCD daughter board designed to plug onto the STM32U5G9J-DK1 in place of the round display that comes with the DK1. The schematics for the DK1 have a note in read indicating that the DSI_CK_N and DSI_CK_P pins are reversed and that they should be swapped in software, and indeed the pin assignments on the schematics seem to agree with that note. The schematics for the round display board show those pins to be correct, i.e. not reversed. I have working example code for the round display, but nowhere in that code do I see that the DSI clock pins are reversed.

There's a HAL function for doing this: HAL_DSI_SetLanePInsConfiguration(), and the DSI register that does the swapping is WPCR[0]. Nowhere in the working example project do I find any call to the function or any write to that register, so I'm confused as to how it could be working. Is the schematic not correct? Is there some other means of swapping the pins? Needless to say, my custom board is not working, and I've tried it with the pins both swapped and unswapped.

 

 
1 REPLY 1
MM..1
Chief III

You mix info, try handle one real trouble, no mix info and comments.

Primary your custom board is target or what? DSI is diff high speed bus, require PCB valid for this , pairs need impedance and length equal usw.