You can spend a minimum of 1-2 hours exploring the castles in Florence. Visit the castles in the early mornings as you can expect fewer crowds and explore the castle peacefully.
Also Read: Florence In February