Problem with Connectivity peripherals of MG32F157VCT6

Thread Starter

@ADEngineer

Joined Jul 19, 2025
6
I am using MG32F157VCT6 by Megawin for testing SPI based ethernet. The data is not transferring to SPI->DR (data register). This issue is happening even in the template example provided by Megawin. I have cross-verified all the steps for initializing and setting up the SPI. Need a solution.

The SPI_FLASH is the template example I used for testing whether there is data transfer or not from memory to SPI->DR.
peripheral used SPI1. Pins used PA4, PA5, PA6, PA7.
 

Attachments

Top