Thanks dudes for the hints, here are some things that I have done for your answers,
First of all, one side of the H-bridge burned completely! Q1 and Q6 in the Schematics, and I was driving the Q3 with a steady state logic ‘1’ that caused the Q1 to turn on completely, as the motor needs to turn in one direction about 1 hour and then if the customer decided, can change the direction so I shall not PWM the high side MOSFETS. And I PWM the input of the MOSFET driver U4, which is connected to the gate of Q5,
Q5 and Q2 are fine, but Q1 and Q6 has burnt!!!
I was in the very beginning of Coding for the Project and current measurement and current control with PID loop was not implemented yet as I was just initial testing of the hardware, testing their functionality
Here is this very simple Code that I have written for testing the H-bridge,
//Motor timer
HAL_TIM_Base_Start(&htim1);
HAL_TIM_PWM_Start(&htim1,TIM_CHANNEL_1);
//Trun LEFT
//Turn all off
HAL_GPIO_WritePin(GPIOA,GPIO_PIN_10,GPIO_PIN_RESET);//Base of Q3
HAL_GPIO_WritePin(GPIOA,GPIO_PIN_11,GPIO_PIN_RESET);//Base of Q4
TIM1->CCR1=0;//Gate of Q5
TIM1->CCR2=0;//Gate of Q6
HAL_GPIO_WritePin(GPIOA,GPIO_PIN_10,GPIO_PIN_SET);
HAL_GPIO_WritePin(GPIOA,GPIO_PIN_11,GPIO_PIN_RESET);
TIM1->CCR1=500;
TIM1->CCR2=0;