SF32LB52-Nano_52j running SPI_tf demo reports an error

SDK:12月15日更新的mian分支

demo:sifli-sdk\example\rt_device\spi_tf

改动:在customer\boards\sf32lb52-nano_base\bsp_pinmux.c的BSP_PIN_Common()添加SPI引脚初始化。

编译成功:

问题:

在nano_52j(接了TF卡)上,识别到TF卡(FAT32格式),但是报了Error: the flash device name (sd0) is not found.帮忙看下是哪里的问题,卡在windows下是可以使用的。

Judging from the log, there seems to be an issue with the connection between your TF card and the board. You can run the list_device command to check whether sd0 and sdcard appear.

image

image

You can use a logic analyzer or oscilloscope to check whether the SPI communication between the board and the TF card is working properly.