Multiple serial connections (SPI & I2C at the same time) in Nano IOT 33

I'm trying to combine both codes together and run at the same time as a single program in order to operate the piezoelectric pump and measure pressure.