AnsweredAssumed Answered

STM32F407 FSMC bus access with CubeMX code generationi

Question asked by su.gordon.001 on Apr 30, 2014
Latest reply on Jul 25, 2014 by derkach.andrii
hi,

I have a custom designed board with STM32F07 IC. The FSMC interface is working with certain version of software. recently i tried to use CubeMX to generate low-level code with FSMC HAL. I only added a few lines of code to test FSMC interface.

/* Reset of all peripherals, Initializes the Flash interface and the Systick. */
HAL_Init();
 
/* Configure the system clock */
SystemClock_Config();
 
/* Initialize all configured peripherals */
MX_GPIO_Init();
MX_ETH_Init();
MX_FSMC_Init();
MX_I2C1_Init();
MX_UART5_Init();
MX_USART6_UART_Init();
 
/* USER CODE BEGIN 2 */
fsmc_addr = 0x60000000;
HAL_SRAM_Read_16b(&hsram1, &fsmc_addr, fsmc_rd, 1);

i have logical analyzer connected to the FSMC bus. the problem is that i don't see NE1 signal asserted and any activity on the bus when the last function is stepped through. can you give me some advise on this? thanks.

Best regards
Gordon

Outcomes