该初始化的我初始化了
int main(void)
{
/* USER CODE BEGIN 1 */
uint8_t datatemp[SIZE];
uint32_t Flash_Size;
/* USER CODE END 1 */
Flash_Size=16*1024*1024;
/* MCU Configuration--------------------------------------------------------*/
/* Reset of all peripherals, Initializes the Flash interface and the Systick. */
HAL_Init();
/* USER CODE BEGIN Init */
/* USER CODE END Init */
/* Configure the system clock */
SystemClock_Config();
/* USER CODE BEGIN SysInit */
/* USER CODE END SysInit */
/* Initialize all configured peripherals */
MX_GPIO_Init();
MX_SPI3_Init();
MX_USART1_UART_Init();