QSPI Flash + DMA, is it possible?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User3847
Level 3
Level 3
Hello there,

I have UART + DMA working and it is a blast. Now I am working with the S25FL032P memory and I see that even though the memory supports up to 80 MHz in quad mode, I can get a real baud rate of up to 150KHz. This is because the driver loads each byte and waits for the SPI peripheral to generate the transmite events, reads dummies, etc.

Isn't there any way to have the SCK work by its own, just tell the peripheral when we are reading and when we are writing and use DMA to push all the info? At least, I think it may be possible to do the byte write bursts. The problem comes with reading, as it is pretty manual.

Is there some example of this?

Best regards,
0 Likes
1 Reply
User3847
Level 3
Level 3
Anyone?

Is there some way to get more speed out of QSPI flash / work with it in a more CPU cycles-friendly way?

Best regards,
0 Likes