Sample SD Card - renesas/micropython GitHub Wiki

- Mount SD Card
import pyb
import os
sd = pyb.SDCard()
os.mount(sd, "/sd")
os.listdir("/")
-
For EK-RA6M2, connect as followings:
SD PIN RA6M2 PIN CS P111 MOSI P101 MISO P100 CLK P102 VCC VCC GND GND -
For RA4M1 Clicker, connect as followings:
SD PIN RA4M1 Cliker PIN CS P103 MOSI P101 MISO P100 CLK P102 VCC VCC GND GND -
Confirmed device: MH-SD Card Module