Skip to content

SPI DMA for Nucleo STM32F401RE & W5500

SPI DMA for Nucleo STM32F401RE & W5500

mark

Published February 28, 2023

SPI DMA for Nucleo STM32F401RE & W5500

Project description

WIZnet W5500 supports up to 80MHz SPI Clock so users with an MCU that provide a high-speed SPI communication(SPI DMA) can enjoy maximum ethernet throughput.
 
HW: 
SPI DMA for Nucleo STM32F401RE & W5500
SPI DMA for Nucleo STM32F401RE & W5500
•How to implement SPI protocol

SPI protocol for W5500 is provided in W5500.c of WIZnet ioLibrary and has the below four functions.

SPI DMA for Nucleo STM32F401RE & W5500

When SPI DMA mode is not used, the inside of the function calls standard SPI read/write function like the below WIZCHIP_READ_BUF() function.

SPI DMA for Nucleo STM32F401RE & W5500

When SPI DMA mode is used, it prepares commands data, which consists of address and opcode, and  calls SPI_DMA_READ() function.

SPI DMA for Nucleo STM32F401RE & W5500

Comments

Similar projects you might like

Comments