Переглядів 191
WARNING! This works with nRF SDK 2.2.0 - nordic changed the spi driver for new versions - a fix will be added soon to support version 2.6.0!
Hi, so i was recently trying to use the Zephyr micro sd card example and like many others failed with it, so i decided to use the micro sd stack and fatfs from my video with SAMD51.
So in this example i am using a 2.8 inch spi lcd from waveshare - it has a micro sd slot.
The pinout for the SPI is:
SCK - P1.15
MISO - P1.14
MOSI - P1.13
SD_CS - P1.07
LCD_CS - P1.12
The aplication writes a new / opens file named sc.txt and writes there a string. The log what is going on is displayed on the lcd using my fonts also from previous videos about lcd's.
Link to the project repo:
github.com/E-exp/NRF5340-DK