Skip to main content
UYeo.1
Visitor II
December 18, 2019
Question

When STM32F407 NAND Flash Erase, interrupt is not working.

  • December 18, 2019
  • 0 replies
  • 469 views

I use STM32F407 and external NAND Flash.

​

I modify void SysTick_Handler(void) -> add GPIO Toggle.

So Normal Condition, GPIO pin is toggled regularly.

​

When HAL_NAND_Erase_Block() excute, GPIO pin is toggle irregularly.

After HAL_NAND_Erase_Block() finish, GPIO pin is toggle regularly.

​

​Additionally,

Uart_IRQHander()

{

rx_data = UARTx->DR;

UARTx->DR = rx_data;

}

When HAL_NAND_Erase_Block() is not excuted, Good Return.

But HAL_NAND_Erase_Block() excuted, Bad Return.

Why???

​

​

This topic has been closed for replies.