AnsweredAssumed Answered

SPI CS1(instead of CS0) on Kinetis for SD interface.

Question asked by Abu Bakar on Jan 16, 2020
Latest reply on Jan 30, 2020 by Daniel Chen

I am using MQX 4.2 and I have a code for (SPI) SD card  for MCF52259. My Quesion is,Can I use the this code for Kinetis ??  If yes , My customized board has SD card CS connected with PTD4 that is SPI0_CS1 (and at SPI0_CS0 spi flash is connected). How can I enable CS1 (PTD4 as a SPI0 CS1)  , I tried fopen ("spi0:1", NULL); ,fopen ("spi0:2", NULL); It did not worked. Any Idea or sample code of Kinetics that can run SD card on SPI0 with CS1(PTD4).

Thanks in advance.

Outcomes