Perhaps look at STM3240G-EVAL card schematic. I'd recommend 33-47K pull-ups on D0,D1,D2,D3,CMD, nothing on CLK, and a pull-up on a Card Detect pin depending on the configuration/construction of the socket.
Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..