Can sd card work spim2 and spim3? if its work, which pins I need to connect?
Can sd card work spim2 and spim3? if its work, which pins I need to connect?
It depends on the SD card, if it supports regular SPI then SPIM0-3 can be used, but if it only supports Quad SPI then you must use SPIM3.
You can map any GPIO pin to any SPIM peripheral, as long as they are available ofc.
See GPIO — General purpose input/output, SPIM — Serial peripheral interface master with EasyDMA, QSPI — Quad serial peripheral interface, and the Peripheral drivers API documentation.