I'd like to put a pump drive circuit similar to the one shown below on the same PCB that has two I2C devices, a GPS module, seven analog signals, an ESP32 MCU transmitting WiFi via a trace antenna, and a SPI bus with a microSD card and flash.
I'm worried about signal interference with all the switching going on (the pump is driven with PWM at the MOSFET). Is there a way to mitigate this by simply separating the circuits to different regions of the board, or using an RF shield? If it's the latter, where would I put the shield? Over the microcontroller? Over the pump drive switching components?
I don't mind putting it on a different PCB but if there's a way around it I'd prefer to have it all on one board.