The screenshot function was finally solved, the reason was that there was a problem with my chip, I didn't find that the SD_CS pins were pulled low when I probed the waveform, which was very strange, and finally I used the diode function of the multimeter to measure the voltage drop between the SD_CS pins and GND, and confirmed that the SD_CS pins were damaged, because the normal IO and GND have a voltage drop of about 0.6V, and finally I replaced an IO, and the screenshot function was used normally