Introducing an updated Sample set for Xiao nRF54L15 / and NRF CONNECT

Check out today’s update in the SD_CARD_HW folder, I got the hardware spi working with fat32 cards today.

NOTE: this requires using &uart21, the external pins, as the SD card reader appears to be wired to &spi20

I’m using a rp2040 xiao to read the console

Booting nRF Connect SDK v3.1.1-e2a97fe2578a 
 Using Zephyr OS v4.1.99-ff8f0c579eeb 
[00:35:06.516,444] <inf> main: ========================================
[00:35:06.516,448] <inf> main: XIAO nRF54L15 SD Card + ZMS Sample
[00:35:06.516,452] <inf> main: ========================================
[00:35:06.516,456] <inf> main: Initializing SD card...
[00:35:06.668,538] <inf> sd: Maximum SD clock is under 25MHz, using clock of 24000000Hz
[00:35:06.669,499] <inf> main: SD Card - Block count: 7741440
[00:35:06.669,508] <inf> main: SD Card - Sector size: 512 bytes
[00:35:06.669,512] <inf> main: SD Card - Total size: 3780 MB
[00:35:06.669,628] <inf> main: Mounting SD card filesystem...
[00:35:06.821,309] <inf> sd: Maximum SD clock is under 25MHz, using clock of 24000000Hz
[00:35:06.825,899] <inf> main: SD card mounted at /SD:
[00:35:06.825,905] <inf> main: Testing unmount/remount...
[00:35:06.977,666] <inf> sd: Maximum SD clock is under 25MHz, using clock of 24000000Hz
[00:35:06.982,246] <inf> main: Unmount/remount test successful

Listing dir /SD: ...
[DIR ] System Volume Information
[00:35:06.983,426] <inf> main: Creating sample files and directories...
[00:35:06.983,448] <inf> main: Creating some dir entries in /SD:
[00:35:07.021,221] <inf> main: Sample entries created, listing again:

Listing dir /SD: ...
[DIR ] System Volume Information
[FILE] some.dat (size = 0)
[DIR ] some
[00:35:07.046,995] <inf> main: Created test file: /SD:/test.txt
[00:35:07.047,099] <inf> main: SD card unmounted
[00:35:07.047,109] <inf> main: ========================================
[00:35:07.047,113] <inf> main: Sample completed. System will idle.
[00:35:07.047,117] <inf> main: ========================================

here’s how I’m reading uart21:

2 Likes