Skip to main content
rokko
Associate II
December 30, 2015
Question

STM32F429I-DISCO SDRAM + DCMI troubles

  • December 30, 2015
  • 1 reply
  • 553 views
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

    This topic has been closed for replies.

    1 reply

    rokko
    rokkoAuthor
    Associate II
    January 3, 2015
    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.