I am using a MCU from the ST, specifically from the STM32L1xx series. I want to connect 2 sensors, both of which will use the I2C protocol, 1 MicroSD card with SPI and 4 Interrupts. Is it a good practice to use as many pins from one port (for example from PORTA) as possible or to use every available port? Some pins connected to PORTA, some to PORTB etc.

Thank you for your time