Resolved! STM32MP157-DK2: UART7 is not working .
UART7 is not working when configured with same pin numbers as given in the STMCubeMX code.When connected as per schematic pin config, it is working.(Corresponding code also changed)So why is this happening like this? Please help.