Hi, Chris,
Pls refer to the following section in UM11126.pdf, the LPC55S6x just has ONE SDMMC module although it has two device interfaces SD0 and SD1. In other words, if you use SD0 interface, just assign the SD0 pin as SDMMC, if you use SD1, just assign SD1 pins as SDMMC, it is okay.
If you use the SD0 or SD1 interface, furthermore, you just need to change the following registers:
///////////////////////////////////////
Configure SD0 and/or SD1 in the following registers:
– PWREN register.
– CLKENA register.
– CTYPE when switching between 1-bit and 4-bit modes.
– When sending commands, bits 20-16 of the CMD register must be programmed
with 0 or 1 for SD0 or SD1 respectively
////////////////////////////////////////
For the Code lpcxpresso55s69_dev_msc_sdcard_freertos project, it matches with the LPC55S69-EVK board, it just use SD0 interface. If you use SD1, you need to modify the above register in the code.
Hope it can help you
BR
Xiangjun Rong
