cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F429I-DISCO SDRAM + DCMI troubles

rokko
Associate II
Posted on December 30, 2015 at 17:40

Hello, I have ov7720 camera connected via DCMI to 429-disco board, it works, but when im trying to use SDRAM some issues occurs. DCMI and I2C (to configure camera) stop work after initialisation of ram (BSP_SDRAM_Init();). Memory itself works fine (read/write to address 0xD0000000), SDIO and LCD via SPI also, but DCMI and I2C have no signs of life, when I remove initialisation string - everything is fine. Project generated with STM32CubeMX 4.12.0, STM32CubeF4 firmware package 1.10.1

1 REPLY 1
rokko
Associate II
Posted on January 03, 2016 at 18:59

HAL_I2C_Master_Transmit works fine if BSP_SDRAM_Init is called after it, if I call it before, HAL_I2C_Master_Transmit fails in I2C_WaitOnMasterAddressFlagUntilTimeout with HAL_I2C_ERROR_AF error code.