Where did medieval knights live in the castle?
In England the medieval knight lived in a manor house not in the castle. A number of farms supported one manor house. One manor house supported one knight. England had about 6,000 manor houses. It took a number of manors to support a castle. The baron living in the castle might also be a knight. The solders living in the castle were not generally knights.