cancel
Showing results for 
Search instead for 
Did you mean: 

DCMI FSMC conflict in CubeMX with PSRAM

Sam F
Associate II
Posted on November 17, 2016 at 20:43

Hello all,  I am trying to configure my STM32F407VGT in CubeMX and am coming across an issue with the DCMI and FSMC.  I am interfacing an OVM7690 camera chip to the microcontroller via DCMI.  The OVM7690 requires an 8-bit external synchronous connection which configures just fine in CubeMX. 

However, when I go to configure the FSMC, it doesn't allow me to select a Muxed PSRAM configuration because of the DCMI configuration, which is what I also need to interface to the micro.  I assume it is because both of those peripherals can't be used at the same time but I don't see anything in the data sheet that says why that is.  Does anyone know the reason? Is the best solution to upgrade to a 144 pin version?

Thank you in advance.

#stm32f4-fsmc-dcmi-psram
1 REPLY 1
slimen
Senior
Posted on November 18, 2016 at 09:07

Hello,

Looking at the STM32F407xx 

http://www.st.com/content/ccc/resource/technical/document/datasheet/ef/92/76/6d/bb/c2/4f/f7/DM00037051.pdf/files/DM00037051.pdf/jcr:content/translations/en.DM00037051.pdf

shows the PB7 pin used as alternate function DCMI_VSYNC and FSMC_NL (for LQFP100 package). 

Refer to the page 58: Table 7. STM32F40xxx pin and ball definitions.

Maybe you can use the UFBGA176 package,  which allow using PI5 as DCMI_VSYNC and PB7 as FSMC_NL  .

Regards