[M251] Accessing SPI Flash with PDMA

Post Reply
chhsieh3
Posts: 307
Joined: 13 Mar 2020, 09:08

13 Apr 2022, 09:15

  • Application: This sample code uses SPI and PDMA to access an external SPI Flash W25Q32.
  • BSP Version: M251/M252/M254/M256/M258 Series CMSIS BSP V3.02.002
  • Hardware: NuMaker-M252SD V1.1, SPI Flash W25Q32
This sample code uses SPI and PDMA to access an external SPI Flash W25Q32. First, user reads SPI Flash MID and DID information through SPI protocol. Then, erase SPI Flash. After erasing is done, repeatedly write data to SPI Flash and read back data for verification for 10 times. The data writing and reading to/from SPI Flash is also processed through PDMA.

You can download the sample code at https://www.nuvoton.com/resource-downlo ... 0408193521
Nuvoton

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 21 guests