Other Parts Discussed in Thread: CC3220SF
Hi,
I am using CC3220MODA. i am running successfully sdraw code which is given in SDK. but now i want to change that connection as following.
CLK - GPIO10
CMD - GPIO11
DATA0 - GPIO15
const SDHostCC32XX_HWAttrsV1 sdhostCC3220SHWattrs[CC3220SF_LAUNCHXL_SDCOUNT] = {
{
.clkRate = 8000000,
.intPriority = ~0,
.baseAddr = SDHOST_BASE,
.rxChIdx = UDMA_CH23_SDHOST_RX,
.txChIdx = UDMA_CH24_SDHOST_TX,
.dataPin = SDHostCC32XX_PIN_06_SDCARD_DATA,
.cmdPin = SDHostCC32XX_PIN_02_SDCARD_CMD,
.clkPin = SDHostCC32XX_PIN_01_SDCARD_CLK
}
};
I change in structure sdhostCC3220SHWattrs in file CC3220SF_LAUNCHXL.c but i get error "Error initializing the SD card".
what is the problem?
Thanks,
Dinkar