cancel
Showing results for 
Search instead for 
Did you mean: 

When STM32F407 NAND Flash Erase, interrupt is not working.

UYeo.1
Associate

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???

0 REPLIES 0