Another difference between the S54 in the Z4M & the M3 - a more modern ECU in the Z4M which allegedly has a much faster processor than the M3 version. Not sure what benefit that actually provides but I've read this more than once over the years.
Here's some info highlighted in the first post..
https://www.bimmerfest.com/forums/sh...d.php?t=170765