I have a TWR-K20D72M board with a memory interface card,
As the processor KM20DX256VLL7 does not support SDHC interface, I am trying to interface SD card with SPI1 interface.
I have initialize SPI1 with the help of reference manual and processor expert but not able to get SCLK on pin as trying to test with SPI EEPROM.
Please help me with the SPI1 init and Rx, Tx code.
Hi
Please refer attached SPI software as an example.
Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------