SPI Connecctions

Can arduino due and arduino mega be connected through SPI?
As those two board use different level (3.3v and 5v respectively).
Thank u for answering in advance...