chipKIT® Development Platform

Inspired by Arduino™

SPI conflict MAX32 between WIFI and SD Card

Created Wed, 10 Apr 2013 21:23:54 +0000 by PICedh


PICedh

Wed, 10 Apr 2013 21:23:54 +0000

Hello,

Everything was fine before with my UNO but now I have migrate to MAX32 and the TCP stack freezes as soon I write into a file on the SD Card.

I use the chipKITâ„¢ WiFi Shield and i think there is a conflict because both the SD card and the MRF24WB0MA WiFi module used the SPI interface.

The chipKIT™ WiFi Shield Reference Manual indicates: pin 4 as CS – SPI select for SD card pin 10 as CS – SPI select for MRF24WB0MA

is it correct? (note that the other pin MISI/MOSI/SCLK are wrong because they are not 11,12,13 but 50,51,52))

How can I solve the conflict between the TCP stack and the SD Card?

thanks


KeithV

Mon, 15 Apr 2013 16:21:27 +0000

see

http://www.chipkit.org/forum/viewtopic.php?f=18&t=2254