Attention #electronics folks, do yourself a favour and read this design review. If you can get things right for 1+GHz signals by applying these tips, then your 40MHz SPI bus will not have any issues at all. https://ioc.exchange/@azonenberg/115149685231539091